Commit cca8e2e
committed
frr: add basic multipath support
Using the new nexthop type group, allow multiple nexthop
as a gateway from frr.
The following zebra conf:
!
ip route 192.168.1.20/32 cv0
ip route 192.168.1.20/32 192.168.210.3
ip route 192.168.1.20/32 192.168.210.254
!
translates into these rib nexthops:
ID: 35 (zebra)
RefCnt: 2
Uptime: 00:00:07
VRF: default(No AFI)
Nexthop Count: 3
Valid, Installed
Depends: (20) (24) (30)
is directly connected, cv0 (vrf default), weight 1
via 192.168.210.3, cv0 (vrf default), weight 1
via 192.168.210.254, cv0 (vrf default), weight 1
With grout displays the proper NHs:
grout# nexthop type group
VRF ID ORIGIN IFACE TYPE INFO
0 35 user group id(20/1) id(24/1) id(30/1)
Signed-off-by: Christophe Fontaine <[email protected]>1 parent e489879 commit cca8e2e
1 file changed
+47
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
292 | 298 | | |
293 | 299 | | |
294 | 300 | | |
| |||
572 | 578 | | |
573 | 579 | | |
574 | 580 | | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
575 | 619 | | |
576 | 620 | | |
577 | 621 | | |
578 | 622 | | |
579 | 623 | | |
580 | | - | |
581 | 624 | | |
582 | 625 | | |
583 | 626 | | |
| |||
762 | 805 | | |
763 | 806 | | |
764 | 807 | | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | 808 | | |
772 | 809 | | |
773 | 810 | | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
774 | 814 | | |
775 | 815 | | |
776 | 816 | | |
| |||
0 commit comments