Topology Slug - used to identify a topology element.
Definition at line 25 of file TopoSlug.java.
◆ TopoSlug()
org.openkilda.topo.TopoSlug.TopoSlug |
( |
String |
slug | ) |
|
◆ main()
static void org.openkilda.topo.TopoSlug.main |
( |
String [] |
args | ) |
|
|
static |
◆ toLink()
static final Link org.openkilda.topo.TopoSlug.toLink |
( |
TopoSlug |
slug | ) |
|
|
static |
toLink will convert any slug into a link, possibly with a bunch of null values. It depends on the type of the slug:
- LINK: This should be fully formed, no nulls.
- QUEUE: Only the source endpoint is fully formed (endpoint is equivalent)
- PORT: The source endpoint will be partially formed.
- SWITCH: The source endpoint will be partially formed. This method can be used as a shortcut to parse the slug.
Definition at line 132 of file TopoSlug.java.
◆ toString() [1/6]
static final String org.openkilda.topo.TopoSlug.toString |
( |
Switch |
aSwitch | ) |
|
|
static |
◆ toString() [2/6]
static final String org.openkilda.topo.TopoSlug.toString |
( |
Port |
port | ) |
|
|
static |
◆ toString() [3/6]
static final String org.openkilda.topo.TopoSlug.toString |
( |
PortQueue |
portQueue | ) |
|
|
static |
◆ toString() [4/6]
static final String org.openkilda.topo.TopoSlug.toString |
( |
LinkEndpoint |
ep | ) |
|
|
static |
◆ toString() [5/6]
static final String org.openkilda.topo.TopoSlug.toString |
( |
Link |
link, |
|
|
boolean |
abbreviate |
|
) |
| |
|
static |
◆ toString() [6/6]
String org.openkilda.topo.TopoSlug.toString |
( |
| ) |
|
◆ DELIM
final String org.openkilda.topo.TopoSlug.DELIM = ":" |
|
static |
◆ EP_DELIM
final String org.openkilda.topo.TopoSlug.EP_DELIM = "->" |
|
static |
◆ NULL_ENDPOINT
final String org.openkilda.topo.TopoSlug.NULL_ENDPOINT = NULL_PORT + DELIM + "Q.0" |
|
static |
◆ NULL_LINK
◆ NULL_PORT
final String org.openkilda.topo.TopoSlug.NULL_PORT = NULL_SWITCH + DELIM + "P.0" |
|
static |
◆ NULL_SWITCH
final String org.openkilda.topo.TopoSlug.NULL_SWITCH = "S.0" |
|
static |
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/atdd/src/main/java/org/openkilda/topo/TopoSlug.java