@Singleton public class ElanL2GatewayMulticastUtils extends Object
Constructor and Description |
---|
ElanL2GatewayMulticastUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
ElanInstanceManager elanInstanceManager,
ElanInterfaceManager elanInterfaceManager,
ElanItmUtils elanItmUtils) |
Modifier and Type | Method and Description |
---|---|
DesignatedSwitchForTunnel |
getDesignatedSwitchForExternalTunnel(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp,
String elanInstanceName)
Gets the designated switch for external tunnel.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
getTepIpOfDesignatedSwitchForExternalTunnel(L2GatewayDevice l2GwDevice,
String elanInstanceName)
Gets the tep ip of designated switch for external tunnel.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
handleMcastForElanL2GwDeviceAdd(String elanName,
L2GatewayDevice device)
Handle mcast for elan l2 gw device add.
|
List<com.google.common.util.concurrent.ListenableFuture<Void>> |
handleMcastForElanL2GwDeviceDelete(String elanName,
L2GatewayDevice l2GatewayDevice)
Handle mcast for elan l2 gw device delete.
|
void |
prepareRemoteMcastMacUpdateOnDevice(org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction,
String elanName,
L2GatewayDevice device) |
void |
scheduleMcastMacUpdateJob(String elanName,
L2GatewayDevice device) |
com.google.common.util.concurrent.ListenableFuture<Void> |
updateMcastMacsForAllElanDevices(String elanName,
L2GatewayDevice device,
boolean updateThisDevice)
Update mcast macs for this elan.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
updateRemoteMcastMacOnElanL2GwDevice(String elanName,
L2GatewayDevice device)
Update remote mcast mac on elan l2 gw device.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
updateRemoteMcastMacOnElanL2GwDevices(String elanName)
Updates the remote mcast mac table for all the devices in this elan
includes all the dpn tep ips and other devices tep ips in broadcast
locator set.
|
@Inject public ElanL2GatewayMulticastUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, ElanInstanceManager elanInstanceManager, ElanInterfaceManager elanInterfaceManager, ElanItmUtils elanItmUtils)
public com.google.common.util.concurrent.ListenableFuture<Void> handleMcastForElanL2GwDeviceAdd(String elanName, L2GatewayDevice device)
elanName
- the elan namedevice
- the devicepublic com.google.common.util.concurrent.ListenableFuture<Void> updateRemoteMcastMacOnElanL2GwDevices(String elanName)
elanName
- the elan to be updatedpublic void scheduleMcastMacUpdateJob(String elanName, L2GatewayDevice device)
public com.google.common.util.concurrent.ListenableFuture<Void> updateRemoteMcastMacOnElanL2GwDevice(String elanName, L2GatewayDevice device)
elanName
- the elan namedevice
- the devicepublic void prepareRemoteMcastMacUpdateOnDevice(org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction, String elanName, L2GatewayDevice device)
public com.google.common.util.concurrent.ListenableFuture<Void> updateMcastMacsForAllElanDevices(String elanName, L2GatewayDevice device, boolean updateThisDevice)
elanName
- the elan namedevice
- the deviceupdateThisDevice
- the update this devicepublic List<com.google.common.util.concurrent.ListenableFuture<Void>> handleMcastForElanL2GwDeviceDelete(String elanName, L2GatewayDevice l2GatewayDevice)
elanName
- the elan instance namel2GatewayDevice
- the l2 gateway devicepublic org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getTepIpOfDesignatedSwitchForExternalTunnel(L2GatewayDevice l2GwDevice, String elanInstanceName)
l2GwDevice
- the l2 gw deviceelanInstanceName
- the elan instance namepublic DesignatedSwitchForTunnel getDesignatedSwitchForExternalTunnel(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp, String elanInstanceName)
tunnelIp
- the tunnel ipelanInstanceName
- the elan instance nameCopyright © 2018 OpenDaylight. All rights reserved.