summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-12-18 19:45:20 +0100
committerLou Berger <lberger@labn.net>2017-01-02 21:04:47 +0100
commitccbb332a37bad94fe0418de1b0115b79a4171c5b (patch)
treed421bb01fd582bfc38e4ed9b3eeef4728e1b2726 /bgpd/bgp_vty.h
parentBGP: deal with vnc related string ambiguities (issue #9) (diff)
downloadfrr-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.h10
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 */