diff options
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r-- | config/bgp_configs.go | 9 |
1 files changed, 9 insertions, 0 deletions
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 |