Code Review
/
vpnservice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
DHCP Handling for TOR VM
[vpnservice.git]
/
neutronvpn
/
neutronvpn-api
/
src
/
main
/
java
/
org
/
opendaylight
/
vpnservice
/
neutronvpn
/
api
/
l2gw
/
utils
/
L2GatewayCacheUtils.java
diff --git
a/neutronvpn/neutronvpn-api/src/main/java/org/opendaylight/vpnservice/neutronvpn/api/l2gw/utils/L2GatewayCacheUtils.java
b/neutronvpn/neutronvpn-api/src/main/java/org/opendaylight/vpnservice/neutronvpn/api/l2gw/utils/L2GatewayCacheUtils.java
index d941dec97f63e27ac3c7c799a87635dca82d6fe0..dd16a42f41cc2eb774c2077faf66b35249f25457 100644
(file)
--- a/
neutronvpn/neutronvpn-api/src/main/java/org/opendaylight/vpnservice/neutronvpn/api/l2gw/utils/L2GatewayCacheUtils.java
+++ b/
neutronvpn/neutronvpn-api/src/main/java/org/opendaylight/vpnservice/neutronvpn/api/l2gw/utils/L2GatewayCacheUtils.java
@@
-38,4
+38,9
@@
public class L2GatewayCacheUtils {
.getCache(L2GatewayCacheUtils.L2GATEWAY_CACHE_NAME);
return cachedMap.get(devicename);
}
.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);
+ }
}
}