Interface FlowMod$G
- All Superinterfaces:
ActionsGrouping,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,InstructionsGrouping,MatchGrouping,MatchV10Grouping,OfHeader
- All Known Subinterfaces:
FlowModCaseData,FlowModInput
@Generated("mdsal-binding-generator")
public interface FlowMod$G
extends org.opendaylight.yangtools.binding.Grouping, OfHeader, MatchGrouping, InstructionsGrouping, MatchV10Grouping, ActionsGrouping
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping flow-mod {
uses ofHeader;
leaf cookie {
type uint64;
}
leaf cookie-mask {
type uint64;
}
leaf table-id {
type oft:table-id;
}
leaf command {
type oft:flow-mod-command;
}
leaf idle-timeout {
type uint16;
}
leaf hard-timeout {
type uint16;
}
leaf priority {
type uint16;
}
leaf buffer-id {
type uint32;
}
leaf out-port {
type oft:port-number;
}
leaf out-group {
type uint32;
}
leaf flags {
type oft:flow-mod-flags;
}
uses oxm:match-grouping;
uses ofinstruction:instructions-grouping;
leaf flags-v10 {
type oft:flow-mod-flags-v10;
}
uses oxm:match-v10-grouping;
uses ofaction:actions-grouping;
}
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32Return bufferId, ornullif it is not present.Return command, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64Return cookie, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64Return cookieMask, ornullif it is not present.getFlags()Return flags, ornullif it is not present.Return flagsV10, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return hardTimeout, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return idleTimeout, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return outGroup, ornullif it is not present.Return outPort, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return priority, ornullif it is not present.Return tableId, ornullif it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return bufferId, guaranteed to be non-null.default @NonNull FlowModCommandReturn command, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64Return cookie, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64Return cookieMask, guaranteed to be non-null.default @NonNull FlowModFlagsReturn flags, guaranteed to be non-null.default @NonNull FlowModFlagsV10Return flagsV10, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return hardTimeout, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return idleTimeout, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return outGroup, guaranteed to be non-null.default @NonNull PortNumberReturn outPort, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return priority, guaranteed to be non-null.default @NonNull TableIdReturn tableId, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.ActionsGrouping
getAction, nonnullActionMethods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterfaceMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.InstructionsGrouping
getInstruction, nonnullInstructionMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.MatchGrouping
getMatch, nonnullMatchMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.MatchV10Grouping
getMatchV10, nonnullMatchV10Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
Method Details
-
getCookie
org.opendaylight.yangtools.yang.common.Uint64 getCookie()Return cookie, ornullif it is not present.- Returns:
Uint64cookie, ornullif it is not present.
-
requireCookie
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireCookie()Return cookie, guaranteed to be non-null.- Returns:
Uint64cookie, guaranteed to be non-null.- Throws:
NoSuchElementException- if cookie is not present
-
getCookieMask
org.opendaylight.yangtools.yang.common.Uint64 getCookieMask()Return cookieMask, ornullif it is not present.- Returns:
Uint64cookieMask, ornullif it is not present.
-
requireCookieMask
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireCookieMask()Return cookieMask, guaranteed to be non-null.- Returns:
Uint64cookieMask, guaranteed to be non-null.- Throws:
NoSuchElementException- if cookieMask is not present
-
getTableId
TableId getTableId()Return tableId, ornullif it is not present.- Returns:
TableIdtableId, ornullif it is not present.
-
requireTableId
Return tableId, guaranteed to be non-null.- Returns:
TableIdtableId, guaranteed to be non-null.- Throws:
NoSuchElementException- if tableId is not present
-
getCommand
FlowModCommand getCommand()Return command, ornullif it is not present.- Returns:
FlowModCommandcommand, ornullif it is not present.
-
requireCommand
Return command, guaranteed to be non-null.- Returns:
FlowModCommandcommand, guaranteed to be non-null.- Throws:
NoSuchElementException- if command is not present
-
getIdleTimeout
org.opendaylight.yangtools.yang.common.Uint16 getIdleTimeout()Return idleTimeout, ornullif it is not present.- Returns:
Uint16idleTimeout, ornullif it is not present.
-
requireIdleTimeout
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireIdleTimeout()Return idleTimeout, guaranteed to be non-null.- Returns:
Uint16idleTimeout, guaranteed to be non-null.- Throws:
NoSuchElementException- if idleTimeout is not present
-
getHardTimeout
org.opendaylight.yangtools.yang.common.Uint16 getHardTimeout()Return hardTimeout, ornullif it is not present.- Returns:
Uint16hardTimeout, ornullif it is not present.
-
requireHardTimeout
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireHardTimeout()Return hardTimeout, guaranteed to be non-null.- Returns:
Uint16hardTimeout, guaranteed to be non-null.- Throws:
NoSuchElementException- if hardTimeout is not present
-
getPriority
org.opendaylight.yangtools.yang.common.Uint16 getPriority()Return priority, ornullif it is not present.- Returns:
Uint16priority, ornullif it is not present.
-
requirePriority
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requirePriority()Return priority, guaranteed to be non-null.- Returns:
Uint16priority, guaranteed to be non-null.- Throws:
NoSuchElementException- if priority is not present
-
getBufferId
org.opendaylight.yangtools.yang.common.Uint32 getBufferId()Return bufferId, ornullif it is not present.- Returns:
Uint32bufferId, ornullif it is not present.
-
requireBufferId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBufferId()Return bufferId, guaranteed to be non-null.- Returns:
Uint32bufferId, guaranteed to be non-null.- Throws:
NoSuchElementException- if bufferId is not present
-
getOutPort
PortNumber getOutPort()Return outPort, ornullif it is not present.- Returns:
PortNumberoutPort, ornullif it is not present.
-
requireOutPort
Return outPort, guaranteed to be non-null.- Returns:
PortNumberoutPort, guaranteed to be non-null.- Throws:
NoSuchElementException- if outPort is not present
-
getOutGroup
org.opendaylight.yangtools.yang.common.Uint32 getOutGroup()Return outGroup, ornullif it is not present.- Returns:
Uint32outGroup, ornullif it is not present.
-
requireOutGroup
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireOutGroup()Return outGroup, guaranteed to be non-null.- Returns:
Uint32outGroup, guaranteed to be non-null.- Throws:
NoSuchElementException- if outGroup is not present
-
getFlags
FlowModFlags getFlags()Return flags, ornullif it is not present.- Returns:
FlowModFlagsflags, ornullif it is not present.
-
requireFlags
Return flags, guaranteed to be non-null.- Returns:
FlowModFlagsflags, guaranteed to be non-null.- Throws:
NoSuchElementException- if flags is not present
-
getFlagsV10
FlowModFlagsV10 getFlagsV10()Return flagsV10, ornullif it is not present.- Returns:
FlowModFlagsV10flagsV10, ornullif it is not present.
-
requireFlagsV10
Return flagsV10, guaranteed to be non-null.- Returns:
FlowModFlagsV10flagsV10, guaranteed to be non-null.- Throws:
NoSuchElementException- if flagsV10 is not present
-