diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-01-31 09:18:28 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-01-31 09:18:28 +0100 |
commit | 1ce23106ebf0bf088dde69958228076faf5ac1b8 (patch) | |
tree | 5df60fefa3a267e080a5882db0c5a8ef7c14ace5 /bgpd/bgp_labelpool.c | |
parent | Merge pull request #12709 from donaldsharp/update_withdraw_always_work (diff) | |
download | frr-1ce23106ebf0bf088dde69958228076faf5ac1b8.tar.xz frr-1ce23106ebf0bf088dde69958228076faf5ac1b8.zip |
*: Drop deprecated incorrect JSON fields with wrong naming
Deprecation cycle already passed.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_labelpool.c')
-rw-r--r-- | bgpd/bgp_labelpool.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bgpd/bgp_labelpool.c b/bgpd/bgp_labelpool.c index 129878451..d60552011 100644 --- a/bgpd/bgp_labelpool.c +++ b/bgpd/bgp_labelpool.c @@ -743,22 +743,12 @@ DEFUN(show_bgp_labelpool_summary, show_bgp_labelpool_summary_cmd, if (uj) { json = json_object_new_object(); -#if CONFDATE > 20230131 -CPP_NOTICE("Remove JSON object commands with keys starting with capital") -#endif - json_object_int_add(json, "Ledger", skiplist_count(lp->ledger)); json_object_int_add(json, "ledger", skiplist_count(lp->ledger)); - json_object_int_add(json, "InUse", skiplist_count(lp->inuse)); json_object_int_add(json, "inUse", skiplist_count(lp->inuse)); - json_object_int_add(json, "Requests", - lp_fifo_count(&lp->requests)); json_object_int_add(json, "requests", lp_fifo_count(&lp->requests)); - json_object_int_add(json, "LabelChunks", listcount(lp->chunks)); json_object_int_add(json, "labelChunks", listcount(lp->chunks)); - json_object_int_add(json, "Pending", lp->pending_count); json_object_int_add(json, "pending", lp->pending_count); - json_object_int_add(json, "Reconnects", lp->reconnect_count); json_object_int_add(json, "reconnects", lp->reconnect_count); vty_json(vty, json); } else { |