]> git.proxmox.com Git - mirror_frr.git/blame - zebra/zebra_vxlan_null.c
Merge branch 'master' into type5-default-originate
[mirror_frr.git] / zebra / zebra_vxlan_null.c
CommitLineData
13d60d35 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
d62a17ae 33void zebra_vxlan_print_macs_vni(struct vty *vty, struct zebra_vrf *zvrf,
34 vni_t vni)
cec2e17d 35{
36}
37
d62a17ae 38void zebra_vxlan_print_macs_all_vni(struct vty *vty, struct zebra_vrf *zvrf)
cec2e17d 39{
40}
41
d62a17ae 42void zebra_vxlan_print_macs_all_vni_vtep(struct vty *vty,
43 struct zebra_vrf *zvrf,
44 struct in_addr vtep_ip)
cec2e17d 45{
46}
47
d62a17ae 48void zebra_vxlan_print_specific_mac_vni(struct vty *vty, struct zebra_vrf *zvrf,
49 vni_t vni, struct ethaddr *mac)
cec2e17d 50{
51}
52
d62a17ae 53void zebra_vxlan_print_macs_vni_vtep(struct vty *vty, struct zebra_vrf *zvrf,
54 vni_t vni, struct in_addr vtep_ip)
cec2e17d 55{
56}
57
d62a17ae 58void zebra_vxlan_print_neigh_vni(struct vty *vty, struct zebra_vrf *zvrf,
59 vni_t vni)
cec2e17d 60{
61}
62
d62a17ae 63void zebra_vxlan_print_neigh_all_vni(struct vty *vty, struct zebra_vrf *zvrf)
cec2e17d 64{
65}
66
d62a17ae 67void zebra_vxlan_print_specific_neigh_vni(struct vty *vty,
68 struct zebra_vrf *zvrf, vni_t vni,
69 struct ipaddr *ip)
cec2e17d 70{
71}
72
d62a17ae 73void zebra_vxlan_print_neigh_vni_vtep(struct vty *vty, struct zebra_vrf *zvrf,
74 vni_t vni, struct in_addr vtep_ip)
cec2e17d 75{
76}
77
d62a17ae 78void zebra_vxlan_print_vni(struct vty *vty, struct zebra_vrf *zvrf, vni_t vni)
cec2e17d 79{
80}
81
d62a17ae 82void zebra_vxlan_print_vnis(struct vty *vty, struct zebra_vrf *zvrf)
cec2e17d 83{
84}
85
4cce389e
MK
86void zebra_vxlan_print_evpn(struct vty *vty, u_char uj)
87{
88}
89
996c9314 90void zebra_vxlan_print_rmacs_l3vni(struct vty *, vni_t, u_char)
b7cfce93
MK
91{
92}
93
996c9314 94void zebra_vxlan_print_rmacs_all_l3vni(struct vty *, u_char)
b7cfce93
MK
95{
96}
97
996c9314 98void zebra_vxlan_print_nh_l3vni(struct vty *, vni_t, u_char)
b7cfce93
MK
99{
100}
101
996c9314 102void zebra_vxlan_print_nh_all_l3vni(struct vty *, u_char)
b7cfce93
MK
103{
104}
105
106void zebra_vxlan_print_l3vni(struct vty *vty, vni_t vni)
107{
108}
109
d62a17ae 110int zebra_vxlan_svi_up(struct interface *ifp, struct interface *link_if)
2232a77c 111{
d62a17ae 112 return 0;
2232a77c 113}
114
d62a17ae 115int zebra_vxlan_svi_down(struct interface *ifp, struct interface *link_if)
2232a77c 116{
d62a17ae 117 return 0;
2232a77c 118}
119
d62a17ae 120int zebra_vxlan_remote_macip_add(struct zserv *client, int sock, u_short length,
121 struct zebra_vrf *zvrf)
2232a77c 122{
d62a17ae 123 return 0;
2232a77c 124}
125
d62a17ae 126int zebra_vxlan_remote_macip_del(struct zserv *client, int sock, u_short length,
127 struct zebra_vrf *zvrf)
2232a77c 128{
d62a17ae 129 return 0;
2232a77c 130}
131
d62a17ae 132int zebra_vxlan_local_mac_add_update(struct interface *ifp,
133 struct interface *br_if,
134 struct ethaddr *mac, vlanid_t vid,
135 u_char sticky)
2232a77c 136{
d62a17ae 137 return 0;
2232a77c 138}
139
d62a17ae 140int zebra_vxlan_local_mac_del(struct interface *ifp, struct interface *br_if,
141 struct ethaddr *mac, vlanid_t vid)
2232a77c 142{
d62a17ae 143 return 0;
2232a77c 144}
145
d62a17ae 146int zebra_vxlan_check_readd_remote_mac(struct interface *ifp,
147 struct interface *br_if,
148 struct ethaddr *mac, vlanid_t vid)
2232a77c 149{
d62a17ae 150 return 0;
2232a77c 151}
152
d62a17ae 153int zebra_vxlan_check_del_local_mac(struct interface *ifp,
154 struct interface *br_if,
155 struct ethaddr *mac, vlanid_t vid)
2232a77c 156{
d62a17ae 157 return 0;
2232a77c 158}
159
d62a17ae 160int zebra_vxlan_if_up(struct interface *ifp)
13d60d35 161{
d62a17ae 162 return 0;
13d60d35 163}
164
d62a17ae 165int zebra_vxlan_if_down(struct interface *ifp)
13d60d35 166{
d62a17ae 167 return 0;
13d60d35 168}
169
d62a17ae 170int zebra_vxlan_if_add(struct interface *ifp)
13d60d35 171{
d62a17ae 172 return 0;
13d60d35 173}
174
d62a17ae 175int zebra_vxlan_if_update(struct interface *ifp, u_int16_t chgflags)
13d60d35 176{
d62a17ae 177 return 0;
13d60d35 178}
179
d62a17ae 180int zebra_vxlan_if_del(struct interface *ifp)
13d60d35 181{
d62a17ae 182 return 0;
13d60d35 183}
184
d62a17ae 185int zebra_vxlan_remote_vtep_add(struct zserv *client, int sock, u_short length,
186 struct zebra_vrf *zvrf)
13d60d35 187{
d62a17ae 188 return 0;
13d60d35 189}
190
d62a17ae 191int zebra_vxlan_remote_vtep_del(struct zserv *client, int sock, u_short length,
192 struct zebra_vrf *zvrf)
13d60d35 193{
d62a17ae 194 return 0;
13d60d35 195}
196
d62a17ae 197int zebra_vxlan_advertise_all_vni(struct zserv *client, int sock,
198 u_short length, struct zebra_vrf *zvrf)
13d60d35 199{
d62a17ae 200 return 0;
13d60d35 201}
202
d62a17ae 203void zebra_vxlan_init_tables(struct zebra_vrf *zvrf)
13d60d35 204{
205}
206
d62a17ae 207void zebra_vxlan_close_tables(struct zebra_vrf *zvrf)
13d60d35 208{
209}
84915b0a 210
211void zebra_vxlan_cleanup_tables(struct zebra_vrf *zvrf)
212{
213}