]> git.puffer.fish Git - mirror/frr.git/commit
lib: mgmtd: improvements in logging and commentary 13768/head
authorChristian Hopps <chopps@labn.net>
Fri, 9 Jun 2023 20:54:54 +0000 (16:54 -0400)
committerChristian Hopps <chopps@labn.net>
Tue, 13 Jun 2023 08:11:29 +0000 (04:11 -0400)
commit96f9e7853bad7e21676f2eb126a915561e6c8dce
treeb902eda89b5fd78543bd24c494e18a3c0946ca11
parente0db9a05bd43eafbd6e2b2bf84aaa7ac31b415fa
lib: mgmtd: improvements in logging and commentary

- log names of datastores not numbers
- improve logging for mgmt_msg_read
- Rather than use a bool, instead store the pending const string name of
the command being run that has postponed the CLI. This adds some nice
information to the logging when enabled.

Signed-off-by: Christian Hopps <chopps@labn.net>
lib/mgmt_be_client.c
lib/mgmt_be_client.h
lib/mgmt_fe_client.c
lib/mgmt_fe_client.h
lib/mgmt_msg.c
lib/vty.c
lib/vty.h
mgmtd/mgmt_ds.c
mgmtd/mgmt_fe_adapter.c
mgmtd/mgmt_history.c