diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-04-16 11:50:47 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-05-14 16:49:49 +0200 |
commit | dcffea69124be68de2f87afbb656ba7e0ad8cdee (patch) | |
tree | d2594c5ffff8b265d0d7dee12b64cbc1bc9fcfe9 /lib/bfd.h | |
parent | bfdd, lib, bgpd: add bfd cbit usage (diff) | |
download | frr-dcffea69124be68de2f87afbb656ba7e0ad8cdee.tar.xz frr-dcffea69124be68de2f87afbb656ba7e0ad8cdee.zip |
bgpd: add vty command to enable bfd control-plane-check-failure
new vty command is added:
neighbor XXX bfd check-control-plane-failure
this command will enforce the check of bgp controlplane, when bfd
detects changes in the dataplane.
- at configuration, the cbit will be set if that command is executed
- at flapping time, if the command is configured and remote cbit is set
accordingly, then the bfd event will be ignored.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/bfd.h')
-rw-r--r-- | lib/bfd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ struct bfd_gbl { #define BFD_FLAG_BFD_REG (1 << 1) /* Peer registered with BFD */ #define BFD_FLAG_BFD_TYPE_MULTIHOP (1 << 2) /* Peer registered with BFD as multihop */ #define BFD_FLAG_BFD_CBIT_ON (1 << 3) /* Peer registered with CBIT set to on */ +#define BFD_FLAG_BFD_CHECK_CONTROLPLANE (1 << 4) /* BFD and controlplane daemon are linked */ #define BFD_STATUS_UNKNOWN (1 << 0) /* BFD session status never received */ #define BFD_STATUS_DOWN (1 << 1) /* BFD session status is down */ |