mirror_frr/zebra
radhika b255a4b195 Fix for PTM cable status change notification not being handeled in Zebra
Ticket: CM-6690
Reviewed By: Donald, Kanna
Testing Done:

Double commit of 4bbc0cf4a98d7fd2aabe47241424fa7c5a3ae1eb from br2.5 to master

PTM cable status updates were not being handled in the notification callback registered with the ptm lib. This results in interface ptm status mismatch between PTM and zebra when interface cable check status changes (pass->fail or fail->pass). Zebra requests PTM to send cable status updates using get-status command and PTM sends the cable status updates as command responses to get-status. This was being handled in the commmand response callback registered with ptm lib. But, the subsequent status updates come as notifications and handling of those notifications that was missing in the notification callback. Fixed the issue by making a common callback for command responses and notifications. All the command responses other than the responses to get-status are dropped/ignored.
2015-08-26 12:37:46 -07:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
client_main.c babeld: Initial import, for Babel routing protocol. 2012-03-25 17:06:51 +01:00
connected.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
connected.h Unnumbered interface support. 2015-05-19 17:58:13 -07:00
debug.c nexthop-tracking.patch 2015-05-19 17:40:34 -07:00
debug.h nexthop-tracking.patch 2015-05-19 17:40:34 -07:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c [zebra/solaris] fix if_get_index passing wrong arg to lifreq_set_name 2007-04-29 17:32:08 +00:00
if_ioctl.c [PtP over ethernet] New peer flag allows much more addressing flexibility 2006-12-12 19:18:21 +00:00
if_netlink.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
if_proc.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
if_sysctl.c [zebra] fix inconsistencies in ifstat_update_* declarations and definitions 2006-08-06 15:57:59 +00:00
interface.c Fixup of warnings in the code 2015-07-25 15:55:47 -07:00
interface.h This patch changes BGP from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering BFD enabled peers with PTM/BFD through zebra. Peer is registered with BFD when it goes into established state and de-registers when it goes out of establish state. 2015-06-12 07:59:11 -07:00
ioctl_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
ioctl_solaris.c Fixed ioctl_solaris.c:if_get_mtu() for IPv6'less operation 2007-08-21 16:12:40 +00:00
ioctl.c zebra: fix argument reference in strncpy() call for BSD 2009-12-03 21:14:16 +03:00
ioctl.h [zebra/solaris] Interface state fixups for Solaris. 2006-01-25 04:31:40 +00:00
ipforward_aix.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_ews.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_proc.c zebra: fix warnings in forward proc 2011-12-07 01:24:09 +04:00
ipforward_solaris.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward_sysctl.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward.h 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
irdp_interface.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
irdp_main.c zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
irdp_packet.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
irdp.h zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
kernel_netlink.c Initial revision 2002-12-13 20:15:29 +00:00
kernel_null.c Fixup of warnings in the code 2015-07-25 15:55:47 -07:00
kernel_socket.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
kernel_socket.h [lib] mes_lookup string lookup table argument should be marked const 2008-08-22 19:52:58 +01:00
main.c Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
Makefile.am Add --enable-werror to configure 2015-07-25 16:05:56 -07:00
misc_null.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
mtu_kvm.c 2004-05-09 Paul Jakma <paul@dishone.st> 2004-05-09 11:00:23 +00:00
redistribute_null.c This patch changes BGP from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering BFD enabled peers with PTM/BFD through zebra. Peer is registered with BFD when it goes into established state and de-registers when it goes out of establish state. 2015-06-12 07:59:11 -07:00
redistribute.c This patch changes BGP from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering BFD enabled peers with PTM/BFD through zebra. Peer is registered with BFD when it goes into established state and de-registers when it goes out of establish state. 2015-06-12 07:59:11 -07:00
redistribute.h This patch changes BGP from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering BFD enabled peers with PTM/BFD through zebra. Peer is registered with BFD when it goes into established state and de-registers when it goes out of establish state. 2015-06-12 07:59:11 -07:00
rib.h bgpd, zebra: rfc-5549-generic.patch 2015-06-11 09:19:12 -07:00
router-id.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
router-id.h 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-02-28 20:52:15 +00:00
rt_ioctl.c Zebra: Implement route replace semantics. 2015-06-11 09:11:12 -07:00
rt_netlink.c 2015-06-11 09:19:59 -07:00
rt_netlink.h 2015-06-11 09:19:59 -07:00
rt_socket.c Zebra: Implement route replace semantics. 2015-06-11 09:11:12 -07:00
rt.h Zebra: Implement route replace semantics. 2015-06-11 09:11:12 -07:00
rtadv.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
rtadv.h zebra: fix up compilation without rtadv/IPv6 2012-05-09 13:51:54 +02:00
rtread_getmsg.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
rtread_netlink.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
rtread_proc.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
rtread_sysctl.c + fixed bug #400: adjusted rtread_sysctl.c:route_read() 2007-09-06 14:34:41 +00:00
test_main.c Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
testrib.conf zebra: Add an example config file for testzebra 2009-08-28 14:51:37 +01:00
zebra_fpm_netlink.c nexthop-tracking.patch 2015-05-19 17:40:34 -07:00
zebra_fpm_private.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm.c zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_ptm_null.c Fixup of warnings in the code 2015-07-25 15:55:47 -07:00
zebra_ptm_redistribute.c Fixup of warnings in the code 2015-07-25 15:55:47 -07:00
zebra_ptm_redistribute.h This patch changes BGP from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering BFD enabled peers with PTM/BFD through zebra. Peer is registered with BFD when it goes into established state and de-registers when it goes out of establish state. 2015-06-12 07:59:11 -07:00
zebra_ptm.c Fix for PTM cable status change notification not being handeled in Zebra 2015-08-26 12:37:46 -07:00
zebra_ptm.h ptm-integration.patch 2015-07-22 13:07:08 -07:00
zebra_rib.c Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
zebra_rnh_null.c bgpd-nht-import-check-fix.patch 2015-05-19 18:04:20 -07:00
zebra_rnh.c If the nexthop is only resolved over a default route and that is not 2015-06-11 09:11:12 -07:00
zebra_rnh.h bgpd-nht-import-check-fix.patch 2015-05-19 18:04:20 -07:00
zebra_routemap.c Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
zebra_routemap.h Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
zebra_snmp.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
zebra_vty.c Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv.c Fixup of warnings in the code 2015-07-25 15:55:47 -07:00
zserv.h This patch changes BGP from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering BFD enabled peers with PTM/BFD through zebra. Peer is registered with BFD when it goes into established state and de-registers when it goes out of establish state. 2015-06-12 07:59:11 -07:00