Class DpnDmacJob
- java.lang.Object
-
- org.opendaylight.netvirt.elan.l2gw.jobs.DpnDmacJob
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>>>
public class DpnDmacJob extends java.lang.Object implements java.util.concurrent.Callable<java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>>>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
jobKey
-
Constructor Summary
Constructors Constructor Description DpnDmacJob(java.lang.String elanName, DpnInterfaces dpnInterfaces, java.lang.String nodeId, boolean added, ElanL2GatewayUtils elanL2GatewayUtils, ElanRefUtil elanRefUtil, ElanDmacUtils elanDmacUtils)
-
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 void
installDmacFromL2gws(java.lang.String elanName, DpnInterfaces dpnInterfaces, ElanL2GatewayUtils elanL2GatewayUtils, ElanRefUtil elanRefUtil, ElanDmacUtils elanDmacUtils)
void
submit()
static void
uninstallDmacFromL2gws(java.lang.String elanName, DpnInterfaces dpnInterfaces, ElanL2GatewayUtils elanL2GatewayUtils, ElanRefUtil elanRefUtil, ElanDmacUtils elanDmacUtils)
-
-
-
Constructor Detail
-
DpnDmacJob
public DpnDmacJob(java.lang.String elanName, DpnInterfaces dpnInterfaces, java.lang.String nodeId, boolean added, ElanL2GatewayUtils elanL2GatewayUtils, ElanRefUtil elanRefUtil, ElanDmacUtils elanDmacUtils)
-
-
Method Detail
-
submit
public void submit()
-
call
public java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>>>
- Throws:
java.lang.Exception
-
uninstallDmacFromL2gws
public static void uninstallDmacFromL2gws(java.lang.String elanName, DpnInterfaces dpnInterfaces, ElanL2GatewayUtils elanL2GatewayUtils, ElanRefUtil elanRefUtil, ElanDmacUtils elanDmacUtils)
-
installDmacFromL2gws
public static void installDmacFromL2gws(java.lang.String elanName, DpnInterfaces dpnInterfaces, ElanL2GatewayUtils elanL2GatewayUtils, ElanRefUtil elanRefUtil, ElanDmacUtils elanDmacUtils)
-
-