From 8fd25af4ce9ab902e24eb06644ef2e9c42cee7e0 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Tue, 17 May 2016 08:50:55 +0900 Subject: zebra: make zebra config consistent with the rests - split config and state - move to Bgp structure (aligned with Rpki, Bmp, and Mrt) Also makes zebra configured via GRPC channel. Signed-off-by: FUJITA Tomonori --- gobgpd/main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gobgpd/main.go') diff --git a/gobgpd/main.go b/gobgpd/main.go index fc0d6e2c..7a04eef7 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -205,6 +205,9 @@ func main() { if err := bgpServer.SetGlobalType(newConfig.Global); err != nil { log.Fatalf("failed to set global config: %s", err) } + if err := bgpServer.SetZebraConfig(newConfig.Zebra); err != nil { + log.Fatalf("failed to set zebra config: %s", err) + } if err := bgpServer.SetRpkiConfig(newConfig.RpkiServers); err != nil { log.Fatalf("failed to set rpki config: %s", err) } -- cgit v1.2.3