Constructor and Description |
---|
BgpSpeakerConfig(Optional<String> name,
VlanId vlanId,
ConnectPoint connectPoint,
Set<IpAddress> peers) |
Modifier and Type | Method and 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() |
public VlanId vlan()
public ConnectPoint connectPoint()
public boolean isConnectedToPeer(IpAddress peer)
peer
- IP address of peer