From b55c32ce65c9b6e0c9f4620e6acb27e0e49f238d Mon Sep 17 00:00:00 2001 From: Hitoshi Irino Date: Sun, 29 Nov 2020 12:23:28 +0900 Subject: 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. --- internal/pkg/config/bgp_configs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/pkg/config/bgp_configs.go') 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"` } -- cgit v1.2.3