Class NiciraResubmitTable
- java.lang.Object
-
- org.onosproject.net.flow.AbstractExtension
-
- org.onosproject.driver.extensions.NiciraResubmitTable
-
- All Implemented Interfaces:
org.onosproject.net.flow.Extension,org.onosproject.net.flow.instructions.ExtensionTreatment
public class NiciraResubmitTable extends org.onosproject.net.flow.AbstractExtension implements org.onosproject.net.flow.instructions.ExtensionTreatmentNicira resubmit-table extension instruction.
-
-
Constructor Summary
Constructors Constructor Description NiciraResubmitTable(short table)Creates a new resubmit-table instruction with a particular table.NiciraResubmitTable(org.onosproject.net.PortNumber inPort, short table)Creates a new resubmit-table instruction with a particular inPort and table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(byte[] data)booleanequals(java.lang.Object obj)inthashCode()org.onosproject.net.PortNumberinPort()Gets the inPort.byte[]serialize()shorttable()Gets the table.java.lang.StringtoString()org.onosproject.net.flow.instructions.ExtensionTreatmentTypetype()-
Methods inherited from class org.onosproject.net.flow.AbstractExtension
getProperties, getPropertyValue, setPropertyValue
-
-
-
-
Constructor Detail
-
NiciraResubmitTable
public NiciraResubmitTable(org.onosproject.net.PortNumber inPort, short table)Creates a new resubmit-table instruction with a particular inPort and table.- Parameters:
inPort- the in port numbertable- table
-
NiciraResubmitTable
public NiciraResubmitTable(short table)
Creates a new resubmit-table instruction with a particular table.- Parameters:
table- table
-
-
Method Detail
-
inPort
public org.onosproject.net.PortNumber inPort()
Gets the inPort.- Returns:
- inPort
-
table
public short table()
Gets the table.- Returns:
- table
-
type
public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
- Specified by:
typein interfaceorg.onosproject.net.flow.instructions.ExtensionTreatment
-
deserialize
public void deserialize(byte[] data)
- Specified by:
deserializein interfaceorg.onosproject.net.flow.Extension
-
serialize
public byte[] serialize()
- Specified by:
serializein interfaceorg.onosproject.net.flow.Extension
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-