]> git.proxmox.com Git - mirror_frr.git/commit
mgmtd: Bringup MGMTD daemon and datastore module support
authorChristian Hopps <chopps@labn.net>
Wed, 8 Mar 2023 22:22:09 +0000 (17:22 -0500)
committerChristian Hopps <chopps@labn.net>
Wed, 22 Mar 2023 02:08:32 +0000 (22:08 -0400)
commit1c84efe4fa8585df58a9b53459f94c47934f0786
tree21609ad9048500a6b23c38ce373506d5d6aa6ac3
parented851381b578fda5c313ea0cb6a2e9d3fb017cce
mgmtd: Bringup MGMTD daemon and datastore module support

Features added in this commit:
1. Bringup/shutdown new management daemon 'mgmtd' along with FRR.
2. Support for Startup, Candidate and Running DBs.
3. Lock/Unlock DS feature using pthread lock.
4. Load config from a JSON file onto candidate DS.
5. Save config to a JSON file from running/candidate DS.
6. Dump candidate or running DS contents on the terminal or a file in
   JSON/XML format.
7. Maintaining commit history (Full rollback support to be added in
   future commits).
8. Addition of debug commands.

Co-authored-by: Yash Ranjan <ranjany@vmware.com>
Co-authored-by: Abhinay Ramesh <rabhinay@vmware.com>
Co-authored-by: Ujwal P <ujwalp@vmware.com>
Signed-off-by: Pushpasis Sarkar <pushpasis@gmail.com>
27 files changed:
Makefile.am
configure.ac
lib/command.h
lib/northbound.c
lib/northbound.h
mgmtd/.gitignore [new file with mode: 0644]
mgmtd/Makefile [new file with mode: 0644]
mgmtd/mgmt.c [new file with mode: 0644]
mgmtd/mgmt.h [new file with mode: 0644]
mgmtd/mgmt_defines.h [new file with mode: 0644]
mgmtd/mgmt_ds.c [new file with mode: 0644]
mgmtd/mgmt_ds.h [new file with mode: 0644]
mgmtd/mgmt_main.c [new file with mode: 0644]
mgmtd/mgmt_memory.c [new file with mode: 0644]
mgmtd/mgmt_memory.h [new file with mode: 0644]
mgmtd/mgmt_test_fe [new file with mode: 0755]
mgmtd/mgmt_vty.c [new file with mode: 0644]
mgmtd/mgmt_vty.c.safe [new file with mode: 0644]
mgmtd/subdir.am [new file with mode: 0644]
pkgsrc/mgmtd.sh.in [new file with mode: 0644]
qpb/subdir.am
redhat/frr.spec.in
tools/etc/frr/daemons
tools/frr.in
tools/frrcommon.sh.in
vtysh/vtysh.c
vtysh/vtysh.h