6d84ffec48887bfa23b82fabe1efc96e51f1c12c
[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 topology_template:
8   inputs:
9     vlc1_Internal2_mac:
10       hidden: false
11       immutable: false
12       annotations:
13         source:
14           type: org.openecomp.annotations.Source
15           properties:
16             vf_module_label:
17             - vmme_vlc
18             source_type: HEAT
19             param_name: vlc1_Internal2_mac
20       type: string
21       description: static mac address assigned to vlc1_Internal2
22     internal_net_id_1:
23       hidden: false
24       immutable: false
25       annotations:
26         source:
27           type: org.openecomp.annotations.Source
28           properties:
29             vf_module_label:
30             - vmme_vlc
31             source_type: HEAT
32             param_name: internal_net_id_1
33       type: string
34       description: UUID of Internal2_net
35     internal_net_id_0:
36       hidden: false
37       immutable: false
38       annotations:
39         source:
40           type: org.openecomp.annotations.Source
41           properties:
42             vf_module_label:
43             - vmme_vlc
44             source_type: HEAT
45             param_name: internal_net_id_0
46       type: string
47       description: UUID of Internal1_net
48     security_group_int2_id:
49       hidden: false
50       immutable: false
51       annotations:
52         source:
53           type: org.openecomp.annotations.Source
54           properties:
55             vf_module_label:
56             - vmme_vlc
57             source_type: HEAT
58             param_name: security_group_int2_id
59       type: string
60       description: Security Group UUID for output
61     security_group_int1_id:
62       hidden: false
63       immutable: false
64       annotations:
65         source:
66           type: org.openecomp.annotations.Source
67           properties:
68             vf_module_label:
69             - vmme_vlc
70             source_type: HEAT
71             param_name: security_group_int1_id
72       type: string
73       description: Security Group UUID for output
74     vlc1_Internal1_mac:
75       hidden: false
76       immutable: false
77       annotations:
78         source:
79           type: org.openecomp.annotations.Source
80           properties:
81             vf_module_label:
82             - vmme_vlc
83             source_type: HEAT
84             param_name: vlc1_Internal1_mac
85       type: string
86       description: static mac address assigned to vlc1_Internal1
87     vlc_st_interface_type_int1:
88       hidden: false
89       immutable: false
90       annotations:
91         source:
92           type: org.openecomp.annotations.Source
93           properties:
94             vf_module_label:
95             - vmme_vlc
96             source_type: HEAT
97             param_name: vlc_st_interface_type_int1
98       type: string
99       description: service_interface_type for the ServiceTemplate
100     vlc_st_interface_type_int2:
101       hidden: false
102       immutable: false
103       annotations:
104         source:
105           type: org.openecomp.annotations.Source
106           properties:
107             vf_module_label:
108             - vmme_vlc
109             source_type: HEAT
110             param_name: vlc_st_interface_type_int2
111       type: string
112       description: service_interface_type for the ServiceTemplate
113   node_templates:
114     template_VMInt_INT1_VLC_1:
115       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
116       properties:
117         security_group_refs:
118         - get_input: security_group_int1_id
119         virtual_network_refs:
120         - get_input: internal_net_id_0
121         virtual_machine_interface_properties:
122           service_interface_type:
123             get_input: vlc_st_interface_type_int1
124         virtual_machine_interface_mac_addresses:
125         - get_input: vlc1_Internal1_mac
126         - get_input: vlc1_Internal2_mac
127         - abc
128   groups:
129     vmme_vlc_group:
130       type: org.openecomp.groups.heat.HeatStack
131       properties:
132         heat_file: ../Artifacts/vmme_vlc.yml
133         description: |
134           Module HOT template to create vmme 2 vlc
135       members:
136       - template_VMInt_INT1_VLC_1