-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblueprint.yaml
90 lines (81 loc) · 2.55 KB
/
blueprint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
tosca_definitions_version: cloudify_dsl_1_3
imports:
- http://raw.githubusercontent.com/mso4sc/cloudify-hpc-plugin/master/resources/types/cfy_types.yaml
- http://raw.githubusercontent.com/MSO4SC/cloudify-im-extension/master/im.yaml
inputs:
blah:
description: Dummy input
default: "public"
type: string
node_templates:
vitual_machine:
type: im.nodes.Server
properties:
config:
id: im
host: 'http://im.srv.cesga.es:8800'
type: InfrastructureManager
user: ...
pass: ...
endpoint:
id: occi
type: OCCI
host: 'https://fedcloud-services.egi.cesga.es:11443'
proxy: '...'
resource_id: vm_test
simulate: False
relationships:
- type: depends_on_setting
target: network
- type: depends_on_setting
target: image
- type: depends_on_setting
target: flavour
network:
type: im.nodes.Network
properties:
name: net
config:
outbound: True
use_external_resource: true
resource_id: default_network
simulate: False
image:
type: im.nodes.Image
properties:
name: Centos-/
config:
id: 'https://fedcloud-services.egi.cesga.es:11443/117'
storage: 1024M
username: ...
password: ...
public_key: 'ssh-rsa ...'
private_key: |
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
use_external_resource: true
resource_id: default_image
simulate: False
flavour:
type: im.nodes.Flavour
properties:
name: medium_4g
config:
type: medium_4g
cores: 2
memory: 4096M
use_external_resource: true
resource_id: default_flavour
simulate: False
software:
type: im.nodes.Software
properties:
name: singularity
config:
packages: ["openmpi", "singularity"]
deploy: |
ln -s /usr/lib64/openmpi/bin/mpirun /usr/bin/mpirun
use_external_resource: true
resource_id: default_software
simulate: False