summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2020-09-16 06:56:10 +0200
committerChirag Shah <chirag@nvidia.com>2020-10-27 19:27:03 +0100
commitf4b8ec07219cce13c8627efe311247ee06f3a8ab (patch)
tree32587bb81a570b61801aca2ff2e13625a49c89b4 /bgpd/bgp_vty.h
parentlib: add flowspec safi to identitiy ref parsing (diff)
downloadfrr-f4b8ec07219cce13c8627efe311247ee06f3a8ab.tar.xz
frr-f4b8ec07219cce13c8627efe311247ee06f3a8ab.zip
bgpd: neighbor peergrp config to transactional cli
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r--bgpd/bgp_vty.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h
index 349efbac4..07f61ab0e 100644
--- a/bgpd/bgp_vty.h
+++ b/bgpd/bgp_vty.h
@@ -194,5 +194,20 @@ 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);
+extern int bgp_nb_errmsg_return(char *errmsg, size_t errmsg_len, int ret);
+extern bool peer_address_self_check(struct bgp *bgp, union sockunion *su);
+extern int peer_local_interface_cfg(struct bgp *bgp, const char *ip_str,
+ const char *str, char *errmsg,
+ size_t errmsg_len);
+extern int peer_conf_interface_create(struct bgp *bgp, const char *conf_if,
+ afi_t afi, safi_t safi, bool v6only,
+ const char *peer_group_name, int as_type,
+ as_t as, char *errmsg, size_t errmsg_len);
+extern int peer_flag_modify_nb(struct bgp *bgp, const char *ip_str,
+ struct peer *peer, uint32_t flag, bool set,
+ char *errmsg, size_t errmsg_len);
+extern int peer_af_flag_modify_nb(struct peer *peer, afi_t afi, safi_t safi,
+ uint32_t flag, int set, char *errmsg,
+ size_t errmsg_len);
#endif /* _QUAGGA_BGP_VTY_H */