Interface LocalGenericSettings
- 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:
Config
,Config
,LocalAggregateConfig
,LocalStaticConfig
,State
,State
@Generated("mdsal-binding-generator")
public interface LocalGenericSettings
extends org.opendaylight.yangtools.yang.binding.DataObject
Generic options that can be set on local routes When they are defined
This class represents the following YANG schema fragment defined in module openconfig-local-routing
grouping local-generic-settings { leaf set-tag { type pt:tag-type; } }
-
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 setTag, ornull
if it is not present.Class<? extends LocalGenericSettings>
default @NonNull TagType
Return setTag, 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 LocalGenericSettings> 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
-
getSetTag
TagType getSetTag()Return setTag, ornull
if it is not present.Set a generic tag value on the route. This tag can be used for filtering routes that are distributed to other routing protocols.
- Returns:
TagType
setTag, ornull
if it is not present.
-
requireSetTag
Return setTag, guaranteed to be non-null.Set a generic tag value on the route. This tag can be used for filtering routes that are distributed to other routing protocols.
- Returns:
TagType
setTag, guaranteed to be non-null.- Throws:
NoSuchElementException
- if setTag is not present
-