Class HwvtepRemoteMcastMacListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<T,K>
-
- org.opendaylight.genius.datastoreutils.hwvtep.HwvtepClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs,HwvtepRemoteMcastMacListener>
-
- org.opendaylight.netvirt.elan.l2gw.listeners.HwvtepRemoteMcastMacListener
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs>
public class HwvtepRemoteMcastMacListener extends org.opendaylight.genius.datastoreutils.hwvtep.HwvtepClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs,HwvtepRemoteMcastMacListener>
The listener class for listening toRemoteMcastMacs
add/delete/update.- See Also:
RemoteMcastMacs
-
-
Constructor Summary
Constructors Constructor Description HwvtepRemoteMcastMacListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, ElanUtils elanUtils, java.lang.String logicalSwitchName, L2GatewayDevice l2GatewayDevice, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> expectedPhyLocatorIps, java.util.concurrent.Callable<java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>>> task, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, org.opendaylight.genius.utils.hwvtep.HwvtepNodeHACache hwvtepNodeHACache)
Instantiates a new remote mcast mac listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs mcastMac)
protected HwvtepRemoteMcastMacListener
getDataTreeChangeListener()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs>
getWildCardPath()
protected void
removed(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs deleted)
protected void
updated(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs old, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs newdata)
-
Methods inherited from class org.opendaylight.genius.datastoreutils.hwvtep.HwvtepClusteredDataTreeChangeListener
add, remove, update
-
-
-
-
Constructor Detail
-
HwvtepRemoteMcastMacListener
public HwvtepRemoteMcastMacListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, ElanUtils elanUtils, java.lang.String logicalSwitchName, L2GatewayDevice l2GatewayDevice, java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> expectedPhyLocatorIps, java.util.concurrent.Callable<java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>>> task, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, org.opendaylight.genius.utils.hwvtep.HwvtepNodeHACache hwvtepNodeHACache) throws java.lang.Exception
Instantiates a new remote mcast mac listener.- Parameters:
broker
- DataBrokerelanUtils
- ElanUtilslogicalSwitchName
- LS name of the networkl2GatewayDevice
- L2GatewayDeviceexpectedPhyLocatorIps
- List of IP addressestask
- List of tasks to be executed on callbacksjobCoordinator
- JobCoordinator- Throws:
java.lang.Exception
- throws Exception
-
-
Method Detail
-
getWildCardPath
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs,HwvtepRemoteMcastMacListener>
-
getDataTreeChangeListener
protected HwvtepRemoteMcastMacListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs,HwvtepRemoteMcastMacListener>
-
removed
protected void removed(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs deleted)
- Specified by:
removed
in classorg.opendaylight.genius.datastoreutils.hwvtep.HwvtepClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs,HwvtepRemoteMcastMacListener>
-
updated
protected void updated(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs old, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs newdata)
- Specified by:
updated
in classorg.opendaylight.genius.datastoreutils.hwvtep.HwvtepClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs,HwvtepRemoteMcastMacListener>
-
added
protected void added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs mcastMac)
- Specified by:
added
in classorg.opendaylight.genius.datastoreutils.hwvtep.HwvtepClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.RemoteMcastMacs,HwvtepRemoteMcastMacListener>
-
-