Class NiciraMatchCtZone

  • All Implemented Interfaces:
    org.onosproject.net.flow.criteria.ExtensionSelector, org.onosproject.net.flow.Extension

    public class NiciraMatchCtZone
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.criteria.ExtensionSelector
    Nicira conntrack zone extension selector.
    • Constructor Detail

      • NiciraMatchCtZone

        public NiciraMatchCtZone​(int ctZone)
        Creates a new conntrack zone selector with given zone.
        Parameters:
        ctZone - conntrack zone
    • Method Detail

      • ctZone

        public int ctZone()
        Gets the conntrack zone.
        Returns:
        ctZone
      • type

        public org.onosproject.net.flow.criteria.ExtensionSelectorType type()
        Specified by:
        type in interface org.onosproject.net.flow.criteria.ExtensionSelector
      • 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