public final class PeerRoute extends Object
| Constructor and Description |
|---|
PeerRoute() |
| Modifier and Type | Method and Description |
|---|---|
String |
asPath()
Get the asPath property: The route's AS path sequence.
|
String |
localAddress()
Get the localAddress property: The peer's local address.
|
String |
network()
Get the network property: The route's network prefix.
|
String |
nextHop()
Get the nextHop property: The route's next hop.
|
String |
origin()
Get the origin property: The source this route was learned from.
|
String |
sourcePeer()
Get the sourcePeer property: The peer this route was learned from.
|
void |
validate()
Validates the instance.
|
Integer |
weight()
Get the weight property: The route's weight.
|
public String localAddress()
public String network()
public String nextHop()
public String sourcePeer()
public String origin()
public String asPath()
public Integer weight()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.