Interface BgpAfiSafiGracefulRestartState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NeighborGracefulRestartStateAugmentation
,State5
public interface BgpAfiSafiGracefulRestartState extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state information relevant to graceful restart for BGPThis class represents the following YANG schema fragment defined in module openconfig-bgp-operational
grouping bgp-afi-safi-graceful-restart_state { leaf peer-restart-time { type uint16 { range 0..4096; } } leaf peer-restarting { type boolean; } leaf local-restarting { type boolean; } leaf mode { type enumeration { enum HELPER-ONLY { } enum BILATERAL { } enum REMOTE-HELPER { } } } }
The schema path to identify an instance is openconfig-bgp-operational/bgp-afi-safi-graceful-restart_state
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BgpAfiSafiGracefulRestartState.Mode
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BgpAfiSafiGracefulRestartState.Mode
getMode()
Ths leaf indicates the mode of operation of BGP graceful restart with the peerorg.opendaylight.yangtools.yang.common.Uint16
getPeerRestartTime()
The period of time (advertised by the peer) that the peer expects a restart of a BGP session to takeClass<? extends BgpAfiSafiGracefulRestartState>
implementedInterface()
Boolean
isLocalRestarting()
This flag indicates whether the local neighbor is currently restarting.Boolean
isPeerRestarting()
This flag indicates whether the remote neighbor is currently in the process of restarting, and hence received routes are currently stale
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpAfiSafiGracefulRestartState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPeerRestartTime
org.opendaylight.yangtools.yang.common.Uint16 getPeerRestartTime()
The period of time (advertised by the peer) that the peer expects a restart of a BGP session to take- Returns:
org.opendaylight.yangtools.yang.common.Uint16
peerRestartTime
, ornull
if not present
-
isPeerRestarting
Boolean isPeerRestarting()
This flag indicates whether the remote neighbor is currently in the process of restarting, and hence received routes are currently stale- Returns:
java.lang.Boolean
peerRestarting
, ornull
if not present
-
isLocalRestarting
Boolean isLocalRestarting()
This flag indicates whether the local neighbor is currently restarting. The flag is unset after all NLRI have been advertised to the peer, and the End-of-RIB (EOR) marker has been unset- Returns:
java.lang.Boolean
localRestarting
, ornull
if not present
-
getMode
BgpAfiSafiGracefulRestartState.Mode getMode()
Ths leaf indicates the mode of operation of BGP graceful restart with the peer- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.operational.rev151009.BgpAfiSafiGracefulRestartState.Mode
mode
, ornull
if not present
-
-