Interface NodeConfig
- 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:
SetConfigInput
@Generated("mdsal-binding-generator")
public interface NodeConfig
extends org.opendaylight.yangtools.binding.Grouping
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;
}
}
-
Method Summary
Modifier and TypeMethodDescriptiongetFlag()Return flag, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return missSearchLength, ornullif it is not present.default @NonNull StringReturn flag, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return missSearchLength, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getFlag
String getFlag()Return flag, ornullif it is not present.Switch config flag. Expected values FRAGNORMAL, OFPCFRAGDROP, OFPCFRAGREASM, OFPCFRAGMASK- Returns:
Stringflag, ornullif it is not present.
-
requireFlag
Return flag, guaranteed to be non-null.Switch config flag. Expected values FRAGNORMAL, OFPCFRAGDROP, OFPCFRAGREASM, OFPCFRAGMASK- Returns:
Stringflag, guaranteed to be non-null.- Throws:
NoSuchElementException- if flag is not present
-
getMissSearchLength
org.opendaylight.yangtools.yang.common.Uint16 getMissSearchLength()Return missSearchLength, ornullif it is not present.- Returns:
Uint16missSearchLength, ornullif it is not present.
-
requireMissSearchLength
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireMissSearchLength()Return missSearchLength, guaranteed to be non-null.- Returns:
Uint16missSearchLength, guaranteed to be non-null.- Throws:
NoSuchElementException- if missSearchLength is not present
-