diff options
author | Christian Hopps <chopps@labn.net> | 2024-01-30 09:05:18 +0100 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2024-01-30 10:57:10 +0100 |
commit | 25bb8b203cdbf3b40f938add7352666146183c03 (patch) | |
tree | 90ba100c73a7f97401bd9362daa9a0a86a9f957c /lib/mgmt_be_client.h | |
parent | Merge pull request #15238 from louis-6wind/bgp-leak-network (diff) | |
download | frr-25bb8b203cdbf3b40f938add7352666146183c03.tar.xz frr-25bb8b203cdbf3b40f938add7352666146183c03.zip |
lib: mgmtd: add YANG notification support
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/mgmt_be_client.h')
-rw-r--r-- | lib/mgmt_be_client.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/mgmt_be_client.h b/lib/mgmt_be_client.h index 8ad482cac..930cbf0cd 100644 --- a/lib/mgmt_be_client.h +++ b/lib/mgmt_be_client.h @@ -136,6 +136,15 @@ extern int mgmt_be_send_subscr_req(struct mgmt_be_client *client, bool subscr_xpaths, int num_xpaths, char **reg_xpaths); +/** + * mgmt_be_notification_send() - send a YANG notification to FE clients. + * @tree: libyang tree for the notification. The tree will be freed by + * this function. + * + */ +extern void mgmt_be_send_notification(struct lyd_node *tree); + + /* * Destroy backend client and cleanup everything. */ |