]> git.proxmox.com Git - mirror_frr.git/blame - lib/routing_nb.c
*: manual SPDX License ID conversions
[mirror_frr.git] / lib / routing_nb.c
CommitLineData
88fa5104 1/*
2 * Copyright (C) 2018 Vmware
3 * Vishal Dhingra
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; see the file COPYING; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
1f8031f7
DL
19#include <zebra.h>
20
7441ea1a 21#include "northbound.h"
22#include "libfrr.h"
23#include "routing_nb.h"
24
25
26
27/* clang-format off */
28const struct frr_yang_module_info frr_routing_info = {
29 .name = "frr-routing",
30 .nodes = {
31 {
32 .xpath = "/frr-routing:routing/control-plane-protocols/control-plane-protocol",
33 .cbs = {
34 .create = routing_control_plane_protocols_control_plane_protocol_create,
35 .destroy = routing_control_plane_protocols_control_plane_protocol_destroy,
36 }
37 },
38 {
39 .xpath = NULL,
40 },
41 }
42};