public class L2GatewayCacheUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
L2GATEWAY_CACHE_NAME |
Constructor and Description |
---|
L2GatewayCacheUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addL2DeviceToCache(String devicename,
L2GatewayDevice l2GwDevice) |
static void |
createL2DeviceCache() |
static ConcurrentMap<String,L2GatewayDevice> |
getCache() |
static L2GatewayDevice |
getL2DeviceFromCache(String devicename) |
static L2GatewayDevice |
removeL2DeviceFromCache(String devicename) |
static L2GatewayDevice |
updateCacheUponL2GatewayAdd(String psName,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2gwUuid) |
static L2GatewayDevice |
updateCacheUponSwitchConnect(String psName,
String hwvtepNodeId,
List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.TunnelIps> tunnelIps) |
static L2GatewayDevice |
updateL2GatewayCache(String psName,
String hwvtepNodeId,
List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.TunnelIps> tunnelIps) |
public static final String L2GATEWAY_CACHE_NAME
public static void createL2DeviceCache()
public static void addL2DeviceToCache(String devicename, L2GatewayDevice l2GwDevice)
public static L2GatewayDevice removeL2DeviceFromCache(String devicename)
public static L2GatewayDevice getL2DeviceFromCache(String devicename)
public static ConcurrentMap<String,L2GatewayDevice> getCache()
public static L2GatewayDevice updateCacheUponL2GatewayAdd(String psName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2gwUuid)
public static L2GatewayDevice updateCacheUponSwitchConnect(String psName, String hwvtepNodeId, List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.TunnelIps> tunnelIps)
public static L2GatewayDevice updateL2GatewayCache(String psName, String hwvtepNodeId, List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.TunnelIps> tunnelIps)
Copyright © 2018 OpenDaylight. All rights reserved.