Package org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714
Interface FlowModSpec
-
- All Superinterfaces:
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 openflowplugin-extension-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; } } } } }
The schema path to identify an instance is openflowplugin-extension-nicira-actionflow-mod-spec
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FlowModSpec
getFlowModSpec()
Return flowModSpec, ornull
if it is not present.Class<? extends FlowModSpec>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends FlowModSpec> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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.openflowplugin.extension.nicira.action.rev140714.flow.mod.spec.FlowModSpec
flowModSpec, ornull
if it is not present.
-
-