dfilppi | 9981f55 | 2017-08-07 20:10:53 +0000 | [diff] [blame^] | 1 | tosca_definitions_version: cloudify_dsl_1_3 |
| 2 | |
| 3 | imports: |
| 4 | - https://raw.githubusercontent.com/cloudify-cosmo/cloudify-manager/4.1/resources/rest-service/cloudify/types/types.yaml |
| 5 | - plugin.yaml |
| 6 | |
| 7 | inputs: |
| 8 | use_password: |
| 9 | type: boolean |
| 10 | default: false |
| 11 | |
| 12 | node_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 |