@Singleton public class ElanDmacUtils extends Object
| Constructor and Description |
|---|
ElanDmacUtils(ElanItmUtils elanItmUtils,
ElanEtreeUtils elanEtreeUtils,
ElanInterfaceCache elanInterfaceCache) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow |
buildDmacFlowForExternalRemoteMac(BigInteger dpId,
String extDeviceNodeId,
long elanTag,
Long vni,
String dstMacAddress,
String displayName)
Builds a Flow to be programmed in a DPN's DMAC table.
|
List<com.google.common.util.concurrent.ListenableFuture<Void>> |
deleteDmacFlowsToExternalMac(long elanTag,
BigInteger dpId,
String extDeviceNodeId,
String macToRemove)
Delete dmac flows to external mac.
|
List<com.google.common.util.concurrent.ListenableFuture<Void>> |
installDmacFlowsToExternalRemoteMacInBatch(BigInteger dpnId,
String extDeviceNodeId,
Long elanTag,
Long vni,
String macAddress,
String displayName,
@Nullable String interfaceName) |
@Inject public ElanDmacUtils(ElanItmUtils elanItmUtils, ElanEtreeUtils elanEtreeUtils, ElanInterfaceCache elanInterfaceCache)
public org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow buildDmacFlowForExternalRemoteMac(BigInteger dpId, String extDeviceNodeId, long elanTag, Long vni, String dstMacAddress, String displayName)
dpId - DPN whose DMAC table is going to be modifiedextDeviceNodeId - Hwvtep node where the mac is attached toelanTag - ElanId to which the MAC is being added tovni - the vnidstMacAddress - The mac address to be programmeddisplayName - the display namepublic List<com.google.common.util.concurrent.ListenableFuture<Void>> deleteDmacFlowsToExternalMac(long elanTag, BigInteger dpId, String extDeviceNodeId, String macToRemove)
elanTag - the elan tagdpId - the dp idextDeviceNodeId - the ext device node idmacToRemove - the mac to removeCopyright © 2020 OpenDaylight. All rights reserved.