Interface FlowModSpec
- 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:
FlowMods
@Generated("mdsal-binding-generator")
public interface FlowModSpec
extends org.opendaylight.yangtools.yang.binding.DataObject
flow mod spec indicates the actions that should be performed to create a new
flow which was learned from learn action.
This class represents the following YANG schema fragment defined in module nicira-action
grouping flow-mod-spec { choice flow-mod-spec { case flow-mod-add-match-from-field-case { container flow-mod-add-match-from-field { leaf flow-mod-num-bits { type uint16; } leaf src-field { type uint32; } leaf src-ofs { type uint16; } leaf dst-field { type uint32; } leaf dst-ofs { type uint16; } } } case flow-mod-add-match-from-value-case { container flow-mod-add-match-from-value { leaf flow-mod-num-bits { type uint16; } leaf value { type uint16; } leaf src-field { type uint32; } leaf src-ofs { type uint16; } } } case flow-mod-copy-field-into-field-case { container flow-mod-copy-field-into-field { leaf flow-mod-num-bits { type uint16; } leaf src-field { type uint32; } leaf src-ofs { type uint16; } leaf dst-field { type uint32; } leaf dst-ofs { type uint16; } } } case flow-mod-copy-value-into-field-case { container flow-mod-copy-value-into-field { leaf flow-mod-num-bits { type uint16; } leaf value { type uint16; } leaf dst-field { type uint32; } leaf dst-ofs { type uint16; } } } case flow-mod-output-to-port-case { container flow-mod-output-to-port { leaf flow-mod-num-bits { type uint16; } leaf src-field { type uint32; } leaf src-ofs { 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 TypeMethodDescriptionReturn flowModSpec, ornull
if it is not present.Class<? extends FlowModSpec>
-
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 FlowModSpec> 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
-
getFlowModSpec
FlowModSpec getFlowModSpec()Return flowModSpec, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.action.rev140421.flow.mod.spec.FlowModSpec
flowModSpec, ornull
if it is not present.
-