Interface BgpNeighborLoggingOptionsConfig
- 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
@Generated("mdsal-binding-generator")
public interface BgpNeighborLoggingOptionsConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters specifying the logging behaviour for BGP sessions to
the peer
This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor-logging-options_config { leaf log-neighbor-state-changes { type boolean; default true; } }
-
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 logNeighborStateChanges, ornull
if it is not present.Class<? extends BgpNeighborLoggingOptionsConfig>
default @NonNull Boolean
Return logNeighborStateChanges, 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 BgpNeighborLoggingOptionsConfig> 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
-
getLogNeighborStateChanges
Boolean getLogNeighborStateChanges()Return logNeighborStateChanges, ornull
if it is not present.Configure logging of peer state changes. Default is to enable logging of peer state changes.
- Returns:
Boolean
logNeighborStateChanges, ornull
if it is not present.
-
requireLogNeighborStateChanges
Return logNeighborStateChanges, guaranteed to be non-null.Configure logging of peer state changes. Default is to enable logging of peer state changes.
- Returns:
Boolean
logNeighborStateChanges, guaranteed to be non-null.- Throws:
NoSuchElementException
- if logNeighborStateChanges is not present
-