]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_nsm.c
This patch changes ospfd from only listening mode for BFD status updates to interacti...
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Jul 2015 19:35:37 +0000 (12:35 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Jul 2015 19:35:37 +0000 (12:35 -0700)
commit7f342629a9eae034138fd542734fe2e6eca8085d
treee11971e7ac8a8d76ee978dd19691efe64570ebc1
parent7bbc6864de7071873fc47680cb80a583280495b3
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>
28 files changed:
bgpd/bgp_bfd.c
bgpd/bgp_bfd.h
bgpd/bgpd.c
bgpd/bgpd.h
lib/Makefile.am
lib/bfd.c [new file with mode: 0644]
lib/bfd.h [new file with mode: 0644]
lib/memtypes.c
lib/zclient.c
lib/zclient.h
ospf6d/Makefile.am
ospf6d/ospf6_bfd.c [new file with mode: 0644]
ospf6d/ospf6_bfd.h [new file with mode: 0644]
ospf6d/ospf6_interface.c
ospf6d/ospf6_interface.h
ospf6d/ospf6_neighbor.c
ospf6d/ospf6d.c
ospfd/Makefile.am
ospfd/ospf_bfd.c [new file with mode: 0644]
ospfd/ospf_bfd.h [new file with mode: 0644]
ospfd/ospf_interface.c
ospfd/ospf_interface.h
ospfd/ospf_main.c
ospfd/ospf_nsm.c
ospfd/ospf_vty.c
ospfd/ospf_zebra.c
zebra/zebra_ptm.c
zebra/zebra_ptm_redistribute.c