diff options
author | Lou Berger <lberger@labn.net> | 2016-12-18 19:45:20 +0100 |
---|---|---|
committer | Lou Berger <lberger@labn.net> | 2017-01-02 21:04:47 +0100 |
commit | ccbb332a37bad94fe0418de1b0115b79a4171c5b (patch) | |
tree | d421bb01fd582bfc38e4ed9b3eeef4728e1b2726 /bgpd/bgp_vty.h | |
parent | BGP: deal with vnc related string ambiguities (issue #9) (diff) | |
download | frr-ccbb332a37bad94fe0418de1b0115b79a4171c5b.tar.xz frr-ccbb332a37bad94fe0418de1b0115b79a4171c5b.zip |
bgp: first pass at restoring missing vpn&encap show commands (issue#14)
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r-- | bgpd/bgp_vty.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h index 573e8c707..6b4e51bc5 100644 --- a/bgpd/bgp_vty.h +++ b/bgpd/bgp_vty.h @@ -30,6 +30,13 @@ struct bgp; #define BGP_INSTANCE_ALL_CMD "(view|vrf) all" #define BGP_INSTANCE_ALL_HELP_STR "BGP view\nBGP VRF\nAll Views/VRFs\n" +#define AFI_SAFI_STR \ + "Address family\n" \ + "Address Family modifier\n" \ + "Address Family modifier\n" \ + "Address Family modifier\n" \ + "Address Family modifier\n" + extern void bgp_vty_init (void); extern const char *afi_safi_print (afi_t, safi_t); extern int bgp_config_write_update_delay (struct vty *, struct bgp *); @@ -46,4 +53,7 @@ bgp_parse_afi(const char *str, afi_t *afi); extern int bgp_parse_safi(const char *str, safi_t *safi); +extern safi_t +bgp_vty_safi_from_arg(const char *safi_str); + #endif /* _QUAGGA_BGP_VTY_H */ |