public class InterVpnLinkCache extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_2_IVPNLINK_CACHE_NAME |
static String |
IVPNLINK_NAME_2_IVPNLINK_CACHE_NAME |
static String |
UUID_2_IVPNLINK_CACHE_NAME |
Constructor and Description |
---|
InterVpnLinkCache() |
Modifier and Type | Method and Description |
---|---|
static void |
addInterVpnLinkStateToCaches(InterVpnLinkState interVpnLinkState) |
static void |
addInterVpnLinkToCaches(InterVpnLink interVpnLink) |
static void |
createInterVpnLinkCaches(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
static void |
destroyCaches() |
static List<InterVpnLinkDataComposite> |
getAllInterVpnLinks() |
static com.google.common.base.Optional<InterVpnLinkDataComposite> |
getInterVpnLinkByEndpoint(String endpointIp) |
static com.google.common.base.Optional<InterVpnLinkDataComposite> |
getInterVpnLinkByName(String interVpnLinkName) |
static com.google.common.base.Optional<InterVpnLinkDataComposite> |
getInterVpnLinkByVpnId(String vpnId) |
static void |
removeInterVpnLinkFromCache(InterVpnLink interVpnLink) |
static void |
removeInterVpnLinkStateFromCache(InterVpnLinkState interVpnLinkState) |
public static final String ENDPOINT_2_IVPNLINK_CACHE_NAME
public static final String UUID_2_IVPNLINK_CACHE_NAME
public static final String IVPNLINK_NAME_2_IVPNLINK_CACHE_NAME
public static void createInterVpnLinkCaches(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
public static void destroyCaches()
public static void addInterVpnLinkToCaches(InterVpnLink interVpnLink)
public static void addInterVpnLinkStateToCaches(InterVpnLinkState interVpnLinkState)
public static void removeInterVpnLinkFromCache(InterVpnLink interVpnLink)
public static void removeInterVpnLinkStateFromCache(InterVpnLinkState interVpnLinkState)
public static com.google.common.base.Optional<InterVpnLinkDataComposite> getInterVpnLinkByName(String interVpnLinkName)
public static com.google.common.base.Optional<InterVpnLinkDataComposite> getInterVpnLinkByEndpoint(String endpointIp)
public static com.google.common.base.Optional<InterVpnLinkDataComposite> getInterVpnLinkByVpnId(String vpnId)
public static List<InterVpnLinkDataComposite> getAllInterVpnLinks()
Copyright © 2018 OpenDaylight. All rights reserved.