diff options
author | Hitoshi Irino <irino@sfc.wide.ad.jp> | 2020-11-29 12:23:28 +0900 |
---|---|---|
committer | Hitoshi Irino <irino@sfc.wide.ad.jp> | 2020-11-29 12:23:28 +0900 |
commit | b55c32ce65c9b6e0c9f4620e6acb27e0e49f238d (patch) | |
tree | 18b790097b5a5ea41bfdf0e29826875353b350fb /internal/pkg/config | |
parent | c5dcfb72a847899e188ab5a77dd8e31a05a15be7 (diff) |
Support of FRR7.5
This commit works with FRR7.5 when "version = 6" is specified in zebra.config
- Changes Zebra internal API commands to FRR7.5 which is incompatible with older version.
- Changes SendHello() to include AFI
- Changes SendRouteIDAdd() to include AFI
- Changes decodeFromBytes/serialize of IPRouteBody and NexthopUpdateBody, because size of MESSAGE_FALG is changed.
Diffstat (limited to 'internal/pkg/config')
-rw-r--r-- | internal/pkg/config/bgp_configs.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/config/bgp_configs.go b/internal/pkg/config/bgp_configs.go index 6d8fd26c..7777cacb 100644 --- a/internal/pkg/config/bgp_configs.go +++ b/internal/pkg/config/bgp_configs.go @@ -1141,7 +1141,7 @@ type ZebraState struct { MplsLabelRangeSize uint32 `mapstructure:"mpls-label-range-size" json:"mpls-label-range-size,omitempty"` // original -> gobgp:software-name // Configure zebra software name. - // frr4, cumulus, frr6, frr7, and frr7.2 can be used. + // frr4, cumulus, frr6, frr7, frr7.2, and frr7.3 can be used. SoftwareName string `mapstructure:"software-name" json:"software-name,omitempty"` } @@ -1171,7 +1171,7 @@ type ZebraConfig struct { MplsLabelRangeSize uint32 `mapstructure:"mpls-label-range-size" json:"mpls-label-range-size,omitempty"` // original -> gobgp:software-name // Configure zebra software name. - // frr4, cumulus, frr6, frr7, and frr7.2 can be used. + // frr4, cumulus, frr6, frr7, frr7.2, and frr7.3 can be used. SoftwareName string `mapstructure:"software-name" json:"software-name,omitempty"` } |