mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 17:42:20 +00:00

Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
30 lines
635 B
C
30 lines
635 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright (C) 2018 Vmware
|
|
* Vishal Dhingra
|
|
*/
|
|
#include <zebra.h>
|
|
|
|
#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,
|
|
},
|
|
}
|
|
};
|