diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-02-28 14:11:30 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-05-09 21:00:57 +0200 |
commit | 855dcbf15898ce6b40bdf31902970d65ac801f56 (patch) | |
tree | 2d186250a85488f17056b40052cedf0afc7af98f /bgpd/bgp_labelpool.h | |
parent | bgpd: add vty command to select label allocation per nexthop (diff) | |
download | frr-855dcbf15898ce6b40bdf31902970d65ac801f56.tar.xz frr-855dcbf15898ce6b40bdf31902970d65ac801f56.zip |
bgpd: introduce LP_TYPE_NEXTHOP label type
A new label type is introduced: LP_TYPE_NEXTHOP. This new
label type will be used in next commits to allocate labels
for a specific nexthop IP address.
The commit changes add vty and json outputs to display
the new label type and the label values associated.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_labelpool.h')
-rw-r--r-- | bgpd/bgp_labelpool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_labelpool.h b/bgpd/bgp_labelpool.h index 9526cba0c..649195498 100644 --- a/bgpd/bgp_labelpool.h +++ b/bgpd/bgp_labelpool.h @@ -17,6 +17,7 @@ */ #define LP_TYPE_VRF 0x00000001 #define LP_TYPE_BGP_LU 0x00000002 +#define LP_TYPE_NEXTHOP 0x00000003 PREDECL_LIST(lp_fifo); |