Package org.onosproject.routing.config
Class BgpConfig.BgpSpeakerConfig
- java.lang.Object
-
- org.onosproject.routing.config.BgpConfig.BgpSpeakerConfig
-
-
Constructor Summary
Constructors Constructor Description BgpSpeakerConfig(Optional<String> name, VlanId vlanId, ConnectPoint connectPoint, Set<IpAddress> peers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPoint
connectPoint()
boolean
equals(Object obj)
int
hashCode()
boolean
isConnectedToPeer(IpAddress peer)
Examines if BGP peer is connected.Optional<String>
name()
Set<IpAddress>
peers()
VlanId
vlan()
-
-
-
Method Detail
-
vlan
public VlanId vlan()
-
connectPoint
public ConnectPoint connectPoint()
-
isConnectedToPeer
public boolean isConnectedToPeer(IpAddress peer)
Examines if BGP peer is connected.- Parameters:
peer
- IP address of peer- Returns:
- result of search
-
-