Class 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.ExtensionTreatment
    Nicira 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.
    • 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 number
        table - 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:
        type in interface org.onosproject.net.flow.instructions.ExtensionTreatment
      • deserialize

        public void deserialize​(byte[] data)
        Specified by:
        deserialize in interface org.onosproject.net.flow.Extension
      • serialize

        public byte[] serialize()
        Specified by:
        serialize in interface org.onosproject.net.flow.Extension
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object