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 void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)
BgpConfigurationManager.NetworksReactor
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks>
getWildCardPath()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)
int
testValueAFI(java.lang.String pfxlen)
get the value AFI from a prefix as "x.x.x.x/x".protected void
update(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:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)
- Specified by:
remove
in 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:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Networks,BgpConfigurationManager.NetworksReactor>
-
-