blob: 70b75f6bf56f726dfda6b97016f62ec0794db04f [file] [log] [blame]
dfilppi9981f552017-08-07 20:10:53 +00001tosca_definitions_version: cloudify_dsl_1_3
2
3imports:
4 - https://raw.githubusercontent.com/cloudify-cosmo/cloudify-manager/4.1/resources/rest-service/cloudify/types/types.yaml
5 - plugin.yaml
6
7inputs:
8 use_password:
9 type: boolean
10 default: false
11
12node_templates:
13
14 security_group:
15 type: cloudify.openstack.nodes.SecurityGroup
16
17 server:
18 type: cloudify.openstack.nodes.Server
19 properties:
20 install_agent: false
21 use_password: { get_input: use_password }
22 openstack_config:
23 username: aaa
24 password: aaa
25 tenant_name: aaa
26 auth_url: aaa
27 server:
28 key_name: 'aa'
29 relationships:
30 - type: cloudify.openstack.server_connected_to_security_group
31 target: security_group