public abstract class ConntrackBasedSnatService extends AbstractSnatService
Modifier and Type | Field and Description |
---|---|
protected static int |
DNAT_CT_STATE |
protected static int |
DNAT_CT_STATE_MASK |
protected static int |
SNAT_CT_STATE |
protected static int |
SNAT_CT_STATE_MASK |
protected static int |
TRACKED_NEW_CT_MASK |
protected static int |
TRACKED_NEW_CT_STATE |
dataBroker, eventCallbacks, fibManager, idManager, interfaceManager, itmManager, mdsalManager, naptSwitchSelector, natDataUtil, odlInterfaceRpcService, vpnFootprintService
Constructor and Description |
---|
ConntrackBasedSnatService(org.opendaylight.controller.md.sal.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.idmanager.rev160406.IdManagerService idManager,
NAPTSwitchSelector naptSwitchSelector,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService odlInterfaceRpcService,
org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager,
IVpnFootprintService vpnFootprintService,
IFibManager fibManager,
NatDataUtil natDataUtil,
org.opendaylight.genius.datastoreutils.listeners.DataTreeEventCallbackRegistrar eventCallbacks) |
Modifier and Type | Method and Description |
---|---|
protected void |
createOutboundTblEntry(BigInteger dpnId,
long routerId,
String externalIp,
int elanId,
String extGwMacAddress,
int addOrRemove) |
protected void |
createOutboundTblTrackEntry(BigInteger dpnId,
Long routerId,
String extGwMacAddress,
int addOrRemove) |
protected void |
installInboundEntry(BigInteger dpnId,
long routerId,
String externalIp,
int elanId,
long extSubnetId,
int addOrRemove) |
protected void |
installNaptPfibEntry(BigInteger dpnId,
long routerId,
int addOrRemove) |
protected void |
installNaptPfibFlow(Routers routers,
BigInteger dpnId,
long routerId,
long extSubnetId,
int addOrRemove) |
protected void |
installSnatMissEntryForPrimrySwch(BigInteger dpnId,
Long routerId,
int elanId,
int addOrRemove) |
protected void |
installSnatSpecificEntriesForNaptSwitch(Routers routers,
BigInteger dpnId,
int addOrRemove) |
protected void |
installSnatSpecificEntriesForNonNaptSwitch(Routers routers,
BigInteger dpnId,
int addOrRemove) |
close, createGroupId, getDataBroker, getFlowRef, getGroupIdKey, getTunnelInterfaceName, handleCentralizedRouter, handleCentralizedRouterAllSwitch, handleSnat, handleSnatAllSwitch, init, installCommonEntriesForNaptSwitch, installCommonEntriesForNonNaptSwitch, installDefaultFibRouteForSNAT, installInboundFibEntry, installInboundTerminatingServiceTblEntry, installSnatCommonEntriesForNaptSwitch, installSnatCommonEntriesForNonNaptSwitch, installSnatMissEntry, installTerminatingServiceTblEntry, removeMipAdjacencies, syncFlow
protected static final int TRACKED_NEW_CT_STATE
protected static final int TRACKED_NEW_CT_MASK
protected static final int SNAT_CT_STATE
protected static final int SNAT_CT_STATE_MASK
protected static final int DNAT_CT_STATE
protected static final int DNAT_CT_STATE_MASK
public ConntrackBasedSnatService(org.opendaylight.controller.md.sal.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.idmanager.rev160406.IdManagerService idManager, NAPTSwitchSelector naptSwitchSelector, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService odlInterfaceRpcService, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, IVpnFootprintService vpnFootprintService, IFibManager fibManager, NatDataUtil natDataUtil, org.opendaylight.genius.datastoreutils.listeners.DataTreeEventCallbackRegistrar eventCallbacks)
protected void installSnatSpecificEntriesForNaptSwitch(Routers routers, BigInteger dpnId, int addOrRemove)
installSnatSpecificEntriesForNaptSwitch
in class AbstractSnatService
protected void installSnatSpecificEntriesForNonNaptSwitch(Routers routers, BigInteger dpnId, int addOrRemove)
installSnatSpecificEntriesForNonNaptSwitch
in class AbstractSnatService
protected void installSnatMissEntryForPrimrySwch(BigInteger dpnId, Long routerId, int elanId, int addOrRemove)
protected void createOutboundTblTrackEntry(BigInteger dpnId, Long routerId, String extGwMacAddress, int addOrRemove)
protected void createOutboundTblEntry(BigInteger dpnId, long routerId, String externalIp, int elanId, String extGwMacAddress, int addOrRemove)
protected void installNaptPfibFlow(Routers routers, BigInteger dpnId, long routerId, long extSubnetId, int addOrRemove)
protected void installInboundEntry(BigInteger dpnId, long routerId, String externalIp, int elanId, long extSubnetId, int addOrRemove)
protected void installNaptPfibEntry(BigInteger dpnId, long routerId, int addOrRemove)
Copyright © 2019 OpenDaylight. All rights reserved.