7d30878434ac89309de072374897d33b136a6aed
[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_INT1_VLC_1:
53       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
54       properties:
55         security_group_refs:
56         - get_input: security_group_int1_id
57         virtual_network_refs:
58         - get_input: internal_net_id_0
59         virtual_machine_interface_properties:
60           service_interface_type:
61             get_input: vlc_st_interface_type_int1
62         virtual_machine_interface_mac_addresses:
63         - get_input: vlc1_Internal1_mac
64         - abc
65   groups:
66     vmme_vlc_group:
67       type: org.openecomp.groups.heat.HeatStack
68       properties:
69         heat_file: ../Artifacts/vmme_vlc.yml
70         description: |
71           Module HOT template to create vmme 2 vlc
72       members:
73       - template_VMInt_INT1_VLC_1
74   substitution_mappings:
75     node_type: org.openecomp.resource.abstract.nodes.heat.vmme_vlc
76     capabilities:
77       network.outgoing.packets.rate_template_VMInt_INT1_VLC_1:
78       - template_VMInt_INT1_VLC_1
79       - network.outgoing.packets.rate
80       network.outpoing.packets_template_VMInt_INT1_VLC_1:
81       - template_VMInt_INT1_VLC_1
82       - network.outpoing.packets
83       network.incoming.packets_template_VMInt_INT1_VLC_1:
84       - template_VMInt_INT1_VLC_1
85       - network.incoming.packets
86       feature_template_VMInt_INT1_VLC_1:
87       - template_VMInt_INT1_VLC_1
88       - feature
89       network.incoming.packets.rate_template_VMInt_INT1_VLC_1:
90       - template_VMInt_INT1_VLC_1
91       - network.incoming.packets.rate
92       network.outgoing.bytes_template_VMInt_INT1_VLC_1:
93       - template_VMInt_INT1_VLC_1
94       - network.outgoing.bytes
95       network.incoming.bytes_template_VMInt_INT1_VLC_1:
96       - template_VMInt_INT1_VLC_1
97       - network.incoming.bytes
98       network.outgoing.bytes.rate_template_VMInt_INT1_VLC_1:
99       - template_VMInt_INT1_VLC_1
100       - network.outgoing.bytes.rate
101       forwarder_template_VMInt_INT1_VLC_1:
102       - template_VMInt_INT1_VLC_1
103       - forwarder
104       binding_template_VMInt_INT1_VLC_1:
105       - template_VMInt_INT1_VLC_1
106       - binding
107       network.incoming.bytes.rate_template_VMInt_INT1_VLC_1:
108       - template_VMInt_INT1_VLC_1
109       - network.incoming.bytes.rate
110     requirements:
111       dependency_template_VMInt_INT1_VLC_1:
112       - template_VMInt_INT1_VLC_1
113       - dependency
114       link_template_VMInt_INT1_VLC_1:
115       - template_VMInt_INT1_VLC_1
116       - link
117       binding_template_VMInt_INT1_VLC_1:
118       - template_VMInt_INT1_VLC_1
119       - binding