public class BGPInetRtr extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BGPAutNum |
autNumObject |
protected String |
peerRegistry |
protected Set<BGPPeer> |
peers |
protected String |
speakerAddress |
protected long |
speakerAutNum |
protected String |
speakerName |
| Constructor and Description |
|---|
BGPInetRtr(net.ripe.db.whois.common.rpsl.RpslObject object,
String speakerAddress,
BGPAutNum autNumObject)
Instantiate a new BGPInetRtr (BGP Speaker) using the provided inet-rtr rpsl object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BGPAutNum |
getAutNumObject()
Get the AutNum the inet-rtr is a member of
|
String |
getPeerRegistry()
Get the peer registry the inet-rtr/speaker will accept (OpenDaylight specific)
|
Set<BGPPeer> |
getPeers()
Get a copy of the objects peer set
|
String |
getSpeakerAddress()
Get the listening address of the inet-rtr/speaker
|
long |
getSpeakerAutNum()
Get the Autnonomous System number of the inet-rtr
|
static Set<BGPInetRtr> |
getSpeakerInstances(net.ripe.db.whois.common.rpsl.RpslObject object,
BGPAutNum autNumObject)
Instantiate a set of BGPInetRtr speakers declared in an RPSL inet-rtr object.
|
String |
getSpeakerName()
Get the configured name of the inet-rtr/speaker
|
int |
hashCode() |
String |
toString() |
protected BGPAutNum autNumObject
protected String speakerAddress
protected String speakerName
protected String peerRegistry
protected long speakerAutNum
public BGPInetRtr(net.ripe.db.whois.common.rpsl.RpslObject object,
String speakerAddress,
BGPAutNum autNumObject)
BGPAutNum to
construct their route tables.object - RPSL inet-rtr object of the speakerspeakerAddress - address of the speaker (should be ifaddr attribtue of the object)autNumObject - AutNum the speaker is a member ofpublic static Set<BGPInetRtr> getSpeakerInstances(net.ripe.db.whois.common.rpsl.RpslObject object, BGPAutNum autNumObject)
object - inet-rtr instance of RpslObjectpublic Set<BGPPeer> getPeers()
BGPPeerspublic BGPAutNum getAutNumObject()
public String getSpeakerAddress()
public String getSpeakerName()
public String getPeerRegistry()
public long getSpeakerAutNum()
Copyright © 2015. All rights reserved.