diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2024-03-21 16:10:42 +0100 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-04-22 15:36:23 +0200 |
commit | dbaf05ae3df9c285c2660cbd32483e690c7b1a8a (patch) | |
tree | 60494260dbe1fc8edbf3a8628e201507bfa3001f /mgmtd | |
parent | lib: add native RPC processing to mgmt frontend client (diff) | |
download | frr-dbaf05ae3df9c285c2660cbd32483e690c7b1a8a.tar.xz frr-dbaf05ae3df9c285c2660cbd32483e690c7b1a8a.zip |
ripd: convert RPC commands to mgmtd
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd')
-rw-r--r-- | mgmtd/mgmt_be_adapter.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mgmtd/mgmt_be_adapter.c b/mgmtd/mgmt_be_adapter.c index f4fa389b8..d830120af 100644 --- a/mgmtd/mgmt_be_adapter.c +++ b/mgmtd/mgmt_be_adapter.c @@ -98,6 +98,10 @@ static const char *const ripd_oper_xpaths[] = { "/ietf-key-chain:key-chains", NULL, }; +static const char *const ripd_rpc_xpaths[] = { + "/frr-ripd", + NULL, +}; #endif #if HAVE_RIPNGD @@ -147,7 +151,11 @@ static const char *const *be_client_oper_xpaths[MGMTD_BE_CLIENT_ID_MAX] = { [MGMTD_BE_CLIENT_ID_ZEBRA] = zebra_oper_xpaths, }; -static const char *const *be_client_rpc_xpaths[MGMTD_BE_CLIENT_ID_MAX] = {}; +static const char *const *be_client_rpc_xpaths[MGMTD_BE_CLIENT_ID_MAX] = { +#ifdef HAVE_RIPD + [MGMTD_BE_CLIENT_ID_RIPD] = ripd_rpc_xpaths, +#endif +}; /* * We would like to have a better ADT than one with O(n) comparisons |