isisd: Add SRv6 Locator TLV to TLVs format func

Extend generic TLVs format function to return information about SRv6
Locator TLVs (RFC 9352 section #7.1).

Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
Carmine Scarpitta 2023-01-26 16:07:24 +01:00
parent a48d6a2049
commit 462a242999

View File

@ -5768,6 +5768,9 @@ static void format_tlvs(struct isis_tlvs *tlvs, struct sbuf *buf, struct json_ob
format_tlv_threeway_adj(tlvs->threeway_adj, buf, json, indent);
format_tlv_spine_leaf(tlvs->spine_leaf, buf, json, indent);
format_mt_items(ISIS_CONTEXT_LSP, ISIS_TLV_SRV6_LOCATOR,
&tlvs->srv6_locator, buf, json, indent);
}
const char *isis_format_tlvs(struct isis_tlvs *tlvs, struct json_object *json)