]> git.puffer.fish Git - mirror/frr.git/commit
lib: mgmtd: improvements in logging and commentary 13843/head
authorChristian Hopps <chopps@labn.net>
Fri, 9 Jun 2023 20:54:54 +0000 (16:54 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sat, 24 Jun 2023 14:37:31 +0000 (14:37 +0000)
commite11168b654d3741fa10a9d4d8feb5883582194b0
tree09e144e41a91133d80ceb6e6bb8b7a64230d6353
parent9dd8d15047fa008c3c734e16cd90ce273b4c086f
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>
(cherry picked from commit 96f9e7853bad7e21676f2eb126a915561e6c8dce)
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