Class L3vpnPopulator
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.populator.impl.L3vpnPopulator
-
- All Implemented Interfaces:
VpnPopulator
- Direct Known Subclasses:
L3vpnOverMplsGrePopulator
,L3vpnOverVxlanPopulator
public abstract class L3vpnPopulator extends java.lang.Object implements VpnPopulator
-
-
Field Summary
Fields Modifier and Type Field Description protected IBgpManager
bgpManager
protected org.opendaylight.mdsal.binding.api.DataBroker
broker
protected IFibManager
fibManager
protected org.opendaylight.genius.infra.ManagedNewTransactionRunner
txRunner
protected VpnUtil
vpnUtil
-
Constructor Summary
Constructors Modifier Constructor Description protected
L3vpnPopulator(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, IBgpManager bgpManager, IFibManager fibManager, VpnUtil vpnUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addPrefixToBGP(java.lang.String rd, java.lang.String primaryRd, @Nullable java.lang.String macAddress, java.lang.String prefix, java.lang.String nextHopIp, VrfEntryBase.EncapType encapType, org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.yangtools.yang.common.Uint32 l3vni, java.lang.String gatewayMac, RouteOrigin origin, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
void
addSubnetRouteFibEntry(L3vpnInput input)
void
addToLabelMapper(org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String prefix, java.util.List<java.lang.String> nextHopIpList, org.opendaylight.yangtools.yang.common.Uint32 vpnId, @Nullable java.lang.String vpnInterfaceName, @Nullable org.opendaylight.yangtools.yang.common.Uint32 elanTag, boolean isSubnetRoute, java.lang.String rd)
Adjacency
createOperationalAdjacency(L3vpnInput input)
void
populateFib(L3vpnInput input, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeCfgTxn)
-
-
-
Field Detail
-
bgpManager
protected final IBgpManager bgpManager
-
fibManager
protected final IFibManager fibManager
-
broker
protected final org.opendaylight.mdsal.binding.api.DataBroker broker
-
txRunner
protected final org.opendaylight.genius.infra.ManagedNewTransactionRunner txRunner
-
vpnUtil
protected final VpnUtil vpnUtil
-
-
Constructor Detail
-
L3vpnPopulator
protected L3vpnPopulator(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, IBgpManager bgpManager, IFibManager fibManager, VpnUtil vpnUtil)
-
-
Method Detail
-
populateFib
public void populateFib(L3vpnInput input, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeCfgTxn)
- Specified by:
populateFib
in interfaceVpnPopulator
-
addSubnetRouteFibEntry
public void addSubnetRouteFibEntry(L3vpnInput input)
-
addToLabelMapper
public void addToLabelMapper(org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String prefix, java.util.List<java.lang.String> nextHopIpList, org.opendaylight.yangtools.yang.common.Uint32 vpnId, @Nullable java.lang.String vpnInterfaceName, @Nullable org.opendaylight.yangtools.yang.common.Uint32 elanTag, boolean isSubnetRoute, java.lang.String rd)
-
createOperationalAdjacency
public Adjacency createOperationalAdjacency(L3vpnInput input)
- Specified by:
createOperationalAdjacency
in interfaceVpnPopulator
-
addPrefixToBGP
protected void addPrefixToBGP(java.lang.String rd, java.lang.String primaryRd, @Nullable java.lang.String macAddress, java.lang.String prefix, java.lang.String nextHopIp, VrfEntryBase.EncapType encapType, org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.yangtools.yang.common.Uint32 l3vni, java.lang.String gatewayMac, RouteOrigin origin, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
-
-