90ffbe256e2d89c0f86f66eeabc2946472fb3e5c
[sdc/sdc-distribution-client.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >
4   TOSCA template for testing get_attribute with HOST keyword.
5
6 topology_template:
7   node_templates:
8     server:
9       type: tosca.nodes.Compute
10       capabilities:
11         host:
12           properties:
13             num_cpus: 2
14     dbms:
15       type: tosca.nodes.DBMS
16       requirements:
17         - host: server
18       interfaces:
19         Standard:
20           configure:
21             implementation: configure.sh
22             inputs:
23               ip_address: { get_attribute: [ HOST, private_address ] }
24     database:
25       type: tosca.nodes.Database
26       requirements:
27         - host: dbms
28       interfaces:
29         Standard:
30           configure:
31             implementation: configure.sh
32             inputs:
33               ip_address: { get_attribute: [ HOST, private_address ] }