Interface BgpAfiSafiGracefulRestartConfig
- 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
@Generated("mdsal-binding-generator")
public interface BgpAfiSafiGracefulRestartConfig
extends org.opendaylight.yangtools.binding.Grouping
BGP graceful restart parameters that apply on a per-AFI-SAFI basis
This class represents the following YANG schema fragment defined in module openconfig-bgp-multiprotocol
grouping bgp-afi-safi-graceful-restart_config { leaf enabled { type boolean; default false; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn enabled, ornull
if it is not present.default @NonNull Boolean
Return enabled, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getEnabled
Boolean getEnabled()Return enabled, ornull
if it is not present.This leaf indicates whether graceful-restart is enabled for this AFI-SAFI
- Returns:
Boolean
enabled, ornull
if it is not present.
-
requireEnabled
Return enabled, guaranteed to be non-null.This leaf indicates whether graceful-restart is enabled for this AFI-SAFI
- Returns:
Boolean
enabled, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enabled is not present
-