summaryrefslogtreecommitdiff
path: root/bgpd/bgp_labelpool.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-02-15 21:03:19 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-03-22 12:06:29 +0100
commitbbae0bb0422ebce9b7704cdaebff616d67d404fe (patch)
treeffa65d8ae83f5578df8118437e43d96044e32aa6 /bgpd/bgp_labelpool.c
parentf081a1924c97837677aaa97c54aff61cb0f7f26d (diff)
bgpd: add vty command to select label allocation per nexthop
A new VTY command is introduced in ipv4 unicast and ipv6 unicast address family, under a BGP instance. > r1# label vpn export allocation-mode per-nexthop|per-vrf This command will update the label values associated for each BGP update to export to the global instance. Two modes are available: per-nexthop and per-vrf. The latter is the default one. With this commit only, configuring label allocation per nexthop will only reset the BGP updates, and the per-vrf mode label allocation will be chosen. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_labelpool.c')
0 files changed, 0 insertions, 0 deletions