mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 10:49:24 +00:00
ospf6d: Link state ID in LSA database JSON output
Added link state ID to JSON output of LSA database. Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
This commit is contained in:
parent
352cc841d8
commit
2804f2d241
@ -654,6 +654,7 @@ void ospf6_lsa_show(struct vty *vty, struct ospf6_lsa *lsa,
|
|||||||
ospf6_lsa_age_current(lsa));
|
ospf6_lsa_age_current(lsa));
|
||||||
json_object_string_add(json_obj, "type",
|
json_object_string_add(json_obj, "type",
|
||||||
ospf6_lstype_name(lsa->header->type));
|
ospf6_lstype_name(lsa->header->type));
|
||||||
|
json_object_string_add(json_obj, "linkStateId", id);
|
||||||
json_object_string_add(json_obj, "advertisingRouter",
|
json_object_string_add(json_obj, "advertisingRouter",
|
||||||
adv_router);
|
adv_router);
|
||||||
json_object_int_add(json_obj, "lsSequenceNumber",
|
json_object_int_add(json_obj, "lsSequenceNumber",
|
||||||
|
Loading…
Reference in New Issue
Block a user