2323 loopback_ip : 99.99.0.3
2424 loopback_ipv6 : f00d:f00d:f00d:f00d:f00d:f00d:f00d:13
2525 routes :
26- config :
27- - destination : 99.99.0.0/16
28- next-hop-address : 100.64.0.9
29- next-hop-interface : enp7s0
30- - destination : 99.99.0.0/16
31- next-hop-address : 100.65.0.9
32- next-hop-interface : enp8s0
26+ config : []
3327 node_1 :
3428 name : master-1
3529 internalapi_ip : 172.17.0.6
4539 loopback_ip : 99.99.1.3
4640 loopback_ipv6 : f00d:f00d:f00d:f00d:f00d:f00d:f00d:23
4741 routes :
48- config :
49- - destination : 99.99.0.0/16
50- next-hop-address : 100.64.1.9
51- next-hop-interface : enp7s0
52- - destination : 99.99.0.0/16
53- next-hop-address : 100.65.1.9
54- next-hop-interface : enp8s0
42+ config : []
5543 node_2 :
5644 name : master-2
5745 internalapi_ip : 172.17.0.7
6755 loopback_ip : 99.99.2.3
6856 loopback_ipv6 : f00d:f00d:f00d:f00d:f00d:f00d:f00d:33
6957 routes :
70- config :
71- - destination : 99.99.0.0/16
72- next-hop-address : 100.64.2.9
73- next-hop-interface : enp7s0
74- - destination : 99.99.0.0/16
75- next-hop-address : 100.65.2.9
76- next-hop-interface : enp8s0
58+ config : []
7759 node_3 :
7860 name : worker-0
7961 internalapi_ip : 172.17.0.8
9678 - destination : 99.99.0.0/16
9779 next-hop-address : 100.65.0.13
9880 next-hop-interface : enp8s0
81+ # routes to octavia mgmt network
82+ - destination : 172.24.0.0/16
83+ next-hop-address : 100.64.0.13
84+ next-hop-interface : enp7s0
85+ - destination : 172.24.0.0/16
86+ next-hop-address : 100.65.0.13
87+ next-hop-interface : enp8s0
9988 node_4 :
10089 name : worker-1
10190 internalapi_ip : 172.17.0.9
@@ -118,6 +107,13 @@ data:
118107 - destination : 99.99.0.0/16
119108 next-hop-address : 100.65.1.13
120109 next-hop-interface : enp8s0
110+ # routes to octavia mgmt network
111+ - destination : 172.24.0.0/16
112+ next-hop-address : 100.64.1.13
113+ next-hop-interface : enp7s0
114+ - destination : 172.24.0.0/16
115+ next-hop-address : 100.65.1.13
116+ next-hop-interface : enp8s0
121117 node_5 :
122118 name : worker-2
123119 internalapi_ip : 172.17.0.10
@@ -140,6 +136,13 @@ data:
140136 - destination : 99.99.0.0/16
141137 next-hop-address : 100.65.2.13
142138 next-hop-interface : enp8s0
139+ # routes to octavia mgmt network
140+ - destination : 172.24.0.0/16
141+ next-hop-address : 100.64.2.13
142+ next-hop-interface : enp7s0
143+ - destination : 172.24.0.0/16
144+ next-hop-address : 100.65.2.13
145+ next-hop-interface : enp8s0
143146 node_6 :
144147 name : worker-3
145148 internalapi_ip : 172.17.0.11
@@ -158,6 +161,10 @@ data:
158161 - destination : 192.168.133.0/24
159162 next-hop-address : 100.64.10.1
160163 next-hop-interface : enp7s0
164+ # routes to octavia mgmt network
165+ - destination : 172.24.0.0/16
166+ next-hop-address : 100.64.10.1
167+ next-hop-interface : enp7s0
161168
162169 # networks
163170 ctlplane :
@@ -336,6 +343,13 @@ data:
336343 }
337344 octavia :
338345 dnsDomain : octavia.openstack.lab
346+ subnets :
347+ - allocationRanges :
348+ - end : 172.23.0.250
349+ start : 172.23.0.100
350+ cidr : 172.23.0.0/24
351+ name : subnet1
352+ vlan : 23
339353 mtu : 1500
340354 vlan : 23
341355 base_iface : enp6s0
@@ -344,18 +358,22 @@ data:
344358 "cniVersion": "0.3.1",
345359 "name": "octavia",
346360 "type": "bridge",
347- "bridge": "octbr",
361+ "isDefaultGateway": true,
362+ "isGateway": true,
363+ "forceAddress": false,
364+ "ipMasq": false,
365+ "hairpinMode": true,
366+ "bridge": "octavia",
348367 "ipam": {
349368 "type": "whereabouts",
350369 "range": "172.23.0.0/24",
370+ "routes": [{
371+ "dst": "172.24.0.0/16",
372+ "gw": "172.23.0.1"
373+ }],
351374 "range_start": "172.23.0.30",
352375 "range_end": "172.23.0.70",
353- "routes": [
354- {
355- "dst": "172.24.0.0/16",
356- "gw": "172.23.0.150"
357- }
358- ]
376+ "gateway": "172.23.0.1"
359377 }
360378 }
361379
@@ -486,13 +504,7 @@ data:
486504 bgp_peer : 100.65.0.9
487505 bgp_ip : 100.65.0.10
488506 routes :
489- config :
490- - destination : 99.99.0.0/16
491- next-hop-address : 100.64.0.9
492- next-hop-interface : enp7s0
493- - destination : 99.99.0.0/16
494- next-hop-address : 100.65.0.9
495- next-hop-interface : enp8s0
507+ config : []
496508 node1 :
497509 bgpnet0 :
498510 bgp_peer : 100.64.1.9
@@ -501,13 +513,7 @@ data:
501513 bgp_peer : 100.65.1.9
502514 bgp_ip : 100.65.1.10
503515 routes :
504- config :
505- - destination : 99.99.0.0/16
506- next-hop-address : 100.64.1.9
507- next-hop-interface : enp7s0
508- - destination : 99.99.0.0/16
509- next-hop-address : 100.65.1.9
510- next-hop-interface : enp8s0
516+ config : []
511517 node2 :
512518 bgpnet0 :
513519 bgp_peer : 100.64.2.9
@@ -516,13 +522,7 @@ data:
516522 bgp_peer : 100.65.2.9
517523 bgp_ip : 100.65.2.10
518524 routes :
519- config :
520- - destination : 99.99.0.0/16
521- next-hop-address : 100.64.2.9
522- next-hop-interface : enp7s0
523- - destination : 99.99.0.0/16
524- next-hop-address : 100.65.2.9
525- next-hop-interface : enp8s0
525+ config : []
526526 node3 :
527527 bgpnet0 :
528528 bgp_peer : 100.64.0.13
@@ -538,6 +538,13 @@ data:
538538 - destination : 99.99.0.0/16
539539 next-hop-address : 100.65.0.13
540540 next-hop-interface : enp8s0
541+ # routes to octavia mgmt network
542+ - destination : 172.24.0.0/16
543+ next-hop-address : 100.64.0.13
544+ next-hop-interface : enp7s0
545+ - destination : 172.24.0.0/16
546+ next-hop-address : 100.65.0.13
547+ next-hop-interface : enp8s0
541548 node4 :
542549 bgpnet0 :
543550 bgp_peer : 100.64.1.13
@@ -553,6 +560,13 @@ data:
553560 - destination : 99.99.0.0/16
554561 next-hop-address : 100.65.1.13
555562 next-hop-interface : enp8s0
563+ # routes to octavia mgmt network
564+ - destination : 172.24.0.0/16
565+ next-hop-address : 100.64.1.13
566+ next-hop-interface : enp7s0
567+ - destination : 172.24.0.0/16
568+ next-hop-address : 100.65.1.13
569+ next-hop-interface : enp8s0
556570 node5 :
557571 bgpnet0 :
558572 bgp_peer : 100.64.2.13
@@ -568,6 +582,13 @@ data:
568582 - destination : 99.99.0.0/16
569583 next-hop-address : 100.65.2.13
570584 next-hop-interface : enp8s0
585+ # routes to octavia mgmt network
586+ - destination : 172.24.0.0/16
587+ next-hop-address : 100.64.2.13
588+ next-hop-interface : enp7s0
589+ - destination : 172.24.0.0/16
590+ next-hop-address : 100.65.2.13
591+ next-hop-interface : enp8s0
571592 node6 :
572593 bgpnet0 :
573594 bgp_peer : 100.64.10.1
@@ -577,6 +598,10 @@ data:
577598 - destination : 192.168.133.0/24
578599 next-hop-address : 100.64.10.1
579600 next-hop-interface : enp7s0
601+ # routes to octavia mgmt network
602+ - destination : 172.24.0.0/16
603+ next-hop-address : 100.64.10.1
604+ next-hop-interface : enp7s0
580605 net-attach-def :
581606 node6 : |
582607 {
@@ -592,6 +617,9 @@ data:
592617 "routes": [{
593618 "dst": "192.168.133.0/24",
594619 "gw": "100.64.10.1"
620+ }, {
621+ "dst": "172.24.0.0/16",
622+ "gw": "100.64.10.1"
595623 }]
596624 }
597625 }
0 commit comments