Class EvpnMacVrfUtils
- java.lang.Object
-
- org.opendaylight.netvirt.elan.evpn.utils.EvpnMacVrfUtils
-
@Singleton public class EvpnMacVrfUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EvpnMacVrfUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, ElanEvpnFlowUtils elanEvpnFlowUtils, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager, EvpnUtils evpnUtils, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, ElanUtils elanUtils, ElanInstanceCache elanInstanceCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEvpnDmacFlow(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry)
void
addEvpnDmacFlowOnAttach(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry, ElanInstance elanInstance)
boolean
checkEvpnAttachedToNet(java.lang.String elanName)
java.lang.String
getElanNameByMacvrfiid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier)
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry>
getMacVrfEntryIid(java.lang.String rd, MacVrfEntry macVrfEntry)
@Nullable java.lang.String
getRoutePathNexthopIp(MacVrfEntry macVrfEntry)
void
removeEvpnDmacFlow(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry)
void
removeEvpnDmacFlowOnDetach(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry, ElanInstance elanInstance)
void
updateEvpnDmacFlows(ElanInstance elanInstance, boolean install)
-
-
-
Constructor Detail
-
EvpnMacVrfUtils
@Inject public EvpnMacVrfUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager, ElanEvpnFlowUtils elanEvpnFlowUtils, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager, EvpnUtils evpnUtils, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, ElanUtils elanUtils, ElanInstanceCache elanInstanceCache)
-
-
Method Detail
-
getElanNameByMacvrfiid
public java.lang.String getElanNameByMacvrfiid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier)
-
getMacVrfEntryIid
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> getMacVrfEntryIid(java.lang.String rd, MacVrfEntry macVrfEntry)
-
updateEvpnDmacFlows
public void updateEvpnDmacFlows(ElanInstance elanInstance, boolean install)
-
checkEvpnAttachedToNet
public boolean checkEvpnAttachedToNet(java.lang.String elanName)
-
addEvpnDmacFlow
public void addEvpnDmacFlow(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry)
-
removeEvpnDmacFlow
public void removeEvpnDmacFlow(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry)
-
addEvpnDmacFlowOnAttach
public void addEvpnDmacFlowOnAttach(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry, ElanInstance elanInstance)
-
getRoutePathNexthopIp
public @Nullable java.lang.String getRoutePathNexthopIp(MacVrfEntry macVrfEntry)
-
removeEvpnDmacFlowOnDetach
public void removeEvpnDmacFlowOnDetach(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier, MacVrfEntry macVrfEntry, ElanInstance elanInstance)
-
-