]>
Commit | Line | Data |
---|---|---|
ce45ffe7 CS |
1 | /* |
2 | * Copyright (C) 2020 Cumulus Networks, Inc. | |
3 | * Chirag Shah | |
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 | */ | |
19 | ||
20 | #include <zebra.h> | |
21 | #include "northbound.h" | |
22 | #include "libfrr.h" | |
23 | ||
24 | #include "zebra/zebra_nb.h" | |
25 | ||
26 | /* | |
27 | * XPath: /frr-zebra:get-route-information | |
28 | */ | |
29 | int get_route_information_rpc(const char *xpath, const struct list *input, | |
30 | struct list *output) | |
31 | { | |
32 | /* TODO: implement me. */ | |
33 | return NB_ERR_NOT_FOUND; | |
34 | } | |
35 | ||
36 | /* | |
37 | * XPath: /frr-zebra:get-v6-mroute-info | |
38 | */ | |
39 | int get_v6_mroute_info_rpc(const char *xpath, const struct list *input, | |
40 | struct list *output) | |
41 | { | |
42 | /* TODO: implement me. */ | |
43 | return NB_ERR_NOT_FOUND; | |
44 | } | |
45 | ||
46 | /* | |
47 | * XPath: /frr-zebra:get-vrf-info | |
48 | */ | |
49 | int get_vrf_info_rpc(const char *xpath, const struct list *input, | |
50 | struct list *output) | |
51 | { | |
52 | /* TODO: implement me. */ | |
53 | return NB_ERR_NOT_FOUND; | |
54 | } | |
55 | ||
56 | /* | |
57 | * XPath: /frr-zebra:get-vrf-vni-info | |
58 | */ | |
59 | int get_vrf_vni_info_rpc(const char *xpath, const struct list *input, | |
60 | struct list *output) | |
61 | { | |
62 | /* TODO: implement me. */ | |
63 | return NB_ERR_NOT_FOUND; | |
64 | } | |
65 | ||
66 | /* | |
67 | * XPath: /frr-zebra:get-evpn-info | |
68 | */ | |
69 | int get_evpn_info_rpc(const char *xpath, const struct list *input, | |
70 | struct list *output) | |
71 | { | |
72 | /* TODO: implement me. */ | |
73 | return NB_ERR_NOT_FOUND; | |
74 | } | |
75 | ||
76 | /* | |
77 | * XPath: /frr-zebra:get-vni-info | |
78 | */ | |
79 | int get_vni_info_rpc(const char *xpath, const struct list *input, | |
80 | struct list *output) | |
81 | { | |
82 | /* TODO: implement me. */ | |
83 | return NB_ERR_NOT_FOUND; | |
84 | } | |
85 | ||
86 | /* | |
87 | * XPath: /frr-zebra:get-evpn-vni-rmac | |
88 | */ | |
89 | int get_evpn_vni_rmac_rpc(const char *xpath, const struct list *input, | |
90 | struct list *output) | |
91 | { | |
92 | /* TODO: implement me. */ | |
93 | return NB_ERR_NOT_FOUND; | |
94 | } | |
95 | ||
96 | /* | |
97 | * XPath: /frr-zebra:get-evpn-vni-nexthops | |
98 | */ | |
99 | int get_evpn_vni_nexthops_rpc(const char *xpath, const struct list *input, | |
100 | struct list *output) | |
101 | { | |
102 | /* TODO: implement me. */ | |
103 | return NB_ERR_NOT_FOUND; | |
104 | } | |
105 | ||
106 | /* | |
107 | * XPath: /frr-zebra:clear-evpn-dup-addr | |
108 | */ | |
109 | int clear_evpn_dup_addr_rpc(const char *xpath, const struct list *input, | |
110 | struct list *output) | |
111 | { | |
112 | /* TODO: implement me. */ | |
113 | return NB_ERR_NOT_FOUND; | |
114 | } | |
115 | ||
116 | /* | |
117 | * XPath: /frr-zebra:get-evpn-macs | |
118 | */ | |
119 | int get_evpn_macs_rpc(const char *xpath, const struct list *input, | |
120 | struct list *output) | |
121 | { | |
122 | /* TODO: implement me. */ | |
123 | return NB_ERR_NOT_FOUND; | |
124 | } | |
125 | ||
126 | /* | |
127 | * XPath: /frr-zebra:get-evpn-arp-cache | |
128 | */ | |
129 | int get_evpn_arp_cache_rpc(const char *xpath, const struct list *input, | |
130 | struct list *output) | |
131 | { | |
132 | /* TODO: implement me. */ | |
133 | return NB_ERR_NOT_FOUND; | |
134 | } | |
135 | ||
136 | /* | |
137 | * XPath: /frr-zebra:get-pbr-ipset | |
138 | */ | |
139 | int get_pbr_ipset_rpc(const char *xpath, const struct list *input, | |
140 | struct list *output) | |
141 | { | |
142 | /* TODO: implement me. */ | |
143 | return NB_ERR_NOT_FOUND; | |
144 | } | |
145 | ||
146 | /* | |
147 | * XPath: /frr-zebra:get-pbr-iptable | |
148 | */ | |
149 | int get_pbr_iptable_rpc(const char *xpath, const struct list *input, | |
150 | struct list *output) | |
151 | { | |
152 | /* TODO: implement me. */ | |
153 | return NB_ERR_NOT_FOUND; | |
154 | } | |
155 | ||
156 | /* | |
157 | * XPath: /frr-zebra:get-debugs | |
158 | */ | |
159 | int get_debugs_rpc(const char *xpath, const struct list *input, | |
160 | struct list *output) | |
161 | { | |
162 | /* TODO: implement me. */ | |
163 | return NB_ERR_NOT_FOUND; | |
164 | } |