Merge "DHCP Handling for TOR VM"
[vpnservice.git] / neutronvpn / neutronvpn-api / src / main / java / org / opendaylight / vpnservice / neutronvpn / api / l2gw / utils / L2GatewayCacheUtils.java
index d941dec97f63e27ac3c7c799a87635dca82d6fe0..dd16a42f41cc2eb774c2077faf66b35249f25457 100644 (file)
@@ -38,4 +38,9 @@ public class L2GatewayCacheUtils {
                 .getCache(L2GatewayCacheUtils.L2GATEWAY_CACHE_NAME);
         return cachedMap.get(devicename);
     }
+
+    public static ConcurrentMap<String, L2GatewayDevice> getCache() {
+        return (ConcurrentMap<String, L2GatewayDevice>) CacheUtil
+                .getCache(L2GatewayCacheUtils.L2GATEWAY_CACHE_NAME);
+    }
 }