diff options
author | vdhingra <vdhingra@vmware.com> | 2020-04-24 14:37:36 +0200 |
---|---|---|
committer | vdhingra <vdhingra@vmware.com> | 2020-07-16 17:33:00 +0200 |
commit | 7441ea1afd4400ca74f97138e20e4ffb9f0b125e (patch) | |
tree | 7a4f91765c724729ac62921bed78a6c87c5f7144 /lib/routing_nb.c | |
parent | lib : Yang wrappers (diff) | |
download | frr-7441ea1afd4400ca74f97138e20e4ffb9f0b125e.tar.xz frr-7441ea1afd4400ca74f97138e20e4ffb9f0b125e.zip |
lib : basic-routing backend configuration northbound code
Signed-off-by: VishalDhingra <vdhingra@vmware.com>
Diffstat (limited to 'lib/routing_nb.c')
-rw-r--r-- | lib/routing_nb.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/routing_nb.c b/lib/routing_nb.c new file mode 100644 index 000000000..7a6754baa --- /dev/null +++ b/lib/routing_nb.c @@ -0,0 +1,22 @@ +#include "northbound.h" +#include "libfrr.h" +#include "routing_nb.h" + + + +/* clang-format off */ +const struct frr_yang_module_info frr_routing_info = { + .name = "frr-routing", + .nodes = { + { + .xpath = "/frr-routing:routing/control-plane-protocols/control-plane-protocol", + .cbs = { + .create = routing_control_plane_protocols_control_plane_protocol_create, + .destroy = routing_control_plane_protocols_control_plane_protocol_destroy, + } + }, + { + .xpath = NULL, + }, + } +}; |