bbb740fc754e3ae7debea8936f022f9136ac5018
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: nested_vlan
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     vlan_ids:
12       hidden: false
13       immutable: false
14       type: string
15     parent_interface:
16       hidden: false
17       immutable: false
18       type: string
19     virtual_ipv6_address:
20       hidden: false
21       immutable: false
22       type: string
23     virtual_ip_address:
24       hidden: false
25       immutable: false
26       type: string
27     lb_st_vlan_type_oam:
28       hidden: false
29       immutable: false
30       type: string
31       description: dummy
32     mac_address:
33       hidden: false
34       immutable: false
35       type: string
36     net1:
37       hidden: false
38       immutable: false
39       type: string
40     subinterface_name_prefix:
41       hidden: false
42       immutable: false
43       type: string
44     subinterface_instance_index:
45       hidden: false
46       immutable: false
47       type: float
48   node_templates:
49     template_subint_Vlan_vmi_1:
50       type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
51       properties:
52         virtual_machine_interface_refs:
53         - get_input: parent_interface
54         name:
55           str_replace:
56             template: $NAME$VLAN
57             params:
58               $NAME:
59                 get_input: subinterface_name_prefix
60               $VLAN:
61                 get_input:
62                 - vlan_ids
63                 - get_input: subinterface_instance_index
64         virtual_network_refs:
65         - get_input: net1
66         virtual_machine_interface_properties:
67           sub_interface_vlan_tag:
68             get_input: lb_st_vlan_type_oam
69         virtual_machine_interface_allowed_address_pairs:
70           allowed_address_pair:
71           - address_mode: active-standby
72             ip:
73               ip_prefix:
74                 get_input: virtual_ip_address
75               ip_prefix_len: 32
76             mac:
77               get_input: mac_address
78           - address_mode: active-standby
79             ip:
80               ip_prefix:
81                 get_input: virtual_ipv6_address
82               ip_prefix_len: 128
83             mac:
84               get_input: mac_address
85         virtual_machine_interface_mac_addresses:
86           mac_address:
87           - get_input: mac_address
88   groups:
89     nested_vlan_group:
90       type: org.openecomp.groups.heat.HeatStack
91       properties:
92         heat_file: ../Artifacts/nested_vlan.yml
93         description: cmaui server template for vMMSC
94       members:
95       - template_subint_Vlan_vmi_1
96   substitution_mappings:
97     node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested_vlan
98     capabilities:
99       feature_template_subint_Vlan_vmi_1:
100       - template_subint_Vlan_vmi_1
101       - feature
102     requirements:
103       binding_template_subint_Vlan_vmi_1:
104       - template_subint_Vlan_vmi_1
105       - binding
106       dependency_template_subint_Vlan_vmi_1:
107       - template_subint_Vlan_vmi_1
108       - dependency
109       link_template_subint_Vlan_vmi_1:
110       - template_subint_Vlan_vmi_1
111       - link