Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ospfd, ospf6d: Remove deprecated JSON fields #15724

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions ospf6d/ospf6_gr_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,15 +938,6 @@ static void show_ospf6_gr_helper_details(struct vty *vty, struct ospf6 *ospf6,
? "Enabled"
: "Disabled");

#if CONFDATE > 20240401
CPP_NOTICE("Remove deprecated json key: restartSupoort")
#endif
json_object_string_add(
json, "restartSupoort",
(ospf6->ospf6_helper_cfg.only_planned_restart)
? "Planned Restart only"
: "Planned and Unplanned Restarts");

json_object_string_add(
json, "restartSupport",
(ospf6->ospf6_helper_cfg.only_planned_restart)
Expand Down
9 changes: 0 additions & 9 deletions ospfd/ospf_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -10446,15 +10446,6 @@ static int ospf_show_gr_helper_details(struct vty *vty, struct ospf *ospf,
json_object_string_add(json_vrf, "strictLsaCheck",
(ospf->strict_lsa_check) ? "Enabled"
: "Disabled");
#if CONFDATE > 20240401
CPP_NOTICE("Remove deprecated json key: restartSupoort")
#endif
json_object_string_add(
json_vrf, "restartSupoort",
(ospf->only_planned_restart)
? "Planned Restart only"
: "Planned and Unplanned Restarts");

json_object_string_add(
json_vrf, "restartSupport",
(ospf->only_planned_restart)
Expand Down
Loading