]> git.puffer.fish Git - matthieu/frr.git/commit
mgmtd: Bringup MGMTD daemon and db module support
authorPushpasis Sarkar <spushpasis@vmware.com>
Tue, 12 Oct 2021 10:33:50 +0000 (03:33 -0700)
committerChristian Hopps <chopps@labn.net>
Wed, 6 Apr 2022 01:36:20 +0000 (21:36 -0400)
commit032bb1c6abd09dadb1b7130da80fa8f1ce8e1f8d
tree2972fb44bc825cd6634c008bdbd2298ab261a88a
parent25ddb686ca22b6ecbb82fe80a69cf7e71c051d6e
mgmtd: Bringup MGMTD daemon and db 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 DB feature using pthread lock.
4. Load config from a JSON file onto candidate DB.
5. Save config to a JSON file from running/candidate DB.
6. Dump candidate or running DB 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>
26 files changed:
Makefile.am
configure.ac
debian/control
lib/command.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_db.c [new file with mode: 0644]
mgmtd/mgmt_db.h [new file with mode: 0644]
mgmtd/mgmt_defines.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_frntnd [new file with mode: 0755]
mgmtd/mgmt_vty.c [new file with mode: 0644]
mgmtd/mgmt_vty.h [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