04b5a5333b957d4da7929c0899f15745dcd97d12
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 node_types:
10   org.openecomp.resource.vfc.nodes.heat.jsa:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     shared_test_nova:
15       hidden: false
16       immutable: false
17       type: string
18     shared_test_contrail_net:
19       hidden: false
20       immutable: false
21       type: string
22     contrail_net_name:
23       hidden: false
24       immutable: false
25       type: string
26       description: network name of jsa log network
27     shared_test_net:
28       hidden: false
29       immutable: false
30       type: string
31     shared_test_contrailV2_net:
32       hidden: false
33       immutable: false
34       type: string
35     jsa_net_name:
36       hidden: false
37       immutable: false
38       type: string
39       description: network name of jsa log network
40     jsa_name:
41       hidden: false
42       immutable: false
43       type: string
44   node_templates:
45     test_nestedInvalidConnectionToNetwork:
46       type: org.openecomp.resource.abstract.nodes.heat.nested1
47       directives:
48       - substitutable
49       properties:
50         service_template_filter:
51           substitute_service_template: nested1ServiceTemplate.yaml
52         shared_test_net:
53           get_input: shared_test_nova
54     test_nested1Level:
55       type: org.openecomp.resource.abstract.nodes.heat.nested1
56       directives:
57       - substitutable
58       properties:
59         service_template_filter:
60           substitute_service_template: nested1ServiceTemplate.yaml
61         p2:
62           get_input: shared_test_contrailV2_net
63         shared_test_net:
64           get_input: shared_test_net
65       requirements:
66       - link_cmaui_port_2_test_nested2Level:
67           capability: tosca.capabilities.network.Linkable
68           node: test_contrailV2_net
69           relationship: tosca.relationships.network.LinksTo
70       - link_cmaui_port_3_test_nested3Level_test_nested2Level:
71           capability: tosca.capabilities.network.Linkable
72           node: test_net
73           relationship: tosca.relationships.network.LinksTo
74       - link_cmaui_port_3_test_nested4Level_test_nested3Level_test_nested2Level:
75           capability: tosca.capabilities.network.Linkable
76           node: test_net
77           relationship: tosca.relationships.network.LinksTo
78       - link_cmaui_port_2_test_nested4Level_test_nested3Level_test_nested2Level:
79           capability: tosca.capabilities.network.Linkable
80           node: test_net
81           relationship: tosca.relationships.network.LinksTo
82       - link_cmaui_port_2_test_nested3Level_test_nested2Level:
83           capability: tosca.capabilities.network.Linkable
84           node: test_net
85           relationship: tosca.relationships.network.LinksTo
86       - link_cmaui_port_1_test_nested2Level:
87           capability: tosca.capabilities.network.Linkable
88           node: test_net
89           relationship: tosca.relationships.network.LinksTo
90       - link_cmaui_port_0:
91           capability: tosca.capabilities.network.Linkable
92           node: test_net
93           relationship: tosca.relationships.network.LinksTo
94     test_nestedPassArrayParam:
95       type: org.openecomp.resource.abstract.nodes.heat.nested1
96       directives:
97       - substitutable
98       properties:
99         service_template_filter:
100           substitute_service_template: nested1ServiceTemplate.yaml
101         shared_test_net:
102           get_input:
103           - shared_test_net
104           - 0
105     test_resourceGroup:
106       type: org.openecomp.resource.abstract.nodes.heat.nested3
107       directives:
108       - substitutable
109       properties:
110         service_template_filter:
111           substitute_service_template: nested3ServiceTemplate.yaml
112           count: 9
113           mandatory: true
114         indx:
115           get_property:
116           - SELF
117           - service_template_filter
118           - index_value
119         shared_test_net:
120           get_input: shared_test_contrail_net
121       requirements:
122       - link_cmaui_port_3_test_nested4Level:
123           capability: tosca.capabilities.network.Linkable
124           node: test_contrail_net
125           relationship: tosca.relationships.network.LinksTo
126       - link_cmaui_port_2:
127           capability: tosca.capabilities.network.Linkable
128           node: test_contrail_net
129           relationship: tosca.relationships.network.LinksTo
130     test_contrailV2_net:
131       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
132       properties:
133         network_name:
134           get_input: contrail_net_name
135     test_net:
136       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
137       properties:
138         shared: true
139         network_name:
140           get_input: jsa_net_name
141     test_contrail_net:
142       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
143       properties:
144         network_name:
145           get_input: contrail_net_name
146     test_nova:
147       type: org.openecomp.resource.vfc.nodes.heat.jsa
148       properties:
149         image: image
150         name:
151           get_input: jsa_name
152   groups:
153     base_group:
154       type: org.openecomp.groups.heat.HeatStack
155       properties:
156         heat_file: ../Artifacts/base.yml
157         description: |
158           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
159       members:
160       - test_contrailV2_net
161       - test_net
162       - test_contrail_net
163       - test_nova
164     addOn_group:
165       type: org.openecomp.groups.heat.HeatStack
166       properties:
167         heat_file: ../Artifacts/addOn.yml
168         description: |
169           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
170       members:
171       - test_nestedInvalidConnectionToNetwork
172       - test_nested1Level
173       - test_nestedPassArrayParam
174       - test_resourceGroup