Interface BgpNeighborAfiSafiGracefulRestartState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NeighborAfiSafiGracefulRestartStateAugmentation
,State2
@Generated("mdsal-binding-generator") public interface BgpNeighborAfiSafiGracefulRestartState extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state variables relating to the graceful-restart mechanism on a per-AFI-SAFI basisThis class represents the following YANG schema fragment defined in module openconfig-bgp-operational
grouping bgp-neighbor-afi-safi-graceful-restart_state { leaf received { type boolean; } leaf advertised { type boolean; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Boolean
getAdvertised()
Return advertised, ornull
if it is not present.Boolean
getReceived()
Return received, ornull
if it is not present.Class<? extends BgpNeighborAfiSafiGracefulRestartState>
implementedInterface()
default @NonNull Boolean
requireAdvertised()
Return advertised, guaranteed to be non-null.default @NonNull Boolean
requireReceived()
Return received, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborAfiSafiGracefulRestartState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getReceived
Boolean getReceived()
Return received, ornull
if it is not present.This leaf indicates whether the neighbor advertised the ability to support graceful-restart for this AFI-SAFI
- Returns:
Boolean
received, ornull
if it is not present.
-
requireReceived
default @NonNull Boolean requireReceived()
Return received, guaranteed to be non-null.This leaf indicates whether the neighbor advertised the ability to support graceful-restart for this AFI-SAFI
- Returns:
Boolean
received, guaranteed to be non-null.- Throws:
NoSuchElementException
- if received is not present
-
getAdvertised
Boolean getAdvertised()
Return advertised, ornull
if it is not present.This leaf indicates whether the ability to support graceful-restart has been advertised to the peer
- Returns:
Boolean
advertised, ornull
if it is not present.
-
requireAdvertised
default @NonNull Boolean requireAdvertised()
Return advertised, guaranteed to be non-null.This leaf indicates whether the ability to support graceful-restart has been advertised to the peer
- Returns:
Boolean
advertised, guaranteed to be non-null.- Throws:
NoSuchElementException
- if advertised is not present
-
-