summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6d.c
diff options
context:
space:
mode:
authorrgirada <rgirada@vmware.com>2021-07-01 07:09:38 -0700
committerrgirada <rgirada@vmware.com>2021-08-11 23:06:49 -0700
commit0fc3e113231829c3412f5009be2b4c790b444bd3 (patch)
tree05e41100efb37bf77d6dcd87b2314e01a00502b7 /ospf6d/ospf6d.c
parent9a06f23d0bd7b0e712ce747c31b22842a8baf15f (diff)
ospf6d: GR helper configurations
Description: Adding the following cli commands to enable/disable GR helper functionality. 1. [no] graceful-restart helper-only [A.B.C.D] 2. [no] graceful-restart helper lsa-check-disable 3. [no] graceful-restart helper planned-only 4. [no] graceful-restart helper supported-grace-time (10-1800) show commands: show ipv6 ospf6 graceful-restart helper [detail] [json] Signed-off-by: Rajesh Girada <rgirada@vmware.com>
Diffstat (limited to 'ospf6d/ospf6d.c')
-rw-r--r--ospf6d/ospf6d.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c
index fb6ac4402a..5dfd986e2a 100644
--- a/ospf6d/ospf6d.c
+++ b/ospf6d/ospf6d.c
@@ -45,6 +45,7 @@
#include "ospf6_flood.h"
#include "ospf6d.h"
#include "ospf6_bfd.h"
+#include "ospf6_gr.h"
#include "lib/json.h"
#include "ospf6_nssa.h"
@@ -96,6 +97,7 @@ static int config_write_ospf6_debug(struct vty *vty)
config_write_ospf6_debug_abr(vty);
config_write_ospf6_debug_flood(vty);
config_write_ospf6_debug_nssa(vty);
+ config_write_ospf6_debug_gr_helper(vty);
return 0;
}
@@ -1402,6 +1404,7 @@ void ospf6_init(struct thread_master *master)
ospf6_intra_init();
ospf6_asbr_init();
ospf6_abr_init();
+ ospf6_gr_helper_config_init();
/* initialize hooks for modifying filter rules */
prefix_list_add_hook(ospf6_plist_add);