diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-05 18:09:57 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-29 09:20:01 +0200 |
commit | b98f77282b83f519f2134661d43b845fd69d5f60 (patch) | |
tree | 5143fcd91116bfd8600895b73df74460d11327eb /lib/zebra.h | |
parent | zebra: add the handling of table ids from remote daemons (diff) | |
download | frr-b98f77282b83f519f2134661d43b845fd69d5f60.tar.xz frr-b98f77282b83f519f2134661d43b845fd69d5f60.zip |
bgpd: add API to allocate a range of table identifiers
In BGP, doing policy-routing requires to use table identifiers.
Flowspec protocol will need to have that. 1 API from bgp zebra has been
done to get the table chunk.
Internally, onec flowspec is enabled, the BGP engine will try to
connect smoothly to the table manager. If zebra is not connected, it
will try to connect 10 seconds later. If zebra is connected, and it is
success, then a polling mechanism each 60 seconds is put in place. All
the internal mechanism has no impact on the BGP process.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index ec530397b..388760223 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -433,7 +433,8 @@ typedef enum { SAFI_ENCAP = 4, SAFI_EVPN = 5, SAFI_LABELED_UNICAST = 6, - SAFI_MAX = 7 + SAFI_FLOWSPEC = 7, + SAFI_MAX = 8 } safi_t; /* |