public class NiciraCt
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Constructor and Description |
|---|
NiciraCt()
Creates a new nicicra ct instruction.
|
NiciraCt(int flags,
long zoneSrc,
int zone,
short recircTable,
int alg,
List<org.onosproject.net.flow.instructions.ExtensionTreatment> actions)
Creates a new nicicra ct instruction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
int |
niciraCtAlg()
Get Nicira Conntrack alg.
|
int |
niciraCtFlags()
Get Nicira Conntrack flags.
|
List<org.onosproject.net.flow.instructions.ExtensionTreatment> |
niciraCtNestActions()
Get Nicira Conntrack Recirc table.
|
short |
niciraCtRecircTable()
Get Nicira Conntrack Recirc table.
|
int |
niciraCtZone()
Get Nicira Conntrack zone.
|
long |
niciraCtZoneSrc()
Get Nicira Conntrack zone src.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValuepublic NiciraCt()
public NiciraCt(int flags,
long zoneSrc,
int zone,
short recircTable,
int alg,
List<org.onosproject.net.flow.instructions.ExtensionTreatment> actions)
flags - zero or commit(0x01)zoneSrc - If 'zone_src' is nonzero, this specifies that the zone should be
sourced from a field zone_src[ofs:ofs+nbits].zone - this is the union of zone_imm and zone_ofs_nbits
If 'zone_src' is zero, then the value of 'zone_imm'
will be used as the connection tracking zonerecircTable - Recirculate to a specific table or 0xff for no recirculationalg - Well-known port number for the protocol, 0 indicates no ALG is requiredactions - a sequence of zero or more OpenFlow actionspublic org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
type in interface org.onosproject.net.flow.instructions.ExtensionTreatmentpublic int niciraCtFlags()
public int niciraCtZone()
public long niciraCtZoneSrc()
public int niciraCtAlg()
public short niciraCtRecircTable()
public List<org.onosproject.net.flow.instructions.ExtensionTreatment> niciraCtNestActions()
public void deserialize(byte[] data)
deserialize in interface org.onosproject.net.flow.Extensionpublic byte[] serialize()
serialize in interface org.onosproject.net.flow.Extension