Class BgpConfigurationManager.NetworksReactor
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
- org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager.NetworksReactor
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.util.EventListener,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<Networks>,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<Networks>,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<Networks>
- Enclosing class:
- BgpConfigurationManager
public class BgpConfigurationManager.NetworksReactor extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor> implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<Networks>
-
-
Constructor Summary
Constructors Constructor Description NetworksReactor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadd(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)BgpConfigurationManager.NetworksReactorgetDataTreeChangeListener()protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks>getWildCardPath()protected voidremove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)inttestValueAFI(java.lang.String pfxlen)get the value AFI from a prefix as "x.x.x.x/x".protected voidupdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks oldval, Networks newval)-
Methods inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase
addAfterListener, addBeforeListener, close, deregisterListener, init, onDataTreeChanged, registerListener
-
-
-
-
Method Detail
-
getDataTreeChangeListener
public BgpConfigurationManager.NetworksReactor getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListenerin classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)
- Specified by:
addin classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> getWildCardPath()
- Specified by:
getWildCardPathin classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)
- Specified by:
removein classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
testValueAFI
public int testValueAFI(java.lang.String pfxlen)
get the value AFI from a prefix as "x.x.x.x/x".- Parameters:
pfxlen- the prefix to get an afi- Returns:
- the afi value as you are need
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks oldval, Networks newval)
- Specified by:
updatein classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
-