Class DpnTepStateCache
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.cache.DataObjectCache<org.opendaylight.yangtools.yang.common.Uint64,DpnsTeps>
-
- org.opendaylight.genius.itm.cache.DpnTepStateCache
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@Singleton public class DpnTepStateCache extends DataObjectCache<org.opendaylight.yangtools.yang.common.Uint64,DpnsTeps>
-
-
Constructor Summary
Constructors Constructor Description DpnTepStateCache(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator, org.opendaylight.infrautils.caches.CacheProvider cacheProvider, DirectTunnelUtils directTunnelUtils, DPNTEPsInfoCache dpnTepsInfoCache, UnprocessedNodeConnectorCache unprocessedNCCache, UnprocessedNodeConnectorEndPointCache unprocessedNodeConnectorEndPointCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnsTeps> path, DpnsTeps dpnsTeps)
DpnTepInterfaceInfo
getDpnTepInterface(org.opendaylight.yangtools.yang.common.Uint64 srcDpnId, org.opendaylight.yangtools.yang.common.Uint64 dstDpnId)
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface
getInterfaceFromCache(java.lang.String tunnelName)
TunnelEndPointInfo
getTunnelEndPointInfoFromCache(java.lang.String tunnelName)
DpnTepInterfaceInfo
getTunnelFromCache(java.lang.String tunnelName)
boolean
isConfigAvailable(java.lang.String tunnelName)
boolean
isInternal(java.lang.String tunnelName)
protected void
removed(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnsTeps> path, DpnsTeps dpnsTeps)
void
removeFromTunnelEndPointMap(java.lang.String tunnelName)
void
removeTepFromDpnTepInterfaceConfigDS(org.opendaylight.yangtools.yang.common.Uint64 srcDpnId)
-
Methods inherited from class org.opendaylight.genius.mdsalutil.cache.DataObjectCache
checkIsClosed, close, get, getAllPresent
-
-
-
-
Constructor Detail
-
DpnTepStateCache
@Inject public DpnTepStateCache(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator, org.opendaylight.infrautils.caches.CacheProvider cacheProvider, DirectTunnelUtils directTunnelUtils, DPNTEPsInfoCache dpnTepsInfoCache, UnprocessedNodeConnectorCache unprocessedNCCache, UnprocessedNodeConnectorEndPointCache unprocessedNodeConnectorEndPointCache)
-
-
Method Detail
-
added
protected void added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnsTeps> path, DpnsTeps dpnsTeps)
- Overrides:
added
in classDataObjectCache<org.opendaylight.yangtools.yang.common.Uint64,DpnsTeps>
-
removed
protected void removed(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnsTeps> path, DpnsTeps dpnsTeps)
- Overrides:
removed
in classDataObjectCache<org.opendaylight.yangtools.yang.common.Uint64,DpnsTeps>
-
getDpnTepInterface
public DpnTepInterfaceInfo getDpnTepInterface(org.opendaylight.yangtools.yang.common.Uint64 srcDpnId, org.opendaylight.yangtools.yang.common.Uint64 dstDpnId)
-
removeTepFromDpnTepInterfaceConfigDS
public void removeTepFromDpnTepInterfaceConfigDS(org.opendaylight.yangtools.yang.common.Uint64 srcDpnId) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
-
isInternal
public boolean isInternal(java.lang.String tunnelName)
-
isConfigAvailable
public boolean isConfigAvailable(java.lang.String tunnelName)
-
getTunnelFromCache
public DpnTepInterfaceInfo getTunnelFromCache(java.lang.String tunnelName)
-
getInterfaceFromCache
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceFromCache(java.lang.String tunnelName)
-
getTunnelEndPointInfoFromCache
public TunnelEndPointInfo getTunnelEndPointInfoFromCache(java.lang.String tunnelName)
-
removeFromTunnelEndPointMap
public void removeFromTunnelEndPointMap(java.lang.String tunnelName)
-
-