]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_vxlan_null.c
Merge branch 'stable/3.0' into tmp-3.0-master-merge
[mirror_frr.git] / zebra / zebra_vxlan_null.c
1 /*
2 * Zebra VxLAN (EVPN)
3 * Copyright (C) 2016, 2017 Cumulus Networks, Inc.
4 *
5 * This file is part of FRR.
6 *
7 * FRR is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2, or (at your option) any
10 * later version.
11 *
12 * FRR is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with FRR; see the file COPYING. If not, write to the Free
19 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 * 02111-1307, USA.
21 */
22
23 #include <zebra.h>
24
25 #include "if.h"
26 #include "zebra/debug.h"
27 #include "zebra/zserv.h"
28 #include "zebra/rib.h"
29 #include "zebra/zebra_vrf.h"
30 #include "zebra/zebra_l2.h"
31 #include "zebra/zebra_vxlan.h"
32
33 void zebra_vxlan_print_macs_vni(struct vty *vty, struct zebra_vrf *zvrf,
34 vni_t vni)
35 {
36 }
37
38 void zebra_vxlan_print_macs_all_vni(struct vty *vty, struct zebra_vrf *zvrf)
39 {
40 }
41
42 void zebra_vxlan_print_macs_all_vni_vtep(struct vty *vty,
43 struct zebra_vrf *zvrf,
44 struct in_addr vtep_ip)
45 {
46 }
47
48 void zebra_vxlan_print_specific_mac_vni(struct vty *vty, struct zebra_vrf *zvrf,
49 vni_t vni, struct ethaddr *mac)
50 {
51 }
52
53 void zebra_vxlan_print_macs_vni_vtep(struct vty *vty, struct zebra_vrf *zvrf,
54 vni_t vni, struct in_addr vtep_ip)
55 {
56 }
57
58 void zebra_vxlan_print_neigh_vni(struct vty *vty, struct zebra_vrf *zvrf,
59 vni_t vni)
60 {
61 }
62
63 void zebra_vxlan_print_neigh_all_vni(struct vty *vty, struct zebra_vrf *zvrf)
64 {
65 }
66
67 void zebra_vxlan_print_specific_neigh_vni(struct vty *vty,
68 struct zebra_vrf *zvrf, vni_t vni,
69 struct ipaddr *ip)
70 {
71 }
72
73 void zebra_vxlan_print_neigh_vni_vtep(struct vty *vty, struct zebra_vrf *zvrf,
74 vni_t vni, struct in_addr vtep_ip)
75 {
76 }
77
78 void zebra_vxlan_print_vni(struct vty *vty, struct zebra_vrf *zvrf, vni_t vni)
79 {
80 }
81
82 void zebra_vxlan_print_vnis(struct vty *vty, struct zebra_vrf *zvrf)
83 {
84 }
85
86 int zebra_vxlan_svi_up(struct interface *ifp, struct interface *link_if)
87 {
88 return 0;
89 }
90
91 int zebra_vxlan_svi_down(struct interface *ifp, struct interface *link_if)
92 {
93 return 0;
94 }
95
96 int zebra_vxlan_remote_macip_add(struct zserv *client, int sock, u_short length,
97 struct zebra_vrf *zvrf)
98 {
99 return 0;
100 }
101
102 int zebra_vxlan_remote_macip_del(struct zserv *client, int sock, u_short length,
103 struct zebra_vrf *zvrf)
104 {
105 return 0;
106 }
107
108 int zebra_vxlan_local_mac_add_update(struct interface *ifp,
109 struct interface *br_if,
110 struct ethaddr *mac, vlanid_t vid,
111 u_char sticky)
112 {
113 return 0;
114 }
115
116 int zebra_vxlan_local_mac_del(struct interface *ifp, struct interface *br_if,
117 struct ethaddr *mac, vlanid_t vid)
118 {
119 return 0;
120 }
121
122 int zebra_vxlan_check_readd_remote_mac(struct interface *ifp,
123 struct interface *br_if,
124 struct ethaddr *mac, vlanid_t vid)
125 {
126 return 0;
127 }
128
129 int zebra_vxlan_check_del_local_mac(struct interface *ifp,
130 struct interface *br_if,
131 struct ethaddr *mac, vlanid_t vid)
132 {
133 return 0;
134 }
135
136 int zebra_vxlan_if_up(struct interface *ifp)
137 {
138 return 0;
139 }
140
141 int zebra_vxlan_if_down(struct interface *ifp)
142 {
143 return 0;
144 }
145
146 int zebra_vxlan_if_add(struct interface *ifp)
147 {
148 return 0;
149 }
150
151 int zebra_vxlan_if_update(struct interface *ifp, u_int16_t chgflags)
152 {
153 return 0;
154 }
155
156 int zebra_vxlan_if_del(struct interface *ifp)
157 {
158 return 0;
159 }
160
161 int zebra_vxlan_remote_vtep_add(struct zserv *client, int sock, u_short length,
162 struct zebra_vrf *zvrf)
163 {
164 return 0;
165 }
166
167 int zebra_vxlan_remote_vtep_del(struct zserv *client, int sock, u_short length,
168 struct zebra_vrf *zvrf)
169 {
170 return 0;
171 }
172
173 int zebra_vxlan_advertise_all_vni(struct zserv *client, int sock,
174 u_short length, struct zebra_vrf *zvrf)
175 {
176 return 0;
177 }
178
179 void zebra_vxlan_init_tables(struct zebra_vrf *zvrf)
180 {
181 }
182
183 void zebra_vxlan_close_tables(struct zebra_vrf *zvrf)
184 {
185 }