Interface BgpNeighborAfiSafiGracefulRestartState
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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 basis
This 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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn advertised, ornull
if it is not present.Return received, ornull
if it is not present.Class<? extends BgpNeighborAfiSafiGracefulRestartState>
default @NonNull Boolean
Return advertised, guaranteed to be non-null.default @NonNull Boolean
Return received, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends BgpNeighborAfiSafiGracefulRestartState> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
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
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
-