eeaf3b68c33bb631b95182e4661d6a5acc467068
[sdc.git] /
1 heat_template_version: 2013-05-23\r
2 \r
3 description: cmaui server template for vMMSC\r
4 \r
5 parameters:\r
6   aap_address_mode:\r
7     description: "Address mode for the vDBE cluster IP"\r
8     type: string\r
9   aap_sec_untrusted_ip_prefix:\r
10     description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"\r
11     type: string\r
12   aap_sec_untrusted_ip_prefix_len:\r
13     description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"\r
14     type: string\r
15   aap_untrusted_ip_prefix:\r
16     description: "ip prefix for primary vDBE VM on the VAN untrusted network"\r
17     type: string\r
18   aap_untrusted_ip_prefix_len:\r
19     description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"\r
20     type: string\r
21   aap_untrusted_v6_ip_prefix:\r
22     description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"\r
23     type: string\r
24   aap_untrusted_v6_ip_prefix_len:\r
25     description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"\r
26     type: string\r
27   counter:\r
28     description: "Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances."\r
29     type: number\r
30   mac_address:\r
31     description: "HW MAC address to use for subinterface"\r
32     type: string\r
33   parent_interface:\r
34     description: "Parent Contrail interface"\r
35     type: string\r
36   subinterfaces_name_prefix:\r
37     description: "Combined with subinterface_instance_index, this is used as the name of the subinterface resource"\r
38     type: string\r
39   vlan_tag_list:\r
40     description: "List of VLAN IDs to use for subinterfaces"\r
41     type: comma_delimited_list\r
42   vmac_address:\r
43     description: "virtual MAC address to use for subinterface"\r
44     type: string\r
45   vdbe_subport_network:\r
46     description: "List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list"\r
47     type: string\r
48   ip_address:\r
49     description: "IPv4 address associated with subinterfaces"\r
50     type: string\r
51   ip_v6_address:\r
52     description: "IPv6 address associated with subinterfaces"\r
53     type: string\r
54 resources:\r
55   vdbe_untr_vmi_subport:\r
56     type: OS::ContrailV2::VirtualMachineInterface\r
57     properties:\r
58       name:\r
59         str_replace:\r
60           params:\r
61             $INDEX:\r
62               get_param:\r
63                 - vlan_tag_list\r
64                 -\r
65                   get_param: counter\r
66             $NAME:\r
67               get_param: subinterfaces_name_prefix\r
68           template: $NAME_$INDEX\r
69       virtual_machine_interface_allowed_address_pairs:\r
70         virtual_machine_interface_allowed_address_pairs_allowed_address_pair:\r
71           -\r
72             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:\r
73               get_param: aap_address_mode\r
74             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:\r
75               virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:\r
76                 get_param: aap_untrusted_ip_prefix\r
77               virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:\r
78                 get_param: aap_untrusted_ip_prefix_len\r
79             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:\r
80               get_param: vmac_address\r
81           -\r
82             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:\r
83               get_param: aap_address_mode\r
84             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:\r
85               virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:\r
86                 get_param: aap_sec_untrusted_ip_prefix\r
87               virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:\r
88                 get_param: aap_sec_untrusted_ip_prefix_len\r
89             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:\r
90               get_param: mac_address\r
91           -\r
92             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:\r
93               get_param: aap_address_mode\r
94             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:\r
95               virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:\r
96                 get_param: aap_untrusted_v6_ip_prefix\r
97               virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:\r
98                 get_param: aap_untrusted_v6_ip_prefix_len\r
99             virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:\r
100               get_param: vmac_address\r
101       virtual_machine_interface_mac_addresses:\r
102         virtual_machine_interface_mac_addresses_mac_address:\r
103           -\r
104             get_param: mac_address\r
105       virtual_machine_interface_properties:\r
106         virtual_machine_interface_properties_sub_interface_vlan_tag:\r
107           get_param:\r
108             - vlan_tag_list\r
109             -\r
110               get_param: counter\r
111       virtual_machine_interface_refs:\r
112           [{get_param: parent_interface}]\r
113       virtual_network_refs:\r
114           [{get_param: vdbe_subport_network}]\r