Class AppPeer
- java.lang.Object
-
- org.opendaylight.protocol.bgp.rib.impl.config.AppPeer
-
- All Implemented Interfaces:
AutoCloseable
,PeerBean
,BGPPeerStateConsumer
public final class AppPeer extends Object implements PeerBean, BGPPeerStateConsumer
-
-
Constructor Summary
Constructors Constructor Description AppPeer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>
closeServiceInstance()
Boolean
containsEqualConfiguration(Neighbor neighbor)
BGPPeerState
getPeerState()
Returns Peer Operational State.void
instantiateServiceInstance()
void
restart(RIB rib, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Bgp> bgpIid, PeerGroupConfigLoader peerGroupLoader, BGPTableTypeRegistryConsumer tableTypeRegistry)
void
start(RIB rib, Neighbor neighbor, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Bgp> bgpIid, PeerGroupConfigLoader peerGroupLoader, BGPTableTypeRegistryConsumer tableTypeRegistry)
-
-
-
Method Detail
-
start
public void start(RIB rib, Neighbor neighbor, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Bgp> bgpIid, PeerGroupConfigLoader peerGroupLoader, BGPTableTypeRegistryConsumer tableTypeRegistry)
-
restart
public void restart(RIB rib, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Bgp> bgpIid, PeerGroupConfigLoader peerGroupLoader, BGPTableTypeRegistryConsumer tableTypeRegistry)
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacePeerBean
-
instantiateServiceInstance
public void instantiateServiceInstance()
- Specified by:
instantiateServiceInstance
in interfacePeerBean
-
closeServiceInstance
public com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> closeServiceInstance()
- Specified by:
closeServiceInstance
in interfacePeerBean
-
containsEqualConfiguration
public Boolean containsEqualConfiguration(Neighbor neighbor)
- Specified by:
containsEqualConfiguration
in interfacePeerBean
-
getPeerState
public BGPPeerState getPeerState()
Description copied from interface:BGPPeerStateConsumer
Returns Peer Operational State.- Specified by:
getPeerState
in interfaceBGPPeerStateConsumer
- Returns:
- BGP Peer State
-
-