public interface NxLearn extends org.opendaylight.yangtools.yang.binding.ChildOf<NxActionLearnGrouping>, org.opendaylight.yangtools.yang.binding.Augmentable<NxLearn>
This class represents the following YANG schema fragment defined in module openflowplugin-extension-nicira-action
container nx-learn {
leaf idle-timeout {
type uint16;
}
leaf hard-timeout {
type uint16;
}
leaf priority {
type uint16;
}
leaf cookie {
type uint64;
}
leaf flags {
type uint16;
}
leaf table-id {
type uint8;
}
leaf fin-idle-timeout {
type uint16;
}
leaf fin-hard-timeout {
type uint16;
}
list flow-mods {
key 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;
}
}
}
}
uses flow-mod-spec;
}
}
The schema path to identify an instance is
openflowplugin-extension-nicira-action/nx-action-learn-grouping/nx-learn
To create instances of this class use NxLearnBuilder.
NxLearnBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getCookie() |
Integer |
getFinHardTimeout() |
Integer |
getFinIdleTimeout() |
Integer |
getFlags() |
List<FlowMods> |
getFlowMods() |
Integer |
getHardTimeout() |
Integer |
getIdleTimeout() |
Integer |
getPriority() |
Short |
getTableId() |
Integer getIdleTimeout()
java.lang.Integer idleTimeout, or null if not presentInteger getHardTimeout()
java.lang.Integer hardTimeout, or null if not presentInteger getPriority()
java.lang.Integer priority, or null if not presentBigInteger getCookie()
java.math.BigInteger cookie, or null if not presentInteger getFlags()
java.lang.Integer flags, or null if not presentShort getTableId()
java.lang.Short tableId, or null if not presentInteger getFinIdleTimeout()
java.lang.Integer finIdleTimeout, or null if not presentInteger getFinHardTimeout()
java.lang.Integer finHardTimeout, or null if not presentCopyright © 2016 OpenDaylight. All rights reserved.