Class DeleteL2GwDeviceMacsFromElanJob

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<?>>>

    public class DeleteL2GwDeviceMacsFromElanJob
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<?>>>
    The Job class to delete L2 gateway device local ucast macs from other Elan L2 gateway devices.
    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteL2GwDeviceMacsFromElanJob​(java.lang.String elanName, L2GatewayDevice l2GwDevice, java.util.Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> macAddresses)
      Instantiates a new delete l2 gw device macs from elan job.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> call()  
      static java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> deleteRemoteUcastMacs​(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, java.lang.String logicalSwitchName, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> lstMac)
      Batched operation to delete list of Uast mac from the given nodeId and logical Switch .
      java.lang.String getJobKey()
      Gets the job key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeleteL2GwDeviceMacsFromElanJob

        public DeleteL2GwDeviceMacsFromElanJob​(java.lang.String elanName,
                                               L2GatewayDevice l2GwDevice,
                                               java.util.Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> macAddresses)
        Instantiates a new delete l2 gw device macs from elan job.
        Parameters:
        elanName - the elan name
        l2GwDevice - the l2 gw device
        macAddresses - the mac addresses
    • Method Detail

      • getJobKey

        public java.lang.String getJobKey()
        Gets the job key.
        Returns:
        the job key
      • call

        public java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<?>>>
      • deleteRemoteUcastMacs

        public static java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> deleteRemoteUcastMacs​(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId,
                                                                                                                               java.lang.String logicalSwitchName,
                                                                                                                               java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> lstMac)
        Batched operation to delete list of Uast mac from the given nodeId and logical Switch .
        Parameters:
        nodeId - NodeId of device
        logicalSwitchName - logicalSwitch Name
        lstMac - list of macs to be deleted
        Returns:
        list of futures