Class VpnServiceElanDpnInterfacesListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,VpnServiceElanDpnInterfacesListener>
-
- org.opendaylight.netvirt.vpnmanager.VpnServiceElanDpnInterfacesListener
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<DpnInterfaces>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<DpnInterfaces>
@Singleton public class VpnServiceElanDpnInterfacesListener extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,VpnServiceElanDpnInterfacesListener>
-
-
Constructor Summary
Constructors Constructor Description VpnServiceElanDpnInterfacesListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, IFibManager fibManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, VpnUtil vpnUtil)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
protected VpnServiceElanDpnInterfacesListener
getDataTreeChangeListener()
static java.util.List<java.lang.String>
getUpdatedInterfaceList(java.util.List<java.lang.String> updatedInterfaceList, java.util.List<java.lang.String> currentInterfaceList)
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces>
getWildCardPath()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
void
start()
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces original, DpnInterfaces update)
-
-
-
Constructor Detail
-
VpnServiceElanDpnInterfacesListener
@Inject public VpnServiceElanDpnInterfacesListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, IFibManager fibManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, VpnUtil vpnUtil)
-
-
Method Detail
-
start
@PostConstruct public void start()
-
getWildCardPath
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,VpnServiceElanDpnInterfacesListener>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,VpnServiceElanDpnInterfacesListener>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces original, DpnInterfaces update)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,VpnServiceElanDpnInterfacesListener>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,VpnServiceElanDpnInterfacesListener>
-
getDataTreeChangeListener
protected VpnServiceElanDpnInterfacesListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,VpnServiceElanDpnInterfacesListener>
-
getUpdatedInterfaceList
public static java.util.List<java.lang.String> getUpdatedInterfaceList(java.util.List<java.lang.String> updatedInterfaceList, java.util.List<java.lang.String> currentInterfaceList)
-
-