diff options
author | Hitoshi Irino <irino@sfc.wide.ad.jp> | 2019-05-05 20:35:52 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-05-08 08:48:26 +0900 |
commit | 7d2823d4c037caf39c7222632669210a4b6d1ed4 (patch) | |
tree | db6523171ffe4f086629ec95108cfa2cc6766d43 /cmd | |
parent | cc267fad9e6410705420af220d73d25d288e8a58 (diff) |
zebra: supporting FRRouting version 7
- the "version" parameter (which means ZAPI) 6 in zebra config changes supporting FRRouting version 7 instead of FRRouting version 6.
- the "software-name" parameter which supports backward compatibility is added in zebra config.
(GoBGP support FRRouting version 6 when "version = 6" and "software-name = frr6" is configured.)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gobgpd/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index 546b4e47..015b0a4b 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -257,6 +257,7 @@ func main() { NexthopTriggerEnable: c.Zebra.Config.NexthopTriggerEnable, NexthopTriggerDelay: uint32(c.Zebra.Config.NexthopTriggerDelay), MplsLabelRangeSize: uint32(c.Zebra.Config.MplsLabelRangeSize), + SoftwareName: c.Zebra.Config.SoftwareName, }); err != nil { log.Fatalf("failed to set zebra config: %s", err) } |