diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-04-11 13:34:17 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-04-11 13:34:17 +0300 |
| commit | 8f7bc620b51d190909e448ae416a45af0d9ee56c (patch) | |
| tree | 2f76a39633212df2d55d777cc8f52f7f972ca427 | |
| parent | 3d3f9684aea3fa9fccb2ab6e825ca53f3649bd0c (diff) | |
ospfd, ospf6d: Remove deprecated JSON fields
restartSupoort
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
| -rw-r--r-- | ospf6d/ospf6_gr_helper.c | 9 | ||||
| -rw-r--r-- | ospfd/ospf_vty.c | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/ospf6d/ospf6_gr_helper.c b/ospf6d/ospf6_gr_helper.c index be1042f260..229e0a4db8 100644 --- a/ospf6d/ospf6_gr_helper.c +++ b/ospf6d/ospf6_gr_helper.c @@ -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) diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index bf131ff225..b366b3ca30 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -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) |
