Class DpnTepStateCache

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    @Singleton
    public class DpnTepStateCache
    extends DataObjectCache<org.opendaylight.yangtools.yang.common.Uint64,​DpnsTeps>
    • Method Detail

      • added

        protected void added​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnsTeps> path,
                             DpnsTeps dpnsTeps)
        Overrides:
        added in class DataObjectCache<org.opendaylight.yangtools.yang.common.Uint64,​DpnsTeps>
      • removed

        protected void removed​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnsTeps> path,
                               DpnsTeps dpnsTeps)
        Overrides:
        removed in class DataObjectCache<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)