diff options
author | Chirag Shah <chirag@nvidia.com> | 2020-08-19 06:21:16 +0200 |
---|---|---|
committer | Chirag Shah <chirag@nvidia.com> | 2020-10-26 16:57:15 +0100 |
commit | 37a87b8f9865fe17a235b9a76a0dc47f03aae3df (patch) | |
tree | 2bb7bd1cf804d611caca8671de907435d95a9032 /bgpd/bgp_vty.h | |
parent | lib: handle exit cmd for bgp afi-safi nodes (diff) | |
download | frr-37a87b8f9865fe17a235b9a76a0dc47f03aae3df.tar.xz frr-37a87b8f9865fe17a235b9a76a0dc47f03aae3df.zip |
bgpd: convert addr-family clis to transactional clis
Convert IPv4 and IPv6 unicast address family clis
to transactional clis and implementation of
northbound callbacks.
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r-- | bgpd/bgp_vty.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h index a9e86ec09..349efbac4 100644 --- a/bgpd/bgp_vty.h +++ b/bgpd/bgp_vty.h @@ -186,6 +186,13 @@ extern int bgp_clear_star_soft_out(const char *name, char *errmsg, size_t errmsg_len); int bgp_wpkt_quanta_config_vty(struct bgp *bgp, uint32_t quanta, bool set); int bgp_rpkt_quanta_config_vty(struct bgp *bgp, uint32_t quanta, bool set); - +extern int bgp_maxpaths_config_vty(struct bgp *bgp, afi_t afi, safi_t safi, + int peer_type, uint16_t maxpaths, + uint16_t options, int set, char *errmsg, + size_t errmsg_len); +extern const char *bgp_afi_safi_get_container_str(afi_t afi, safi_t safi); +extern bool vpn_policy_check_import(struct bgp *bgp, afi_t afi, safi_t safi, + bool v2vimport, char *errmsg, + size_t errmsg_len); #endif /* _QUAGGA_BGP_VTY_H */ |