Class MacVlanNextObjectiveStoreKey


  • public class MacVlanNextObjectiveStoreKey
    extends Object
    Key of Device/Vlan/MacAddr to NextObjective store.
    • Constructor Detail

      • MacVlanNextObjectiveStoreKey

        public MacVlanNextObjectiveStoreKey​(org.onosproject.net.DeviceId deviceId,
                                            org.onlab.packet.MacAddress macAddr,
                                            org.onlab.packet.VlanId vlanId)
        Constructs the key of the next objective store.
        Parameters:
        deviceId - device ID
        macAddr - mac of host
        vlanId - vlan of host
    • Method Detail

      • deviceId

        public org.onosproject.net.DeviceId deviceId()
        Gets device id in this MacVlanNextObjectiveStoreKey.
        Returns:
        device id
      • vlanId

        public org.onlab.packet.VlanId vlanId()
        Gets vlan information in this MacVlanNextObjectiveStoreKey.
        Returns:
        vlan information
      • macAddr

        public org.onlab.packet.MacAddress macAddr()
        Gets mac information in this MacVlanNextObjectiveStoreKey.
        Returns:
        mac information
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object