Interface BgpNeighborAfiSafiGracefulRestartState
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
NeighborAfiSafiGracefulRestartStateAugmentation
,State2
@Generated("mdsal-binding-generator")
public interface BgpNeighborAfiSafiGracefulRestartState
extends org.opendaylight.yangtools.binding.Grouping
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; } }
-
Method Summary
Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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
-