1c675f2a9a92db47421af10cd73f17ff011d5171
[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 topology_template:
10   inputs:
11     packet_external_network_name:
12       hidden: false
13       immutable: false
14       annotations:
15         source:
16           type: org.openecomp.annotations.Source
17           properties:
18             vf_module_label:
19             - main
20             source_type: HEAT
21             param_name: packet_external_network_name
22       type: string
23       description: network name
24     packet_internal_network_name:
25       hidden: false
26       immutable: false
27       annotations:
28         source:
29           type: org.openecomp.annotations.Source
30           properties:
31             vf_module_label:
32             - main
33             source_type: HEAT
34             param_name: packet_internal_network_name
35       type: string
36     jsa_name:
37       hidden: false
38       immutable: false
39       annotations:
40         source:
41           type: org.openecomp.annotations.Source
42           properties:
43             vf_module_label:
44             - main
45             source_type: HEAT
46             param_name: jsa_name
47       type: string
48       description: network name of jsa log network
49   node_templates:
50     packet_external_network:
51       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
52       properties:
53         network_name:
54           get_input: packet_external_network_name
55     packet_internal_network:
56       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
57       properties:
58         network_name:
59           get_input: packet_internal_network_name
60     test_nested_level1:
61       type: org.openecomp.resource.abstract.nodes.heat.nested_pattern5
62       directives:
63       - substitutable
64       properties:
65         port_net: packet_internal_network
66         service_template_filter:
67           substitute_service_template: nested_pattern5ServiceTemplate.yaml
68         sub_inf_net: packet_external_network
69       requirements:
70       - link_pd_server_1b_port_0:
71           capability: tosca.capabilities.network.Linkable
72           node: packet_internal_network
73           relationship: tosca.relationships.network.LinksTo
74       - link_pd_server_1b_port_1_test_nested_level2:
75           capability: tosca.capabilities.network.Linkable
76           node: packet_internal_network
77           relationship: tosca.relationships.network.LinksTo
78       - link_template_Vlan_vmi_1_test_resourceGroup_0:
79           capability: tosca.capabilities.network.Linkable
80           node: packet_external_network
81           relationship: tosca.relationships.network.LinksTo
82       - link_template_Vlan_vmi_1_test_resourceGroup_1_test_nested_level2:
83           capability: tosca.capabilities.network.Linkable
84           node: packet_external_network
85           relationship: tosca.relationships.network.LinksTo
86   groups:
87     main_group:
88       type: org.openecomp.groups.heat.HeatStack
89       properties:
90         heat_file: ../Artifacts/main.yml
91         description: |
92           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
93       members:
94       - packet_external_network
95       - packet_internal_network
96       - test_nested_level1