summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-09-13 22:39:21 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-09-13 22:39:21 +0900
commit5be31cce0de1797664d4125957d157991a6fbd4a (patch)
tree5a54a2f12184ea6d7bface519707bf878df859f9 /gobgpd/main.go
parentc717f53456e0c1ac256377bfdd933431cc6a66bd (diff)
Add bmp support
Can be enabled like: [Global] [Global.GlobalConfig] As = 64512 RouterId = "10.0.255.254" [BmpServers] [[BmpServers.BmpServerList]] [BmpServers.BmpServerList.BmpServerConfig] Address = "127.0.0.1" Port=11019 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index 0ad19255..0fcfddf6 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -179,6 +179,7 @@ func main() {
bgpServer.SetGlobalType(newConfig.Bgp.Global)
bgpConfig = &newConfig.Bgp
bgpServer.SetRpkiConfig(newConfig.Bgp.RpkiServers)
+ bgpServer.SetBmpConfig(newConfig.Bgp.BmpServers)
added = newConfig.Bgp.Neighbors.NeighborList
deleted = []config.Neighbor{}
updated = []config.Neighbor{}