diff options
author | Isabella de Leon <ideleon@microsoft.com> | 2023-03-31 01:25:02 +0200 |
---|---|---|
committer | Isabella de Leon <ideleon@microsoft.com> | 2023-04-04 18:23:16 +0200 |
commit | 9ace83b9525677c8996fee56cf1ec28a02a96711 (patch) | |
tree | 69ce69a29d02b0cd7223c0f21588889e32b6e5bf /isisd/isis_nb.c | |
parent | Merge pull request #13004 from donaldsharp/vtysh_fork (diff) | |
download | frr-9ace83b9525677c8996fee56cf1ec28a02a96711.tar.xz frr-9ace83b9525677c8996fee56cf1ec28a02a96711.zip |
isisd: Add log-pdu-drops CLI/YANG support
New config functionality:
r1# conf
r1(config)# router isis 1
r1(config-router)# log-
log-adjacency-changes Log changes in adjacency state
log-pdu-drops Log any dropped PDUs
r1(config-router)# log-pdu-drops
r1(config-router)# end
Signed-off-by: Isabella de Leon <ideleon@microsoft.com>
Diffstat (limited to 'isisd/isis_nb.c')
-rw-r--r-- | isisd/isis_nb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/isisd/isis_nb.c b/isisd/isis_nb.c index 7dc3a0eb3..9141bfc46 100644 --- a/isisd/isis_nb.c +++ b/isisd/isis_nb.c @@ -559,6 +559,13 @@ const struct frr_yang_module_info frr_isisd_info = { }, }, { + .xpath = "/frr-isisd:isis/instance/log-pdu-drops", + .cbs = { + .cli_show = cli_show_isis_log_pdu_drops, + .modify = isis_instance_log_pdu_drops_modify, + }, + }, + { .xpath = "/frr-isisd:isis/instance/mpls-te", .cbs = { .cli_show = cli_show_isis_mpls_te, |