diff options
| author | Christian Hopps <chopps@labn.net> | 2023-03-08 17:22:09 -0500 | 
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-03-21 22:08:32 -0400 | 
| commit | 1c84efe4fa8585df58a9b53459f94c47934f0786 (patch) | |
| tree | 21609ad9048500a6b23c38ce373506d5d6aa6ac3 /tools/frrcommon.sh.in | |
| parent | ed851381b578fda5c313ea0cb6a2e9d3fb017cce (diff) | |
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>
Diffstat (limited to 'tools/frrcommon.sh.in')
| -rwxr-xr-x | tools/frrcommon.sh.in | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/frrcommon.sh.in b/tools/frrcommon.sh.in index f1db3a73d5..e26c294714 100755 --- a/tools/frrcommon.sh.in +++ b/tools/frrcommon.sh.in @@ -35,7 +35,7 @@ FRR_DEFAULT_PROFILE="@DFLT_NAME@" # traditional / datacenter  # - keep zebra first  # - watchfrr does NOT belong in this list -DAEMONS="zebra bgpd ripd ripngd ospfd ospf6d isisd babeld pimd pim6d ldpd nhrpd eigrpd sharpd pbrd staticd bfdd fabricd vrrpd pathd" +DAEMONS="zebra mgmtd bgpd ripd ripngd ospfd ospf6d isisd babeld pimd pim6d ldpd nhrpd eigrpd sharpd pbrd staticd bfdd fabricd vrrpd pathd"  RELOAD_SCRIPT="$D_PATH/frr-reload.py"  # @@ -99,7 +99,7 @@ daemon_list() {  	for daemon in $DAEMONS; do  		eval cfg=\$$daemon  		eval inst=\$${daemon}_instances -		[ "$daemon" = zebra -o "$daemon" = staticd ] && cfg=yes +		[ "$daemon" = zebra -o "$daemon" = staticd -o "$daemon" = mgmtd ] && cfg=yes  		if [ -n "$cfg" -a "$cfg" != "no" -a "$cfg" != "0" ]; then  			if ! daemon_prep "$daemon" "$inst"; then  				continue  | 
