]> git.proxmox.com Git - mirror_frr.git/blame - zebra/zebra_mlag.c
lib: Add mlag_role2str function
[mirror_frr.git] / zebra / zebra_mlag.c
CommitLineData
df395600
DS
1/* Zebra Mlag Code.
2 * Copyright (C) 2018 Cumulus Networks, Inc.
3 * Donald Sharp
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#include "zebra.h"
23
24#include "hook.h"
25
26#include "zebra/zebra_mlag.h"
27
ff1fb8d5
DS
28enum mlag_role role = MLAG_ROLE_NONE;
29
30enum mlag_role zebra_mlag_get_role(void)
31{
32 return role;
33}
34
df395600
DS
35void zebra_mlag_init(void)
36{
37}
38
39void zebra_mlag_terminate(void)
40{
41}