public final class BgpPeer extends Object implements PeerBean, BGPPeerStateConsumer, BGPPeerRuntimeMXBean
Constructor and Description |
---|
BgpPeer(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<Void> |
closeServiceInstance() |
Boolean |
containsEqualConfiguration(Neighbor neighbor) |
BgpPeerState |
getBgpPeerState() |
BgpSessionState |
getBgpSessionState() |
BGPPeerState |
getPeerState()
Returns Peer Operational State
|
void |
resetSession() |
void |
resetStats() |
void |
restart(RIB rib,
BGPTableTypeRegistryConsumer tableTypeRegistry) |
void |
start(RIB rib,
Neighbor neighbor,
BGPTableTypeRegistryConsumer tableTypeRegistry,
BgpDeployer.WriteConfiguration configurationWriter) |
public BgpPeer(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry)
public void start(RIB rib, Neighbor neighbor, BGPTableTypeRegistryConsumer tableTypeRegistry, BgpDeployer.WriteConfiguration configurationWriter)
public void restart(RIB rib, BGPTableTypeRegistryConsumer tableTypeRegistry)
public void close()
close
in interface AutoCloseable
close
in interface PeerBean
public com.google.common.util.concurrent.ListenableFuture<Void> closeServiceInstance()
closeServiceInstance
in interface PeerBean
public Boolean containsEqualConfiguration(Neighbor neighbor)
containsEqualConfiguration
in interface PeerBean
public BgpPeerState getBgpPeerState()
getBgpPeerState
in interface BGPPeerRuntimeMXBean
public BgpSessionState getBgpSessionState()
getBgpSessionState
in interface BGPPeerRuntimeMXBean
public void resetSession()
resetSession
in interface BGPPeerRuntimeMXBean
public void resetStats()
resetStats
in interface BGPPeerRuntimeMXBean
public BGPPeerState getPeerState()
BGPPeerStateConsumer
getPeerState
in interface BGPPeerStateConsumer
Copyright © 2018 OpenDaylight. All rights reserved.