From d280168106c9ef9ed68ad117b913f52e6bae1827 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sat, 6 Feb 2016 14:19:43 -0800 Subject: add route collector feature support like openbgp's route collector, sends all updates (not only best). Signed-off-by: FUJITA Tomonori --- config/bgp_configs.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config/bgp_configs.go') diff --git a/config/bgp_configs.go b/config/bgp_configs.go index 4191bbd2..17baf726 100644 --- a/config/bgp_configs.go +++ b/config/bgp_configs.go @@ -1503,6 +1503,13 @@ type BmpServer struct { State BmpServerState `mapstructure:"state"` } +//struct for container gobgp:collector +type Collector struct { + // original -> gobgp:enabled + //gobgp:enabled's original type is boolean + Enabled bool `mapstructure:"enabled"` +} + //struct for container bgp-mp:l2vpn-evpn type L2vpnEvpn struct { // original -> bgp-mp:prefix-limit @@ -2031,6 +2038,8 @@ type Global struct { AfiSafis []AfiSafi `mapstructure:"afi-safis"` // original -> rpol:apply-policy ApplyPolicy ApplyPolicy `mapstructure:"apply-policy"` + // original -> gobgp:collector + Collector Collector `mapstructure:"collector"` // original -> gobgp:bmp-servers BmpServers []BmpServer `mapstructure:"bmp-servers"` // original -> gobgp:mrt -- cgit v1.2.3