Skip to content

Commit 2fb2ee8

Browse files
committed
bgp_dr01: Fix NH for worker nodes
There was a typo where next-hops were set as addresses of BGP peer interfaces connecting to the first compute node. This patch makes the static routes for the OCP nodes being their BGP peer. Resolves: OSPRH-18441 Signed-off-by: Jakub Libosvar <[email protected]>
1 parent feaa133 commit 2fb2ee8

File tree

1 file changed

+26
-26
lines changed
  • examples/dt/bgp_dt01/control-plane/networking/nncp

1 file changed

+26
-26
lines changed

examples/dt/bgp_dt01/control-plane/networking/nncp/values.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ data:
2525
routes:
2626
config:
2727
- destination: 99.99.0.0/16
28-
next-hop-address: 100.64.0.1
28+
next-hop-address: 100.64.0.9
2929
next-hop-interface: enp7s0
3030
- destination: 99.99.0.0/16
31-
next-hop-address: 100.65.0.1
31+
next-hop-address: 100.65.0.9
3232
next-hop-interface: enp8s0
3333
node_1:
3434
name: master-1
@@ -47,10 +47,10 @@ data:
4747
routes:
4848
config:
4949
- destination: 99.99.0.0/16
50-
next-hop-address: 100.64.1.1
50+
next-hop-address: 100.64.1.9
5151
next-hop-interface: enp7s0
5252
- destination: 99.99.0.0/16
53-
next-hop-address: 100.65.1.1
53+
next-hop-address: 100.65.1.9
5454
next-hop-interface: enp8s0
5555
node_2:
5656
name: master-2
@@ -69,10 +69,10 @@ data:
6969
routes:
7070
config:
7171
- destination: 99.99.0.0/16
72-
next-hop-address: 100.64.2.1
72+
next-hop-address: 100.64.2.9
7373
next-hop-interface: enp7s0
7474
- destination: 99.99.0.0/16
75-
next-hop-address: 100.65.2.1
75+
next-hop-address: 100.65.2.9
7676
next-hop-interface: enp8s0
7777
node_3:
7878
name: worker-0
@@ -84,17 +84,17 @@ data:
8484
- 100.64.0.14
8585
- 100.65.0.14
8686
bgp_peers:
87-
- 100.64.0.12
88-
- 100.65.0.12
87+
- 100.64.0.13
88+
- 100.65.0.13
8989
loopback_ip: 99.99.0.4
9090
loopback_ipv6: f00d:f00d:f00d:f00d:f00d:f00d:f00d:14
9191
routes:
9292
config:
9393
- destination: 99.99.0.0/16
94-
next-hop-address: 100.64.0.1
94+
next-hop-address: 100.64.0.13
9595
next-hop-interface: enp7s0
9696
- destination: 99.99.0.0/16
97-
next-hop-address: 100.65.0.1
97+
next-hop-address: 100.65.0.13
9898
next-hop-interface: enp8s0
9999
node_4:
100100
name: worker-1
@@ -113,10 +113,10 @@ data:
113113
routes:
114114
config:
115115
- destination: 99.99.0.0/16
116-
next-hop-address: 100.64.1.1
116+
next-hop-address: 100.64.1.13
117117
next-hop-interface: enp7s0
118118
- destination: 99.99.0.0/16
119-
next-hop-address: 100.65.1.1
119+
next-hop-address: 100.65.1.13
120120
next-hop-interface: enp8s0
121121
node_5:
122122
name: worker-2
@@ -135,10 +135,10 @@ data:
135135
routes:
136136
config:
137137
- destination: 99.99.0.0/16
138-
next-hop-address: 100.64.2.1
138+
next-hop-address: 100.64.2.13
139139
next-hop-interface: enp7s0
140140
- destination: 99.99.0.0/16
141-
next-hop-address: 100.65.2.1
141+
next-hop-address: 100.65.2.13
142142
next-hop-interface: enp8s0
143143
node_6:
144144
name: worker-3
@@ -552,10 +552,10 @@ data:
552552
routes:
553553
config:
554554
- destination: 99.99.0.0/16
555-
next-hop-address: 100.64.0.1
555+
next-hop-address: 100.64.0.9
556556
next-hop-interface: enp7s0
557557
- destination: 99.99.0.0/16
558-
next-hop-address: 100.65.0.1
558+
next-hop-address: 100.65.0.9
559559
next-hop-interface: enp8s0
560560
node1:
561561
bgpnet0:
@@ -567,10 +567,10 @@ data:
567567
routes:
568568
config:
569569
- destination: 99.99.0.0/16
570-
next-hop-address: 100.64.1.1
570+
next-hop-address: 100.64.1.9
571571
next-hop-interface: enp7s0
572572
- destination: 99.99.0.0/16
573-
next-hop-address: 100.65.1.1
573+
next-hop-address: 100.65.1.9
574574
next-hop-interface: enp8s0
575575
node2:
576576
bgpnet0:
@@ -582,10 +582,10 @@ data:
582582
routes:
583583
config:
584584
- destination: 99.99.0.0/16
585-
next-hop-address: 100.64.2.1
585+
next-hop-address: 100.64.2.9
586586
next-hop-interface: enp7s0
587587
- destination: 99.99.0.0/16
588-
next-hop-address: 100.65.2.1
588+
next-hop-address: 100.65.2.9
589589
next-hop-interface: enp8s0
590590
node3:
591591
bgpnet0:
@@ -597,10 +597,10 @@ data:
597597
routes:
598598
config:
599599
- destination: 99.99.0.0/16
600-
next-hop-address: 100.64.0.1
600+
next-hop-address: 100.64.0.13
601601
next-hop-interface: enp7s0
602602
- destination: 99.99.0.0/16
603-
next-hop-address: 100.65.0.1
603+
next-hop-address: 100.65.0.13
604604
next-hop-interface: enp8s0
605605
node4:
606606
bgpnet0:
@@ -612,10 +612,10 @@ data:
612612
routes:
613613
config:
614614
- destination: 99.99.0.0/16
615-
next-hop-address: 100.64.1.1
615+
next-hop-address: 100.64.1.13
616616
next-hop-interface: enp7s0
617617
- destination: 99.99.0.0/16
618-
next-hop-address: 100.65.1.1
618+
next-hop-address: 100.65.1.13
619619
next-hop-interface: enp8s0
620620
node5:
621621
bgpnet0:
@@ -627,10 +627,10 @@ data:
627627
routes:
628628
config:
629629
- destination: 99.99.0.0/16
630-
next-hop-address: 100.64.2.1
630+
next-hop-address: 100.64.2.13
631631
next-hop-interface: enp7s0
632632
- destination: 99.99.0.0/16
633-
next-hop-address: 100.65.2.1
633+
next-hop-address: 100.65.2.13
634634
next-hop-interface: enp8s0
635635
node6:
636636
bgpnet0:

0 commit comments

Comments
 (0)