c6562aae3730164209fc3340263bebd138aae200
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0\r
2 metadata:\r
3   template_name: vmme_vlc\r
4 imports:\r
5 - openecomp_heat_index:\r
6     file: openecomp-heat/_index.yml\r
7 - GlobalSubstitutionTypes:\r
8     file: GlobalSubstitutionTypesServiceTemplate.yaml\r
9 topology_template:\r
10   inputs:\r
11     vlc1_Internal2_mac:\r
12       hidden: false\r
13       immutable: false\r
14       type: string\r
15       description: static mac address assigned to vlc1_Internal2\r
16     internal_net_id_1:\r
17       hidden: false\r
18       immutable: false\r
19       type: string\r
20       description: UUID of Internal2_net\r
21     internal_net_id_0:\r
22       hidden: false\r
23       immutable: false\r
24       type: string\r
25       description: UUID of Internal1_net\r
26     security_group_int2_id:\r
27       hidden: false\r
28       immutable: false\r
29       type: string\r
30       description: Security Group UUID for output\r
31     security_group_int1_id:\r
32       hidden: false\r
33       immutable: false\r
34       type: string\r
35       description: Security Group UUID for output\r
36     vlc1_Internal1_mac:\r
37       hidden: false\r
38       immutable: false\r
39       type: string\r
40       description: static mac address assigned to vlc1_Internal1\r
41     vlc_st_interface_type_int1:\r
42       hidden: false\r
43       immutable: false\r
44       type: string\r
45       description: service_interface_type for the ServiceTemplate\r
46     vlc_st_interface_type_int2:\r
47       hidden: false\r
48       immutable: false\r
49       type: string\r
50       description: service_interface_type for the ServiceTemplate\r
51   node_templates:\r
52     template_VMInt_INT1_VLC_1:\r
53       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface\r
54       properties:\r
55         security_group_refs:\r
56         - get_input: security_group_int1_id\r
57         virtual_network_refs:\r
58         - get_input: internal_net_id_0\r
59         virtual_machine_interface_properties:\r
60           service_interface_type:\r
61             get_input: vlc_st_interface_type_int1\r
62         virtual_machine_interface_mac_addresses:\r
63         - get_input: vlc1_Internal1_mac\r
64         - abc\r
65   groups:\r
66     vmme_vlc_group:\r
67       type: org.openecomp.groups.heat.HeatStack\r
68       properties:\r
69         heat_file: ../Artifacts/vmme_vlc.yml\r
70         description: |\r
71           Module HOT template to create vmme 2 vlc\r
72       members:\r
73       - template_VMInt_INT1_VLC_1\r
74   substitution_mappings:\r
75     node_type: org.openecomp.resource.abstract.nodes.heat.vmme_vlc\r
76     capabilities:\r
77       network.outgoing.packets.rate_template_VMInt_INT1_VLC_1:\r
78       - template_VMInt_INT1_VLC_1\r
79       - network.outgoing.packets.rate\r
80       network.outpoing.packets_template_VMInt_INT1_VLC_1:\r
81       - template_VMInt_INT1_VLC_1\r
82       - network.outpoing.packets\r
83       network.incoming.packets_template_VMInt_INT1_VLC_1:\r
84       - template_VMInt_INT1_VLC_1\r
85       - network.incoming.packets\r
86       feature_template_VMInt_INT1_VLC_1:\r
87       - template_VMInt_INT1_VLC_1\r
88       - feature\r
89       network.incoming.packets.rate_template_VMInt_INT1_VLC_1:\r
90       - template_VMInt_INT1_VLC_1\r
91       - network.incoming.packets.rate\r
92       network.outgoing.bytes_template_VMInt_INT1_VLC_1:\r
93       - template_VMInt_INT1_VLC_1\r
94       - network.outgoing.bytes\r
95       network.incoming.bytes_template_VMInt_INT1_VLC_1:\r
96       - template_VMInt_INT1_VLC_1\r
97       - network.incoming.bytes\r
98       network.outgoing.bytes.rate_template_VMInt_INT1_VLC_1:\r
99       - template_VMInt_INT1_VLC_1\r
100       - network.outgoing.bytes.rate\r
101       forwarder_template_VMInt_INT1_VLC_1:\r
102       - template_VMInt_INT1_VLC_1\r
103       - forwarder\r
104       binding_template_VMInt_INT1_VLC_1:\r
105       - template_VMInt_INT1_VLC_1\r
106       - binding\r
107       network.incoming.bytes.rate_template_VMInt_INT1_VLC_1:\r
108       - template_VMInt_INT1_VLC_1\r
109       - network.incoming.bytes.rate\r
110     requirements:\r
111       dependency_template_VMInt_INT1_VLC_1:\r
112       - template_VMInt_INT1_VLC_1\r
113       - dependency\r
114       link_template_VMInt_INT1_VLC_1:\r
115       - template_VMInt_INT1_VLC_1\r
116       - link\r
117       binding_template_VMInt_INT1_VLC_1:\r
118       - template_VMInt_INT1_VLC_1\r
119       - binding\r