public class ConntrackBasedSnatService extends AbstractSnatService
Modifier and Type | Field and Description |
---|---|
protected int |
dnatCtState |
protected int |
dnatCtStateMask |
protected int |
snatCtState |
protected int |
snatCtStateMask |
protected int |
trackedNewCtMask |
protected int |
trackedNewCtState |
dataBroker, idManager, interfaceManager, itmManager, mdsalManager, naptSwitchSelector
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.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService interfaceManager,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager,
NAPTSwitchSelector naptSwitchSelector) |
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 routerName,
Long extNetId,
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,
String routerName,
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) |
protected void |
installTerminatingServiceTblEntry(BigInteger dpnId,
Long routerId,
int elanId,
int addOrRemove) |
close, getFlowRef, handleSnat, handleSnatAllSwitch, init, installDefaultFibRouteForSNAT, installInboundFibEntry, installInboundTerminatingServiceTblEntry, installSnatCommonEntriesForNaptSwitch, installSnatCommonEntriesForNonNaptSwitch, installSnatMissEntry, syncFlow
protected final int trackedNewCtState
protected final int trackedNewCtMask
protected final int snatCtState
protected final int snatCtStateMask
protected final int dnatCtState
protected final int dnatCtStateMask
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.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService interfaceManager, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, NAPTSwitchSelector naptSwitchSelector)
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 installTerminatingServiceTblEntry(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, String routerName, long extSubnetId, int addOrRemove)
protected void installInboundEntry(BigInteger dpnId, long routerId, String routerName, Long extNetId, String externalIp, int elanId, long extSubnetId, int addOrRemove)
protected void installNaptPfibEntry(BigInteger dpnId, long routerId, int addOrRemove)
Copyright © 2018 OpenDaylight. All rights reserved.