Interface NodeConfig
- 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:
SetConfigInput
@Generated("mdsal-binding-generator")
public interface NodeConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Openflow device initial configuration structure.
This class represents the following YANG schema fragment defined in module node-config
grouping node-config { leaf flag { type string; } leaf miss-search-length { type uint16; } }
-
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 TypeMethodDescriptiongetFlag()
Return flag, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
Return missSearchLength, ornull
if it is not present.Class<? extends NodeConfig>
default @NonNull String
Return flag, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
Return missSearchLength, 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 NodeConfig> 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
-
getFlag
String getFlag()Return flag, ornull
if it is not present.Switch config flag. Expected values FRAGNORMAL, OFPCFRAGDROP, OFPCFRAGREASM, OFPCFRAGMASK
- Returns:
String
flag, ornull
if it is not present.
-
requireFlag
Return flag, guaranteed to be non-null.Switch config flag. Expected values FRAGNORMAL, OFPCFRAGDROP, OFPCFRAGREASM, OFPCFRAGMASK
- Returns:
String
flag, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flag is not present
-
getMissSearchLength
org.opendaylight.yangtools.yang.common.Uint16 getMissSearchLength()Return missSearchLength, ornull
if it is not present.- Returns:
Uint16
missSearchLength, ornull
if it is not present.
-
requireMissSearchLength
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireMissSearchLength()Return missSearchLength, guaranteed to be non-null.- Returns:
Uint16
missSearchLength, guaranteed to be non-null.- Throws:
NoSuchElementException
- if missSearchLength is not present
-