diff options
| author | vdhingra <vdhingra@vmware.com> | 2020-04-24 05:37:36 -0700 |
|---|---|---|
| committer | vdhingra <vdhingra@vmware.com> | 2020-07-16 08:33:00 -0700 |
| commit | 7441ea1afd4400ca74f97138e20e4ffb9f0b125e (patch) | |
| tree | 7a4f91765c724729ac62921bed78a6c87c5f7144 /lib/routing_nb.c | |
| parent | 27802d3feedc70d69a8986cdbf10fea57f1b2be4 (diff) | |
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 0000000000..7a6754baa7 --- /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, + }, + } +}; |
