Skip to content

Commit 8800638

Browse files
committed
[BGP-IPv6] Use metrics instead of weights for IPv6 routes
nmstate does not support ECPM with IPv6: NmstateError: NotSupportedError: IPv6 ECMP route with weight is not supported yet
1 parent 2d77afd commit 8800638

File tree

1 file changed

+12
-12
lines changed
  • examples/dt/bgp_dt04_ipv6/control-plane/networking/nncp

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ data:
2727
- destination: f00d:f00d:f00d:f00d:99:99:0:0/96
2828
next-hop-address: "2620:cf::100:64:0:9"
2929
next-hop-interface: enp8s0
30-
weight: 200
30+
metric: 200
3131
- destination: f00d:f00d:f00d:f00d:99:99:0:0/96
3232
next-hop-address: "2620:cf::100:65:0:9"
3333
next-hop-interface: enp9s0
34-
weight: 200
34+
metric: 201
3535
node_4:
3636
name: worker-1
3737
internalapi_ip: "2620:cf:cf:bbbb::11"
@@ -51,11 +51,11 @@ data:
5151
- destination: f00d:f00d:f00d:f00d:99:99:0:0/96
5252
next-hop-address: "2620:cf::100:64:1:9"
5353
next-hop-interface: enp8s0
54-
weight: 200
54+
metric: 200
5555
- destination: f00d:f00d:f00d:f00d:99:99:0:0/96
5656
next-hop-address: "2620:cf::100:65:1:9"
5757
next-hop-interface: enp9s0
58-
weight: 200
58+
metric: 201
5959
node_5:
6060
name: worker-2
6161
internalapi_ip: "2620:cf:cf:bbbb::12"
@@ -75,11 +75,11 @@ data:
7575
- destination: f00d:f00d:f00d:f00d:99:99:0:0/96
7676
next-hop-address: "2620:cf::100:64:2:9"
7777
next-hop-interface: enp8s0
78-
weight: 200
78+
metric: 200
7979
- destination: f00d:f00d:f00d:f00d:99:99:0:0/96
8080
next-hop-address: "2620:cf::100:65:2:9"
8181
next-hop-interface: enp9s0
82-
weight: 200
82+
metric: 201
8383
node_6:
8484
name: worker-3
8585
node_name: worker-3
@@ -489,11 +489,11 @@ data:
489489
- destination: "f00d:f00d:f00d:f00d:99:99:0:0/96"
490490
next-hop-address: "2620:cf::100:64:0:9"
491491
next-hop-interface: enp8s0
492-
weight: 200
492+
metric: 200
493493
- destination: "f00d:f00d:f00d:f00d:99:99:0:0/96"
494494
next-hop-address: "2620:cf::100:65:0:9"
495495
next-hop-interface: enp9s0
496-
weight: 200
496+
metric: 201
497497
- destination: "2620:cf:cf:aaaa::0/64"
498498
next-hop-address: "2620:cf:cf:aaad::1"
499499
next-hop-interface: enp7s0
@@ -515,11 +515,11 @@ data:
515515
- destination: "f00d:f00d:f00d:f00d:99:99:0:0/96"
516516
next-hop-address: "2620:cf::100:64:1:9"
517517
next-hop-interface: enp8s0
518-
weight: 200
518+
metric: 200
519519
- destination: "f00d:f00d:f00d:f00d:99:99:0:0/96"
520520
next-hop-address: "2620:cf::100:65:1:9"
521521
next-hop-interface: enp9s0
522-
weight: 200
522+
metric: 201
523523
- destination: "2620:cf:cf:aaaa::0/64"
524524
next-hop-address: "2620:cf:cf:aaad::1"
525525
next-hop-interface: enp7s0
@@ -541,11 +541,11 @@ data:
541541
- destination: "f00d:f00d:f00d:f00d:99:99:0:0/96"
542542
next-hop-address: "2620:cf::100:64:2:9"
543543
next-hop-interface: enp8s0
544-
weight: 200
544+
metric: 200
545545
- destination: "f00d:f00d:f00d:f00d:99:99:0:0/96"
546546
next-hop-address: "2620:cf::100:65:2:9"
547547
next-hop-interface: enp9s0
548-
weight: 200
548+
metric: 201
549549
- destination: "2620:cf:cf:aaaa::0/64"
550550
next-hop-address: "2620:cf:cf:aaad::1"
551551
next-hop-interface: enp7s0

0 commit comments

Comments
 (0)