]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/bgp_evpn_vty.h
bgpd: fix the IGP metric for best path selection on VPN import
[mirror_frr.git] / bgpd / bgp_evpn_vty.h
CommitLineData
784d3a42 1/* EVPN VTY functions to EVPN
896014f4
DL
2 * Copyright (C) 2017 6WIND
3 *
4 * This file is part of FRRouting.
5 *
6 * FRRouting is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
10 *
11 * FRRouting is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
784d3a42
PG
20
21#ifndef _FRR_BGP_EVPN_VTY_H
22#define _FRR_BGP_EVPN_VTY_H
23
d62a17ae 24extern void bgp_config_write_evpn_info(struct vty *vty, struct bgp *bgp,
2b791107 25 afi_t afi, safi_t safi);
4d0e6ece 26extern void bgp_ethernetvpn_init(void);
784d3a42 27
4c63a661
PG
28#define L2VPN_HELP_STR "Layer 2 Virtual Private Network\n"
29#define EVPN_HELP_STR "Ethernet Virtual Private Network\n"
852d9f97
SW
30#define VNI_HELP_STR "VXLAN Network Identifier\n"
31#define VNI_NUM_HELP_STR "VNI number\n"
32#define VNI_ALL_HELP_STR "All VNIs\n"
33#define DETAIL_HELP_STR "Print Detailed Output\n"
34#define VTEP_HELP_STR "Remote VTEP\n"
35#define VTEP_IP_HELP_STR "Remote VTEP IP address\n"
4c63a661 36
d4a88de3
AD
37extern int argv_find_and_parse_oly_idx(struct cmd_token **argv, int argc,
38 int *oly_idx,
39 enum overlay_index_type *oly);
40
15dc08a6
SW
41/* Parse type from "type <ead|1|...>", return -1 on failure */
42extern int bgp_evpn_cli_parse_type(int *type, struct cmd_token **argv,
43 int argc);
44
d62a17ae 45#endif /* _QUAGGA_BGP_EVPN_VTY_H */