@@ -4,13 +4,15 @@ resource_registry:
44 OS::TripleO::OVNMacAddressNetwork: OS::Heat::None
55 OS::TripleO::OVNMacAddressPort: OS::Heat::None
66 OS::TripleO::Compute::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_internal_api.yaml
7+ OS::TripleO::Compute::Ports::StorageMgmtPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage_mgmt.yaml
78 OS::TripleO::Compute::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage.yaml
89 OS::TripleO::Compute::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_tenant.yaml
9- OS::TripleO::Controller::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_external.yaml
1010 OS::TripleO::Controller::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_internal_api.yaml
1111 OS::TripleO::Controller::Ports::StorageMgmtPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage_mgmt.yaml
1212 OS::TripleO::Controller::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_storage.yaml
1313 OS::TripleO::Controller::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_tenant.yaml
14+ OS::TripleO::Compute::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_external.yaml
15+ OS::TripleO::Controller::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/deployed_external.yaml
1416parameter_defaults:
1517 DeployedServerPortMap:
1618 controller-0-ctlplane:
@@ -84,6 +86,10 @@ parameter_defaults:
8486 ip_address: 172.19.0.103
8587 ip_address_uri: 172.19.0.103
8688 ip_subnet: 172.19.0.0/24
89+ external:
90+ ip_address: 172.21.0.103
91+ ip_address_uri: 172.21.0.103
92+ ip_subnet: 172.21.0.0/24
8793 controller-1:
8894 ctlplane:
8995 ip_address: 192.168.122.104
@@ -105,6 +111,10 @@ parameter_defaults:
105111 ip_address: 172.19.0.104
106112 ip_address_uri: 172.19.0.104
107113 ip_subnet: 172.19.0.0/24
114+ external:
115+ ip_address: 172.21.0.104
116+ ip_address_uri: 172.21.0.104
117+ ip_subnet: 172.21.0.0/24
108118 controller-2:
109119 ctlplane:
110120 ip_address: 192.168.122.105
@@ -126,6 +136,10 @@ parameter_defaults:
126136 ip_address: 172.19.0.105
127137 ip_address_uri: 172.19.0.105
128138 ip_subnet: 172.19.0.0/24
139+ external:
140+ ip_address: 172.21.0.105
141+ ip_address_uri: 172.21.0.105
142+ ip_subnet: 172.21.0.0/24
129143 compute-0:
130144 ctlplane:
131145 ip_address: 192.168.122.106
@@ -147,6 +161,10 @@ parameter_defaults:
147161 ip_address: 172.19.0.106
148162 ip_address_uri: 172.19.0.106
149163 ip_subnet: 172.19.0.0/24
164+ external:
165+ ip_address: 172.21.0.106
166+ ip_address_uri: 172.21.0.106
167+ ip_subnet: 172.21.0.0/24
150168 compute-1:
151169 ctlplane:
152170 ip_address: 192.168.122.107
@@ -168,6 +186,10 @@ parameter_defaults:
168186 ip_address: 172.19.0.107
169187 ip_address_uri: 172.19.0.107
170188 ip_subnet: 172.19.0.0/24
189+ external:
190+ ip_address: 172.21.0.107
191+ ip_address_uri: 172.21.0.107
192+ ip_subnet: 172.21.0.0/24
171193 compute-2:
172194 ctlplane:
173195 ip_address: 192.168.122.108
@@ -189,6 +211,10 @@ parameter_defaults:
189211 ip_address: 172.19.0.108
190212 ip_address_uri: 172.19.0.108
191213 ip_subnet: 172.19.0.0/24
214+ external:
215+ ip_address: 172.21.0.108
216+ ip_address_uri: 172.21.0.108
217+ ip_subnet: 172.21.0.0/24
192218 CtlplaneNetworkAttributes:
193219 network:
194220 dns_domain: {{ cloud_domain }}
@@ -199,8 +225,15 @@ parameter_defaults:
199225 subnets:
200226 ctlplane-subnet:
201227 cidr: 192.168.122.0/24
202- dns_nameservers: 192.168.122.10
203- gateway_ip: 192.168.122.10
228+ dns_nameservers: [{{ dns_server }}, 192.168.122.1]
229+ gateway_ip: {{ gateway_ip }}
230+ {% if manage_default_route |bool %}
231+ host_routes:
232+ - ip_netmask: 0.0.0.0/0
233+ next_hop: 192.168.122.1
234+ default: true
235+ {% else %}
204236 host_routes: []
237+ {% endif %}
205238 ip_version: 4
206239 name: ctlplane-subnet
0 commit comments