public class BgpSessionInfo extends Object
| Constructor and Description |
|---|
BgpSessionInfo() |
| Modifier and Type | Method and Description |
|---|---|
SocketAddress |
address()
Gets the BGP session address: local or remote.
|
long |
as4Number()
Gets the BGP session AS4 number: local or remote.
|
boolean |
as4OctetCapability()
Gets the BGP session 4 octet AS path capability: local or remote.
|
long |
asNumber()
Gets the BGP session AS number: local or remote.
|
org.onlab.packet.Ip4Address |
bgpId()
Gets the BGP session BGP Identifier as an IPv4 address: local or remote.
|
int |
bgpVersion()
Gets the BGP session BGP version: local or remote.
|
long |
holdtime()
Gets the BGP session holdtime: local or remote.
|
org.onlab.packet.Ip4Address |
ip4Address()
Gets the BGP session IPv4 address: local or remote.
|
boolean |
ipv4Multicast()
Gets the BGP session AFI/SAFI configuration for IPv4 multicast: local or
remote.
|
boolean |
ipv4Unicast()
Gets the BGP session AFI/SAFI configuration for IPv4 unicast: local or
remote.
|
boolean |
ipv6Multicast()
Gets the BGP session AFI/SAFI configuration for IPv6 multicast: local or
remote.
|
boolean |
ipv6Unicast()
Gets the BGP session AFI/SAFI configuration for IPv6 unicast: local or
remote.
|
boolean |
mpExtensions()
Gets the BGP Multiprotocol Extensions: local or remote.
|
void |
setAddress(SocketAddress address)
Sets the BGP session address: local or remote.
|
void |
setAs4Number(long as4Number)
Sets the BGP session AS4 number: local or remote.
|
void |
setAs4OctetCapability()
Sets the BGP session 4 octet AS path capability.
|
void |
setAsNumber(long asNumber)
Sets the BGP session AS number: local or remote.
|
void |
setBgpId(org.onlab.packet.Ip4Address bgpId)
Sets the BGP session BGP Identifier as an IPv4 address: local or remote.
|
void |
setBgpVersion(int bgpVersion)
Sets the BGP session BGP version: local or remote.
|
void |
setHoldtime(long holdtime)
Sets the BGP session holdtime: local or remote.
|
void |
setIp4Address(org.onlab.packet.Ip4Address ip4Address)
Sets the BGP session IPv4 address: local or remote.
|
void |
setIpv4Multicast()
Sets the BGP session AFI/SAFI configuration for IPv4 multicast: local or
remote.
|
void |
setIpv4Unicast()
Sets the BGP session AFI/SAFI configuration for IPv4 unicast: local or
remote.
|
void |
setIpv6Multicast()
Sets the BGP session AFI/SAFI configuration for IPv6 multicast: local or
remote.
|
public SocketAddress address()
public void setAddress(SocketAddress address)
address - the BGP session address to setpublic org.onlab.packet.Ip4Address ip4Address()
public void setIp4Address(org.onlab.packet.Ip4Address ip4Address)
ip4Address - the BGP session IPv4 address to setpublic int bgpVersion()
public void setBgpVersion(int bgpVersion)
bgpVersion - the BGP session BGP version to setpublic long asNumber()
public void setAsNumber(long asNumber)
asNumber - the BGP session AS number to setpublic long as4Number()
public void setAs4Number(long as4Number)
as4Number - the BGP session AS4 number to setpublic long holdtime()
public void setHoldtime(long holdtime)
holdtime - the BGP session holdtime to setpublic org.onlab.packet.Ip4Address bgpId()
public void setBgpId(org.onlab.packet.Ip4Address bgpId)
bgpId - the BGP session BGP Identifier to setpublic boolean mpExtensions()
public boolean ipv4Unicast()
public void setIpv4Unicast()
public boolean ipv4Multicast()
public void setIpv4Multicast()
public boolean ipv6Unicast()
public boolean ipv6Multicast()
public void setIpv6Multicast()
public boolean as4OctetCapability()
public void setAs4OctetCapability()