summaryrefslogtreecommitdiffstats
path: root/mgmtd/subdir.am
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-02-28 16:00:19 +0100
committerChristian Hopps <chopps@labn.net>2023-03-22 03:08:32 +0100
commit7d65b7b7f441ddb2e730d4274023c0d3d2907c6b (patch)
treea1a7106459429fb936a493cba746aff105d3ce06 /mgmtd/subdir.am
parentmgmtd: Add MGMT Frontend Interface Framework (diff)
downloadfrr-7d65b7b7f441ddb2e730d4274023c0d3d2907c6b.tar.xz
frr-7d65b7b7f441ddb2e730d4274023c0d3d2907c6b.zip
mgmtd: Add MGMT Backend Interface Framework
This commit introduces the MGMT Backend Interface which can be used by back-end management client daemons like BGPd, Staticd, Zebra to connect with new FRR Management daemon (MGMTd) and utilize the new FRR Management Framework to let any Frontend clients to retrieve any operational data or manipulate any configuration data owned by the individual Backend daemon component. This commit includes the following functionalities in the changeset: 1. Add new Backend server for Backend daemons connect to. 2. Add a C-based Backend client library which can be used by daemons to communicate with MGMTd via the Backend interface. 3. Maintain a backend adapter for each connection from an appropriate Backend client to facilitate client requests and track one or more transactions initiated from Frontend client sessions that involves the backend client component. 4. Add the following commands to inspect various Backend client related information a. show mgmt backend-adapter all b. show mgmt backend-yang-xpath-registry c. show mgmt yang-xpath-subscription Co-authored-by: Pushpasis Sarkar <pushpasis@gmail.com> Co-authored-by: Abhinay Ramesh <rabhinay@vmware.com> Co-authored-by: Ujwal P <ujwalp@vmware.com> Signed-off-by: Yash Ranjan <ranjany@vmware.com>
Diffstat (limited to '')
-rw-r--r--mgmtd/subdir.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/mgmtd/subdir.am b/mgmtd/subdir.am
index 732d5560b..64228f968 100644
--- a/mgmtd/subdir.am
+++ b/mgmtd/subdir.am
@@ -18,6 +18,8 @@ noinst_LIBRARIES += mgmtd/libmgmtd.a
mgmtd_libmgmtd_a_SOURCES = \
mgmtd/mgmt.c \
mgmtd/mgmt_ds.c \
+ mgmtd/mgmt_be_server.c \
+ mgmtd/mgmt_be_adapter.c \
mgmtd/mgmt_fe_server.c \
mgmtd/mgmt_fe_adapter.c \
mgmtd/mgmt_memory.c \
@@ -31,6 +33,8 @@ mgmtdheader_HEADERS = \
noinst_HEADERS += \
mgmtd/mgmt.h \
+ mgmtd/mgmt_be_server.h \
+ mgmtd/mgmt_be_adapter.h \
mgmtd/mgmt_ds.h \
mgmtd/mgmt_fe_server.h \
mgmtd/mgmt_fe_adapter.h \