summaryrefslogtreecommitdiff
path: root/mgmtd/mgmt_be_adapter.h
AgeCommit message (Collapse)Author
2023-06-18mgmtd: simplify locking, removing read locksChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-06-05mgmtd: rm unused/unneeded code add couple commentsChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-05-30mgmtd: address review commentsChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-05-30mgmtd: cleanup BE xpath subscription and matching codeChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-05-28mgmtd: eliminate unused stateChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-05-28mgmtd: convert BE/FE adapter to use allocated connectionsChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-05-28lib: mgmtd: add server-side connection code to mgmt_msgChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-05-28lib: remove write-on-off, just requeue to the back of the queueChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-03-24*: Convert `struct event_master` to `struct event_loop`Donald Sharp
Let's find a better name for it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-03-24*: Convert struct thread_master to struct event_master and it's ilkDonald Sharp
Convert the `struct thread_master` to `struct event_master` across the code base. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-03-24*: Rename `struct thread` to `struct event`Donald Sharp
Effectively a massive search and replace of `struct thread` to `struct event`. Using the term `thread` gives people the thought that this event system is a pthread when it is not Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-03-22mgmtd: lib: utilize msglib constructed from the removed codeChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-03-21mgmtd: Add MGMT Backend Interface FrameworkChristian Hopps
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>