Class VxlanGreConntrackBasedSnatService

    • Constructor Summary

      Constructors 
      Constructor Description
      VxlanGreConntrackBasedSnatService​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmManager, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService odlInterfaceRpcService, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, NAPTSwitchSelector naptSwitchSelector, ExternalRoutersListener externalRouterListener, IElanService elanManager, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, IVpnFootprintService vpnFootprintService, IFibManager fibManager, NatDataUtil natDataUtil, org.opendaylight.genius.datastoreutils.listeners.DataTreeEventCallbackRegistrar eventCallbacks, NatOverVxlanUtil natOverVxlanUtil)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean addCentralizedRouter​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
      Adds flows for centralized switch for the dpnId.
      boolean addCentralizedRouterAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
      Adds flows for centralized switch for all dpns having ports on the router subnet.
      protected void addInboundEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, org.opendaylight.yangtools.yang.common.Uint32 extNeVpnId, java.util.List<ExternalIps> externalIps, int elanId)  
      protected void addNaptPfibFlowForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId)  
      protected void addOutboundTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId, java.util.List<ExternalIps> externalIps, int elanId)  
      protected void addOutboundTblTrackEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId)  
      boolean addSnat​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
      Adds snat flows for the dpnId.
      boolean addSnatAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
      Adds snat flows for all dpns having ports on the router subnet.
      protected void addSnatMissEntry​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, java.lang.String routerName, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)  
      protected void addSnatSpecificEntriesForNaptSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 dpnId)  
      protected void addTerminatingServiceTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String routerName, org.opendaylight.yangtools.yang.common.Uint32 routerId, int elanId)  
      boolean removeCentralizedRouter​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
      Removes flows for centralized switch for the dpnId.
      boolean removeCentralizedRouterAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
      Removes flows for centralized switch for all dpns having ports on the router subnet.
      protected void removeInboundEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, java.util.List<ExternalIps> externalIps)  
      protected void removeNaptPfibFlowForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId)  
      protected void removeOutboundTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, java.util.List<ExternalIps> externalIps)  
      protected void removeOutboundTblTrackEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId)  
      boolean removeSnat​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
      Removes snat flows for the dpnId.
      boolean removeSnatAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
      Removes snat flows for all dpns having ports on the router subnet.
      protected void removeSnatMissEntry​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, java.lang.String routerName)  
      protected void removeSnatSpecificEntriesForNaptSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, Routers routers, org.opendaylight.yangtools.yang.common.Uint64 dpnId)  
      protected void removeTerminatingServiceTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VxlanGreConntrackBasedSnatService

        public VxlanGreConntrackBasedSnatService​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                                 org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager,
                                                 org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmManager,
                                                 org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService odlInterfaceRpcService,
                                                 org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager,
                                                 NAPTSwitchSelector naptSwitchSelector,
                                                 ExternalRoutersListener externalRouterListener,
                                                 IElanService elanManager,
                                                 org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager,
                                                 IVpnFootprintService vpnFootprintService,
                                                 IFibManager fibManager,
                                                 NatDataUtil natDataUtil,
                                                 org.opendaylight.genius.datastoreutils.listeners.DataTreeEventCallbackRegistrar eventCallbacks,
                                                 NatOverVxlanUtil natOverVxlanUtil)
    • Method Detail

      • addSnatAllSwitch

        public boolean addSnatAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                        Routers routers,
                                        org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
        Description copied from interface: SnatServiceListener
        Adds snat flows for all dpns having ports on the router subnet.
        Specified by:
        addSnatAllSwitch in interface SnatServiceListener
        Overrides:
        addSnatAllSwitch in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId
        Returns:
        returns success/failure.
      • removeSnatAllSwitch

        public boolean removeSnatAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                           Routers routers,
                                           org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
                                    throws java.util.concurrent.ExecutionException,
                                           java.lang.InterruptedException
        Description copied from interface: SnatServiceListener
        Removes snat flows for all dpns having ports on the router subnet.
        Specified by:
        removeSnatAllSwitch in interface SnatServiceListener
        Overrides:
        removeSnatAllSwitch in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId
        Returns:
        returns success/failure.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addCentralizedRouterAllSwitch

        public boolean addCentralizedRouterAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                     Routers routers,
                                                     org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
        Description copied from interface: SnatServiceListener
        Adds flows for centralized switch for all dpns having ports on the router subnet.
        Specified by:
        addCentralizedRouterAllSwitch in interface SnatServiceListener
        Overrides:
        addCentralizedRouterAllSwitch in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId.
        Returns:
        returns success/failure.
      • removeCentralizedRouterAllSwitch

        public boolean removeCentralizedRouterAllSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                        Routers routers,
                                                        org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
                                                 throws java.util.concurrent.ExecutionException,
                                                        java.lang.InterruptedException
        Description copied from interface: SnatServiceListener
        Removes flows for centralized switch for all dpns having ports on the router subnet.
        Specified by:
        removeCentralizedRouterAllSwitch in interface SnatServiceListener
        Overrides:
        removeCentralizedRouterAllSwitch in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId.
        Returns:
        returns success/failure.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addCentralizedRouter

        public boolean addCentralizedRouter​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                            Routers routers,
                                            org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId,
                                            org.opendaylight.yangtools.yang.common.Uint64 dpnId)
        Description copied from interface: SnatServiceListener
        Adds flows for centralized switch for the dpnId.
        Specified by:
        addCentralizedRouter in interface SnatServiceListener
        Overrides:
        addCentralizedRouter in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId.
        dpnId - the dpnId for which the flows needs to be added.
        Returns:
        returns success/failure.
      • removeCentralizedRouter

        public boolean removeCentralizedRouter​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                               Routers routers,
                                               org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId,
                                               org.opendaylight.yangtools.yang.common.Uint64 dpnId)
                                        throws java.util.concurrent.ExecutionException,
                                               java.lang.InterruptedException
        Description copied from interface: SnatServiceListener
        Removes flows for centralized switch for the dpnId.
        Specified by:
        removeCentralizedRouter in interface SnatServiceListener
        Overrides:
        removeCentralizedRouter in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId.
        dpnId - the dpnId for which the flows needs to be removed.
        Returns:
        returns success/failure.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addSnat

        public boolean addSnat​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                               Routers routers,
                               org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId,
                               org.opendaylight.yangtools.yang.common.Uint64 dpnId)
        Description copied from interface: SnatServiceListener
        Adds snat flows for the dpnId.
        Specified by:
        addSnat in interface SnatServiceListener
        Overrides:
        addSnat in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId.
        dpnId - the dpnId for which the flows needs to be added.
        Returns:
        returns success/failure.
      • removeSnat

        public boolean removeSnat​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                  Routers routers,
                                  org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId,
                                  org.opendaylight.yangtools.yang.common.Uint64 dpnId)
                           throws java.util.concurrent.ExecutionException,
                                  java.lang.InterruptedException
        Description copied from interface: SnatServiceListener
        Removes snat flows for the dpnId.
        Specified by:
        removeSnat in interface SnatServiceListener
        Overrides:
        removeSnat in class AbstractSnatService
        Parameters:
        confTx - The transaction to use.
        routers - the router.
        primarySwitchId - the primaryswitchId.
        dpnId - the dpnId for which the flows needs to be removed.
        Returns:
        returns success/failure.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addSnatSpecificEntriesForNaptSwitch

        protected void addSnatSpecificEntriesForNaptSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                           Routers routers,
                                                           org.opendaylight.yangtools.yang.common.Uint64 dpnId)
        Overrides:
        addSnatSpecificEntriesForNaptSwitch in class ConntrackBasedSnatService
      • removeSnatSpecificEntriesForNaptSwitch

        protected void removeSnatSpecificEntriesForNaptSwitch​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                              Routers routers,
                                                              org.opendaylight.yangtools.yang.common.Uint64 dpnId)
                                                       throws java.util.concurrent.ExecutionException,
                                                              java.lang.InterruptedException
        Overrides:
        removeSnatSpecificEntriesForNaptSwitch in class ConntrackBasedSnatService
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addOutboundTblTrackEntryForVxlanGre

        protected void addOutboundTblTrackEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                           org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                           org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                           org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId)
      • removeOutboundTblTrackEntryForVxlanGre

        protected void removeOutboundTblTrackEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                              org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                              org.opendaylight.yangtools.yang.common.Uint32 routerId)
                                                       throws java.util.concurrent.ExecutionException,
                                                              java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addOutboundTblEntryForVxlanGre

        protected void addOutboundTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                      org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                      org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                      org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId,
                                                      java.util.List<ExternalIps> externalIps,
                                                      int elanId)
      • removeOutboundTblEntryForVxlanGre

        protected void removeOutboundTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                         org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                         org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                         java.util.List<ExternalIps> externalIps)
                                                  throws java.util.concurrent.ExecutionException,
                                                         java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addNaptPfibFlowForVxlanGre

        protected void addNaptPfibFlowForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                  Routers routers,
                                                  org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                  org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId)
      • removeNaptPfibFlowForVxlanGre

        protected void removeNaptPfibFlowForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                     Routers routers,
                                                     org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                     org.opendaylight.yangtools.yang.common.Uint32 extNetVpnId)
                                              throws java.util.concurrent.ExecutionException,
                                                     java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addInboundEntryForVxlanGre

        protected void addInboundEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                  org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                  org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                  org.opendaylight.yangtools.yang.common.Uint32 extNeVpnId,
                                                  java.util.List<ExternalIps> externalIps,
                                                  int elanId)
      • removeInboundEntryForVxlanGre

        protected void removeInboundEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                     org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                     org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                     java.util.List<ExternalIps> externalIps)
                                              throws java.util.concurrent.ExecutionException,
                                                     java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addTerminatingServiceTblEntryForVxlanGre

        protected void addTerminatingServiceTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                                org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                                java.lang.String routerName,
                                                                org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                                int elanId)
      • removeTerminatingServiceTblEntryForVxlanGre

        protected void removeTerminatingServiceTblEntryForVxlanGre​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                                                   org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                                   org.opendaylight.yangtools.yang.common.Uint32 routerId)
                                                            throws java.util.concurrent.ExecutionException,
                                                                   java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addSnatMissEntry

        protected void addSnatMissEntry​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                        org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                        org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                        java.lang.String routerName,
                                        org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId)
        Overrides:
        addSnatMissEntry in class AbstractSnatService
      • removeSnatMissEntry

        protected void removeSnatMissEntry​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx,
                                           org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                           org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                           java.lang.String routerName)
                                    throws java.util.concurrent.ExecutionException,
                                           java.lang.InterruptedException
        Overrides:
        removeSnatMissEntry in class AbstractSnatService
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException