public final class BgpDpid
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NODE_DESCRIPTOR_LOCAL |
static int |
NODE_DESCRIPTOR_REMOTE |
| Constructor and Description |
|---|
BgpDpid(BgpLinkLsNlriVer4 linkNlri,
int nodeDescriptorType)
Initialize BGP id to generate URI.
|
BgpDpid(BgpNodeLSNlriVer4 nlri)
Initialize BGP id to generate URI.
|
| Modifier and Type | Method and Description |
|---|---|
BgpDpid |
add(NodeDescriptors value)
Obtains instance of this class by appending stringBuilder with node descriptor value.
|
static BgpDpid |
bgpDpid(java.net.URI uri)
Returns bgpDpid created from the given device URI.
|
java.lang.String |
isoNodeIdString(byte[] isoNodeId) |
java.lang.String |
toString() |
static java.net.URI |
uri(java.lang.String value)
Produces bgp URI.
|
public static final int NODE_DESCRIPTOR_LOCAL
public static final int NODE_DESCRIPTOR_REMOTE
public BgpDpid(BgpLinkLsNlriVer4 linkNlri, int nodeDescriptorType)
linkNlri - node NLRI.nodeDescriptorType - node descriptor type, local/remotepublic BgpDpid(BgpNodeLSNlriVer4 nlri)
nlri - node NLRI.public java.lang.String isoNodeIdString(byte[] isoNodeId)
public BgpDpid add(NodeDescriptors value)
value - node descriptorpublic java.lang.String toString()
toString in class java.lang.Objectpublic static java.net.URI uri(java.lang.String value)
value - string to get URIpublic static BgpDpid bgpDpid(java.net.URI uri)
uri - device URI