@Singleton public class ElanInstanceManager extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager> implements AutoCloseable
Constructor and Description |
---|
ElanInstanceManager(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService managerService,
ElanInterfaceManager elanInterfaceManager,
org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier,
ElanInstance elanInstanceAdded) |
protected ElanInstanceManager |
getDataTreeChangeListener() |
static List<DpnInterfaces> |
getElanDPNByName(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
String elanInstanceName) |
List<DpnInterfaces> |
getElanDPNByName(String elanInstanceName) |
ElanInstance |
getElanInstanceByName(String elanInstanceName) |
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> |
getWildCardPath() |
void |
init() |
protected void |
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier,
ElanInstance deletedElan) |
protected void |
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier,
ElanInstance original,
ElanInstance update) |
addAfterListener, addBeforeListener, close, onDataTreeChanged, registerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
@Inject public ElanInstanceManager(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService managerService, ElanInterfaceManager elanInterfaceManager, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager)
@PostConstruct public void init()
init
in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance deletedElan)
remove
in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance original, ElanInstance update)
update
in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance elanInstanceAdded)
add
in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
public ElanInstance getElanInstanceByName(String elanInstanceName)
@Nonnull public List<DpnInterfaces> getElanDPNByName(String elanInstanceName)
@Nonnull public static List<DpnInterfaces> getElanDPNByName(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, String elanInstanceName)
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> getWildCardPath()
getWildCardPath
in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
protected ElanInstanceManager getDataTreeChangeListener()
getDataTreeChangeListener
in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
Copyright © 2018 OpenDaylight. All rights reserved.