1 description: "cmaui server template for vMMSC"
2 heat_template_version: 2013-05-23
8 Internal1_default_gateway:
10 Internal2_default_gateway:
31 network_ipam_refs_data_ipam_subnets_addr_from_start_true:
34 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2:
37 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2:
58 service_instance_fq_name:
61 template_NetworkIpam_2:
65 type: "OS::ContrailV2::NetworkIpam"
66 template_NetworkPolicy:
69 get_param: policy_name
70 network_policy_entries:
71 network_policy_entries_policy_rule:
73 network_policy_entries_policy_rule_action_list:
74 network_policy_entries_policy_rule_action_list_apply_service:
76 get_param: service_instance_fq_name
77 network_policy_entries_policy_rule_action_list_simple_action:
78 get_param: simple_action
79 network_policy_entries_policy_rule_direction:
81 network_policy_entries_policy_rule_dst_addresses:
83 network_policy_entries_policy_rule_dst_addresses_virtual_network:
84 get_param: right_vn_fqdn
85 network_policy_entries_policy_rule_dst_ports:
87 network_policy_entries_policy_rule_dst_ports_end_port:
88 get_param: dst_port_end
89 network_policy_entries_policy_rule_dst_ports_start_port:
90 get_param: dst_port_start
91 network_policy_entries_policy_rule_protocol:
93 network_policy_entries_policy_rule_src_addresses:
95 network_policy_entries_policy_rule_src_addresses_virtual_network:
96 get_param: left_vn_fqdn
97 network_policy_entries_policy_rule_src_ports:
99 network_policy_entries_policy_rule_src_ports_end_port:
100 get_param: src_port_end
101 network_policy_entries_policy_rule_src_ports_start_port:
102 get_param: src_port_start
103 type: "OS::ContrailV2::NetworkPolicy"
104 template_VirtualNetwork_1:
106 - template_NetworkIpam_2
107 - template_NetworkPolicy
113 get_resource: template_NetworkIpam_2
114 network_ipam_refs_data:
116 network_ipam_refs_data_ipam_subnets:
118 network_ipam_refs_data_ipam_subnets_addr_from_start:
119 get_param: network_ipam_refs_data_ipam_subnets_addr_from_start_true
120 network_ipam_refs_data_ipam_subnets_subnet:
121 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
122 get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
123 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
124 get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
125 network_policy_refs: [ { list_join: [':', { get_attr: [ template_NetworkPolicy, fq_name ] } ] } ]
126 network_policy_refs_data:
128 network_policy_refs_data_sequence:
129 network_policy_refs_data_sequence_major: 0
130 network_policy_refs_data_sequence_minor: 0
131 type: "OS::ContrailV2::VirtualNetwork"
132 template_VirtualNetwork_2:
134 - template_NetworkIpam_2
135 - template_NetworkPolicy
141 get_resource: template_NetworkIpam_2
142 network_ipam_refs_data:
144 network_ipam_refs_data_ipam_subnets:
146 network_ipam_refs_data_ipam_subnets_addr_from_start:
147 get_param: network_ipam_refs_data_ipam_subnets_addr_from_start_true
148 network_ipam_refs_data_ipam_subnets_subnet:
149 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
150 get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
151 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
152 get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
153 network_policy_refs: [ { get_attr: [ template_NetworkPolicy, fq_name ] } ]
154 network_policy_refs_data:
156 network_policy_refs_data_sequence:
157 network_policy_refs_data_sequence_major: 0
158 network_policy_refs_data_sequence_minor: 0
159 type: "OS::ContrailV2::VirtualNetwork"
160 template_VirtualNetwork_3:
162 - template_NetworkIpam_2
163 - template_NetworkPolicy
169 get_resource: template_NetworkIpam_2
170 network_ipam_refs_data:
172 network_ipam_refs_data_ipam_subnets:
174 network_ipam_refs_data_ipam_subnets_addr_from_start:
175 get_param: network_ipam_refs_data_ipam_subnets_addr_from_start_true
176 network_ipam_refs_data_ipam_subnets_subnet:
177 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
178 get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
179 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
180 get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
181 network_policy_refs: [ { get_resource: template_NetworkPolicy } ]
182 network_policy_refs_data:
184 network_policy_refs_data_sequence:
185 network_policy_refs_data_sequence_major: 0
186 network_policy_refs_data_sequence_minor: 0
187 type: "OS::ContrailV2::VirtualNetwork"
190 type: OS::Neutron::Subnet
192 network_id: { get_resource: template_VirtualNetwork_2 }
193 cidr: { get_param: Internal1_cidr }
194 gateway_ip: { get_param: Internal1_default_gateway }
195 enable_dhcp: { get_param: Internal1_dhcp }
198 type: OS::Neutron::Subnet
200 network_id: { get_resource: template_VirtualNetwork_2 }
201 cidr: { get_param: Internal2_cidr }
202 gateway_ip: { get_param: Internal2_default_gateway }
203 enable_dhcp: { get_param: Internal2_dhcp }