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-action/flow-mod-spec
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends FlowModSpec> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getFlowModSpec

        FlowModSpec getFlowModSpec()
        Return flowModSpec, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.flow.mod.spec.FlowModSpec flowModSpec, or null if it is not present.