3030 "type": "whereabouts",
3131 "range": "CHANGEME_SNO_CTLPLANE_CIDR",
3232 "range_start": "CHANGEME_SNO_CTLPLANE_NAD_START",
33- "range_end": "CHANGEME_SNO_CTLPLANE_NAD_END"
33+ "range_end": "CHANGEME_SNO_CTLPLANE_NAD_END",
34+ "routes": [
35+ { "dst": "CHANGEME_EDPM_CTLPLANE_CIDR", "gw": "CHANGEME_SNO_CTLPLANE_GW" },
36+ { "dst": "CHANGEME_EDPM_STORAGE_CIDR", "gw": "CHANGEME_SNO_CTLPLANE_GW" }
37+ ]
3438 }
3539 }, {
3640 "type": "tuning",
5054 gateway : CHANGEME_SNO_CTLPLANE_GW
5155 name : subnet1
5256 vlan : CHANGEME_SNO_CTLPLANE_VLAN
57+ routes :
58+ - destination : CHANGEME_EDPM_CTLPLANE_CIDR
59+ nexthop : CHANGEME_SNO_CTLPLANE_GW
60+ # Pods with only ctlplane attached (e.g. tempest) need this
61+ # to reach Ceph RGW on the remote storage network.
62+ - destination : CHANGEME_EDPM_STORAGE_CIDR
63+ nexthop : CHANGEME_SNO_CTLPLANE_GW
5364 # CHANGEME: site4 EDPM computes -- replace CIDRs/gateway/VLAN
5465 - allocationRanges :
5566 - end : CHANGEME_EDPM_CTLPLANE_END
5869 gateway : CHANGEME_EDPM_CTLPLANE_GW
5970 name : subnet2
6071 vlan : CHANGEME_EDPM_CTLPLANE_VLAN
72+ routes :
73+ - destination : CHANGEME_SNO_CTLPLANE_CIDR
74+ nexthop : CHANGEME_EDPM_CTLPLANE_GW
6175 datacentre :
6276 net-attach-def : |
6377 {
@@ -126,7 +140,10 @@ data:
126140 "type": "whereabouts",
127141 "range": "CHANGEME_SNO_INTAPI_CIDR",
128142 "range_start": "CHANGEME_SNO_INTAPI_NAD_START",
129- "range_end": "CHANGEME_SNO_INTAPI_NAD_END"
143+ "range_end": "CHANGEME_SNO_INTAPI_NAD_END",
144+ "routes": [
145+ { "dst": "CHANGEME_EDPM_INTAPI_CIDR", "gw": "CHANGEME_SNO_INTAPI_GW" }
146+ ]
130147 }
131148 }, {
132149 "type": "tuning",
@@ -141,15 +158,23 @@ data:
141158 - end : CHANGEME_SNO_INTAPI_END
142159 start : CHANGEME_SNO_INTAPI_START
143160 cidr : CHANGEME_SNO_INTAPI_CIDR
161+ gateway : CHANGEME_SNO_INTAPI_GW
144162 name : subnet1
145163 vlan : CHANGEME_SNO_INTAPI_VLAN
164+ routes :
165+ - destination : CHANGEME_EDPM_INTAPI_CIDR
166+ nexthop : CHANGEME_SNO_INTAPI_GW
146167 # CHANGEME: site4 internalapi subnet
147168 - allocationRanges :
148169 - end : CHANGEME_EDPM_INTAPI_END
149170 start : CHANGEME_EDPM_INTAPI_START
150171 cidr : CHANGEME_EDPM_INTAPI_CIDR
172+ gateway : CHANGEME_EDPM_INTAPI_GW
151173 name : subnet2
152174 vlan : CHANGEME_EDPM_INTAPI_VLAN
175+ routes :
176+ - destination : CHANGEME_SNO_INTAPI_CIDR
177+ nexthop : CHANGEME_EDPM_INTAPI_GW
153178 vlan : CHANGEME_SNO_INTAPI_VLAN
154179 lbServiceType : LoadBalancer
155180 # SNO: single OCP node only
@@ -183,7 +208,24 @@ data:
183208 metallb.universe.tf/address-pool : internalapi
184209 metallb.universe.tf/loadBalancerIPs : CHANGEME_SNO_RABBITMQ_CELL1_IP
185210 routes :
186- config : []
211+ config :
212+ # CHANGEME: host-level routes for cross-site reachability (EDPM subnet2)
213+ - destination : CHANGEME_EDPM_CTLPLANE_CIDR
214+ next-hop-address : CHANGEME_SNO_CTLPLANE_GW
215+ next-hop-interface : ospbr
216+ table-id : 254
217+ - destination : CHANGEME_EDPM_INTAPI_CIDR
218+ next-hop-address : CHANGEME_SNO_INTAPI_GW
219+ next-hop-interface : internalapi
220+ table-id : 254
221+ - destination : CHANGEME_EDPM_STORAGE_CIDR
222+ next-hop-address : CHANGEME_SNO_STORAGE_GW
223+ next-hop-interface : storage
224+ table-id : 254
225+ - destination : CHANGEME_EDPM_TENANT_CIDR
226+ next-hop-address : CHANGEME_SNO_TENANT_GW
227+ next-hop-interface : tenant
228+ table-id : 254
187229 storage :
188230 base_iface : CHANGEME_SNO_IFACE
189231 dnsDomain : storage.example.com
@@ -206,7 +248,10 @@ data:
206248 "type": "whereabouts",
207249 "range": "CHANGEME_SNO_STORAGE_CIDR",
208250 "range_start": "CHANGEME_SNO_STORAGE_NAD_START",
209- "range_end": "CHANGEME_SNO_STORAGE_NAD_END"
251+ "range_end": "CHANGEME_SNO_STORAGE_NAD_END",
252+ "routes": [
253+ { "dst": "CHANGEME_EDPM_STORAGE_CIDR", "gw": "CHANGEME_SNO_STORAGE_GW" }
254+ ]
210255 }
211256 }, {
212257 "type": "tuning",
@@ -221,20 +266,32 @@ data:
221266 - end : CHANGEME_SNO_STORAGE_END
222267 start : CHANGEME_SNO_STORAGE_START
223268 cidr : CHANGEME_SNO_STORAGE_CIDR
269+ gateway : CHANGEME_SNO_STORAGE_GW
224270 name : subnet1
225271 vlan : CHANGEME_SNO_STORAGE_VLAN
272+ routes :
273+ - destination : CHANGEME_EDPM_STORAGE_CIDR
274+ nexthop : CHANGEME_SNO_STORAGE_GW
226275 # CHANGEME: site4 storage subnet
227276 - allocationRanges :
228277 - end : CHANGEME_EDPM_STORAGE_END
229278 start : CHANGEME_EDPM_STORAGE_START
230279 cidr : CHANGEME_EDPM_STORAGE_CIDR
280+ gateway : CHANGEME_EDPM_STORAGE_GW
231281 name : subnet2
232282 vlan : CHANGEME_EDPM_STORAGE_VLAN
283+ routes :
284+ - destination : CHANGEME_SNO_STORAGE_CIDR
285+ nexthop : CHANGEME_EDPM_STORAGE_GW
233286 vlan : CHANGEME_SNO_STORAGE_VLAN
234287 storageClass : lvms-local-storage
235288 storagemgmt :
236289 base_iface : CHANGEME_SNO_IFACE
237290 dnsDomain : storagemgmt.example.com
291+ endpoint_annotations :
292+ metallb.universe.tf/address-pool : storagemgmt
293+ metallb.universe.tf/allow-shared-ip : storagemgmt
294+ metallb.universe.tf/loadBalancerIPs : CHANGEME_SNO_STGMGMT_LB_IP
238295 iface : storagemgmt
239296 lb_addresses :
240297 - CHANGEME_SNO_STGMGMT_LB_START-CHANGEME_SNO_STGMGMT_LB_END
@@ -250,7 +307,10 @@ data:
250307 "type": "whereabouts",
251308 "range": "CHANGEME_SNO_STGMGMT_CIDR",
252309 "range_start": "CHANGEME_SNO_STGMGMT_NAD_START",
253- "range_end": "CHANGEME_SNO_STGMGMT_NAD_END"
310+ "range_end": "CHANGEME_SNO_STGMGMT_NAD_END",
311+ "routes": [
312+ { "dst": "CHANGEME_EDPM_STGMGMT_CIDR", "gw": "CHANGEME_SNO_STGMGMT_GW" }
313+ ]
254314 }
255315 }, {
256316 "type": "tuning",
@@ -265,15 +325,23 @@ data:
265325 - end : CHANGEME_SNO_STGMGMT_END
266326 start : CHANGEME_SNO_STGMGMT_START
267327 cidr : CHANGEME_SNO_STGMGMT_CIDR
328+ gateway : CHANGEME_SNO_STGMGMT_GW
268329 name : subnet1
269330 vlan : CHANGEME_SNO_STGMGMT_VLAN
331+ routes :
332+ - destination : CHANGEME_EDPM_STGMGMT_CIDR
333+ nexthop : CHANGEME_SNO_STGMGMT_GW
270334 # CHANGEME: site4 storagemgmt subnet
271335 - allocationRanges :
272336 - end : CHANGEME_EDPM_STGMGMT_END
273337 start : CHANGEME_EDPM_STGMGMT_START
274338 cidr : CHANGEME_EDPM_STGMGMT_CIDR
339+ gateway : CHANGEME_EDPM_STGMGMT_GW
275340 name : subnet2
276341 vlan : CHANGEME_EDPM_STGMGMT_VLAN
342+ routes :
343+ - destination : CHANGEME_SNO_STGMGMT_CIDR
344+ nexthop : CHANGEME_EDPM_STGMGMT_GW
277345 vlan : CHANGEME_SNO_STGMGMT_VLAN
278346 tenant :
279347 base_iface : CHANGEME_SNO_IFACE
@@ -297,7 +365,10 @@ data:
297365 "type": "whereabouts",
298366 "range": "CHANGEME_SNO_TENANT_CIDR",
299367 "range_start": "CHANGEME_SNO_TENANT_NAD_START",
300- "range_end": "CHANGEME_SNO_TENANT_NAD_END"
368+ "range_end": "CHANGEME_SNO_TENANT_NAD_END",
369+ "routes": [
370+ { "dst": "CHANGEME_EDPM_TENANT_CIDR", "gw": "CHANGEME_SNO_TENANT_GW" }
371+ ]
301372 }
302373 }, {
303374 "type": "tuning",
@@ -312,15 +383,23 @@ data:
312383 - end : CHANGEME_SNO_TENANT_END
313384 start : CHANGEME_SNO_TENANT_START
314385 cidr : CHANGEME_SNO_TENANT_CIDR
386+ gateway : CHANGEME_SNO_TENANT_GW
315387 name : subnet1
316388 vlan : CHANGEME_SNO_TENANT_VLAN
389+ routes :
390+ - destination : CHANGEME_EDPM_TENANT_CIDR
391+ nexthop : CHANGEME_SNO_TENANT_GW
317392 # CHANGEME: site4 tenant subnet
318393 - allocationRanges :
319394 - end : CHANGEME_EDPM_TENANT_END
320395 start : CHANGEME_EDPM_TENANT_START
321396 cidr : CHANGEME_EDPM_TENANT_CIDR
397+ gateway : CHANGEME_EDPM_TENANT_GW
322398 name : subnet2
323399 vlan : CHANGEME_EDPM_TENANT_VLAN
400+ routes :
401+ - destination : CHANGEME_SNO_TENANT_CIDR
402+ nexthop : CHANGEME_EDPM_TENANT_GW
324403 vlan : CHANGEME_SNO_TENANT_VLAN
325404
326405kind : ConfigMap
0 commit comments