80763b5c6aa18aad54f8b789081cbfe7e1f5eb0f
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: vmme_vlc
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     vlc1_Internal2_mac:
12       hidden: false
13       immutable: false
14       type: string
15       description: static mac address assigned to vlc1_Internal2
16     internal_net_id_1:
17       hidden: false
18       immutable: false
19       type: string
20       description: UUID of Internal2_net
21     internal_net_id_0:
22       hidden: false
23       immutable: false
24       type: string
25       description: UUID of Internal1_net
26     security_group_int2_id:
27       hidden: false
28       immutable: false
29       type: string
30       description: Security Group UUID for output
31     security_group_int1_id:
32       hidden: false
33       immutable: false
34       type: string
35       description: Security Group UUID for output
36     vlc1_Internal1_mac:
37       hidden: false
38       immutable: false
39       type: string
40       description: static mac address assigned to vlc1_Internal1
41     vlc_st_interface_type_int1:
42       hidden: false
43       immutable: false
44       type: string
45       description: service_interface_type for the ServiceTemplate
46     vlc_st_interface_type_int2:
47       hidden: false
48       immutable: false
49       type: string
50       description: service_interface_type for the ServiceTemplate
51   node_templates:
52     template_VMInt_INT2_VLC_1:
53       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
54       properties:
55         security_group_refs:
56         - get_input: security_group_int2_id
57         virtual_network_refs:
58         - get_input: internal_net_id_1
59         virtual_machine_interface_properties:
60           service_interface_type:
61             get_input: vlc_st_interface_type_int2
62         virtual_machine_interface_mac_addresses:
63         - get_input: vlc1_Internal2_mac
64     template_VMInt_INT1_VLC_1:
65       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
66       properties:
67         security_group_refs:
68         - get_input: security_group_int1_id
69         virtual_network_refs:
70         - get_input: internal_net_id_0
71         virtual_machine_interface_properties:
72           service_interface_type:
73             get_input: vlc_st_interface_type_int1
74         virtual_machine_interface_mac_addresses:
75         - get_input: vlc1_Internal1_mac
76   groups:
77     vmme_vlc_group:
78       type: org.openecomp.groups.heat.HeatStack
79       properties:
80         heat_file: ../Artifacts/vmme_vlc.yml
81         description: |
82           Module HOT template to create vmme 2 vlc
83       members:
84       - template_VMInt_INT2_VLC_1
85       - template_VMInt_INT1_VLC_1
86   substitution_mappings:
87     node_type: org.openecomp.resource.abstract.nodes.heat.vmme_vlc
88     capabilities:
89       network.incoming.bytes.rate_template_VMInt_INT2_VLC_1:
90       - template_VMInt_INT2_VLC_1
91       - network.incoming.bytes.rate
92       network.incoming.packets.rate_template_VMInt_INT2_VLC_1:
93       - template_VMInt_INT2_VLC_1
94       - network.incoming.packets.rate
95       network.outpoing.packets_template_VMInt_INT1_VLC_1:
96       - template_VMInt_INT1_VLC_1
97       - network.outpoing.packets
98       network.incoming.packets.rate_template_VMInt_INT1_VLC_1:
99       - template_VMInt_INT1_VLC_1
100       - network.incoming.packets.rate
101       network.outgoing.bytes_template_VMInt_INT1_VLC_1:
102       - template_VMInt_INT1_VLC_1
103       - network.outgoing.bytes
104       network.incoming.bytes_template_VMInt_INT1_VLC_1:
105       - template_VMInt_INT1_VLC_1
106       - network.incoming.bytes
107       network.outgoing.bytes.rate_template_VMInt_INT1_VLC_1:
108       - template_VMInt_INT1_VLC_1
109       - network.outgoing.bytes.rate
110       network.outpoing.packets_template_VMInt_INT2_VLC_1:
111       - template_VMInt_INT2_VLC_1
112       - network.outpoing.packets
113       network.outgoing.bytes_template_VMInt_INT2_VLC_1:
114       - template_VMInt_INT2_VLC_1
115       - network.outgoing.bytes
116       forwarder_template_VMInt_INT1_VLC_1:
117       - template_VMInt_INT1_VLC_1
118       - forwarder
119       binding_template_VMInt_INT1_VLC_1:
120       - template_VMInt_INT1_VLC_1
121       - binding
122       network.incoming.bytes.rate_template_VMInt_INT1_VLC_1:
123       - template_VMInt_INT1_VLC_1
124       - network.incoming.bytes.rate
125       network.outgoing.bytes.rate_template_VMInt_INT2_VLC_1:
126       - template_VMInt_INT2_VLC_1
127       - network.outgoing.bytes.rate
128       network.incoming.bytes_template_VMInt_INT2_VLC_1:
129       - template_VMInt_INT2_VLC_1
130       - network.incoming.bytes
131       binding_template_VMInt_INT2_VLC_1:
132       - template_VMInt_INT2_VLC_1
133       - binding
134       network.outgoing.packets.rate_template_VMInt_INT1_VLC_1:
135       - template_VMInt_INT1_VLC_1
136       - network.outgoing.packets.rate
137       network.incoming.packets_template_VMInt_INT1_VLC_1:
138       - template_VMInt_INT1_VLC_1
139       - network.incoming.packets
140       forwarder_template_VMInt_INT2_VLC_1:
141       - template_VMInt_INT2_VLC_1
142       - forwarder
143       feature_template_VMInt_INT1_VLC_1:
144       - template_VMInt_INT1_VLC_1
145       - feature
146       network.incoming.packets_template_VMInt_INT2_VLC_1:
147       - template_VMInt_INT2_VLC_1
148       - network.incoming.packets
149       network.outgoing.packets.rate_template_VMInt_INT2_VLC_1:
150       - template_VMInt_INT2_VLC_1
151       - network.outgoing.packets.rate
152       feature_template_VMInt_INT2_VLC_1:
153       - template_VMInt_INT2_VLC_1
154       - feature
155     requirements:
156       dependency_template_VMInt_INT1_VLC_1:
157       - template_VMInt_INT1_VLC_1
158       - dependency
159       binding_template_VMInt_INT2_VLC_1:
160       - template_VMInt_INT2_VLC_1
161       - binding
162       link_template_VMInt_INT1_VLC_1:
163       - template_VMInt_INT1_VLC_1
164       - link
165       dependency_template_VMInt_INT2_VLC_1:
166       - template_VMInt_INT2_VLC_1
167       - dependency
168       link_template_VMInt_INT2_VLC_1:
169       - template_VMInt_INT2_VLC_1
170       - link
171       binding_template_VMInt_INT1_VLC_1:
172       - template_VMInt_INT1_VLC_1
173       - binding