]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_top.h
ospf6d: Fix redist w/ route-map during restart
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 25 Jan 2018 03:02:19 +0000 (19:02 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 26 Jan 2018 17:53:37 +0000 (09:53 -0800)
commit856ae1eb2e4a1d378b2b3eb2894f4fb1ef0480c8
tree598c54a4aaa1c9c65659bf9547e8cbd679145a35
parent439a309e8332a5fe9af493802e822069f5c879b7
ospf6d: Fix redist w/ route-map during restart

Add hook for route-map update event.
Add a delay one shot timer to accomodate route-map
update and reset redist with zebra to process
all redistribute routes with route-map info.

Cleanup route-map, prefix cached date during ospf6 exit.

Ticket:CM-13800
Testing Done:
configure redistribute connected with route-map to define
type-2 routes. Restart frr.service and validated
route-map add,update event, thread is scheduled,
once timer is done redist reset with zebra.
Upon redist add notification, all route map info is cached
in ospf6 and processed as type-2 route and send ASE E2 LSA.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_asbr.c
ospf6d/ospf6_asbr.h
ospf6d/ospf6_main.c
ospf6d/ospf6_memory.c
ospf6d/ospf6_memory.h
ospf6d/ospf6_top.c
ospf6d/ospf6_top.h