]> git.ipfire.org Git - thirdparty/iproute2.git/commit
nexthop: Add support for resilient nexthop groups
authorIdo Schimmel <idosch@nvidia.com>
Wed, 17 Mar 2021 12:54:34 +0000 (13:54 +0100)
committerDavid Ahern <dsahern@kernel.org>
Fri, 19 Mar 2021 15:01:18 +0000 (15:01 +0000)
commit91676718228b087b2742cd733cde43c5614b4c24
tree7a5d517fd48898d2ee6c7daea16a52bea9641f96
parentb82d6b81fa84c85dc45e738c45fdb6ab09041b7d
nexthop: Add support for resilient nexthop groups

Add ability to configure resilient nexthop groups and show their current
configuration. Example:

 # ip nexthop add id 10 group 1/2 type resilient buckets 8
 # ip nexthop show id 10
 id 10 group 1/2 type resilient buckets 8 idle_timer 120 unbalanced_timer 0
 # ip -j -p nexthop show id 10
 [ {
         "id": 10,
         "group": [ {
                 "id": 1
             },{
                 "id": 2
             } ],
         "type": "resilient",
         "resilient_args": {
             "buckets": 8,
             "idle_timer": 120,
             "unbalanced_timer": 0
         },
         "flags": [ ]
     } ]

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ipnexthop.c
man/man8/ip-nexthop.8