diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-07-22 21:35:37 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-07-22 21:35:37 +0200 |
commit | 7f342629a9eae034138fd542734fe2e6eca8085d (patch) | |
tree | e11971e7ac8a8d76ee978dd19691efe64570ebc1 /ospf6d/ospf6_interface.h | |
parent | When IPv6 peer BFD down status is received by BGP, all the the peers for whic... (diff) | |
download | frr-7f342629a9eae034138fd542734fe2e6eca8085d.tar.xz frr-7f342629a9eae034138fd542734fe2e6eca8085d.zip |
This patch changes ospfd from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering neighbors discovered on BFD enabled interfaces with PTM/BFD through zebra. Neighbor is registered with BFD when 2-way adjacency is established and deregistered when adjacency goes down if the BFD is enabled on the interface through which the neighbor was discovered.
OSPF BFD command enhancement to configure BFD parameters (detect multiplier, min rx and min tx).
interface <if-name>
ip ospf bfd <detect mult> <min rx> <min tx>
This patch also adds BFD support for IPv6 OSPF. ospf6d will dynamically register/deregister IPv6 neighbors with BFD for monitoring the connectivity of the neighbor. Neighbor is registered with BFD when 2-way adjacency is established and deregistered when adjacency goes down if the BFD is enabled on the interface through which the neighbor was discovered.
OSPF6 BFD command added to configure BFD and parameters (detect multiplier, min rx and min tx).
interface <if-name>
ipv6 ospf6 bfd <detect mult> <min rx> <min tx>
Signed-off-by: Radhika Mahankali <radhika@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Kanna Rajagopal <kanna@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_interface.h')
-rw-r--r-- | ospf6d/ospf6_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h index dde589b8f..6ef9e3782 100644 --- a/ospf6d/ospf6_interface.h +++ b/ospf6d/ospf6_interface.h @@ -113,6 +113,9 @@ struct ospf6_interface /* prefix-list name to filter connected prefix */ char *plist_name; + + /* BFD information */ + void *bfd_info; }; /* interface state */ |