summaryrefslogtreecommitdiffhomepage
path: root/config/bgp_configs.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r--config/bgp_configs.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index 17baf726..d6c68782 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -1709,6 +1709,12 @@ type MpGracefulRestartState struct {
// original -> bgp-op:advertised
//bgp-op:advertised's original type is boolean
Advertised bool `mapstructure:"advertised"`
+ // original -> gobgp:end-of-rib-received
+ //gobgp:end-of-rib-received's original type is boolean
+ EndOfRibReceived bool `mapstructure:"end-of-rib-received"`
+ // original -> gobgp:end-of-rib-sent
+ //gobgp:end-of-rib-sent's original type is boolean
+ EndOfRibSent bool `mapstructure:"end-of-rib-sent"`
}
//struct for container bgp-mp:config
@@ -1787,6 +1793,8 @@ type GracefulRestartState struct {
LocalRestarting bool `mapstructure:"local-restarting"`
// original -> bgp-op:mode
Mode Mode `mapstructure:"mode"`
+ // original -> gobgp:deferral-time
+ DeferralTime uint16 `mapstructure:"deferral-time"`
}
//struct for container bgp:config
@@ -1802,6 +1810,8 @@ type GracefulRestartConfig struct {
// original -> bgp:helper-only
//bgp:helper-only's original type is boolean
HelperOnly bool `mapstructure:"helper-only"`
+ // original -> gobgp:deferral-time
+ DeferralTime uint16 `mapstructure:"deferral-time"`
}
//struct for container bgp:graceful-restart