1d9f79e7e415500a6c24497990f490866b752707
[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         - get_input: vlc1_Internal2_mac\r
65         - abc\r
66   groups:\r
67     vmme_vlc_group:\r
68       type: org.openecomp.groups.heat.HeatStack\r
69       properties:\r
70         heat_file: ../Artifacts/vmme_vlc.yml\r
71         description: |\r
72           Module HOT template to create vmme 2 vlc\r
73       members:\r
74       - template_VMInt_INT1_VLC_1\r
75   substitution_mappings:\r
76     node_type: org.openecomp.resource.abstract.nodes.heat.vmme_vlc\r
77     capabilities:\r
78       network.outgoing.packets.rate_template_VMInt_INT1_VLC_1:\r
79       - template_VMInt_INT1_VLC_1\r
80       - network.outgoing.packets.rate\r
81       network.outpoing.packets_template_VMInt_INT1_VLC_1:\r
82       - template_VMInt_INT1_VLC_1\r
83       - network.outpoing.packets\r
84       network.incoming.packets_template_VMInt_INT1_VLC_1:\r
85       - template_VMInt_INT1_VLC_1\r
86       - network.incoming.packets\r
87       feature_template_VMInt_INT1_VLC_1:\r
88       - template_VMInt_INT1_VLC_1\r
89       - feature\r
90       network.incoming.packets.rate_template_VMInt_INT1_VLC_1:\r
91       - template_VMInt_INT1_VLC_1\r
92       - network.incoming.packets.rate\r
93       network.outgoing.bytes_template_VMInt_INT1_VLC_1:\r
94       - template_VMInt_INT1_VLC_1\r
95       - network.outgoing.bytes\r
96       network.incoming.bytes_template_VMInt_INT1_VLC_1:\r
97       - template_VMInt_INT1_VLC_1\r
98       - network.incoming.bytes\r
99       network.outgoing.bytes.rate_template_VMInt_INT1_VLC_1:\r
100       - template_VMInt_INT1_VLC_1\r
101       - network.outgoing.bytes.rate\r
102       forwarder_template_VMInt_INT1_VLC_1:\r
103       - template_VMInt_INT1_VLC_1\r
104       - forwarder\r
105       binding_template_VMInt_INT1_VLC_1:\r
106       - template_VMInt_INT1_VLC_1\r
107       - binding\r
108       network.incoming.bytes.rate_template_VMInt_INT1_VLC_1:\r
109       - template_VMInt_INT1_VLC_1\r
110       - network.incoming.bytes.rate\r
111     requirements:\r
112       dependency_template_VMInt_INT1_VLC_1:\r
113       - template_VMInt_INT1_VLC_1\r
114       - dependency\r
115       link_template_VMInt_INT1_VLC_1:\r
116       - template_VMInt_INT1_VLC_1\r
117       - link\r
118       binding_template_VMInt_INT1_VLC_1:\r
119       - template_VMInt_INT1_VLC_1\r
120       - binding\r