public final class BgpDpid extends 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(URI uri)
Returns bgpDpid created from the given device URI.
|
String |
isoNodeIdString(byte[] isoNodeId) |
String |
toString() |
static URI |
uri(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 String isoNodeIdString(byte[] isoNodeId)
public BgpDpid add(NodeDescriptors value)
value - node descriptorpublic static URI uri(String value)
value - string to get URI