Created by carmine on 2/27/17.
Definition at line 40 of file TestUtils.java.
◆ checkAndGetTopo()
static ITopology org.openkilda.topo.TestUtils.checkAndGetTopo |
( |
long |
expectedSwitches, |
|
|
long |
expectedLinks |
|
) |
| throws InterruptedException |
|
static |
Queries for the Topology from the TE, counting switches and links, until they match the expected counts or it times out.
- Parameters
-
expectedSwitches | |
expectedLinks | |
- Returns
- the topology as of the last query
- Exceptions
-
Definition at line 132 of file TestUtils.java.
◆ clearEverything() [1/2]
static void org.openkilda.topo.TestUtils.clearEverything |
( |
| ) |
throws InterruptedException, IOException |
|
static |
◆ clearEverything() [2/2]
static void org.openkilda.topo.TestUtils.clearEverything |
( |
String |
endpoint | ) |
throws InterruptedException, IOException |
|
static |
- Parameters
-
endpoint | the kilda endpoint to clear |
Definition at line 185 of file TestUtils.java.
◆ createMininetTopoFromFile()
static String org.openkilda.topo.TestUtils.createMininetTopoFromFile |
( |
URL |
url | ) |
|
|
static |
◆ main()
static void org.openkilda.topo.TestUtils.main |
( |
String [] |
args | ) |
|
|
static |
◆ testTheTopo()
static void org.openkilda.topo.TestUtils.testTheTopo |
( |
URL |
url | ) |
|
|
static |
The composite test .. going from a resources/topologies/* file to Kilda and back
Definition at line 215 of file TestUtils.java.
◆ translateTopoEngTopo()
static ITopology org.openkilda.topo.TestUtils.translateTopoEngTopo |
( |
ITopology |
expected | ) |
throws InterruptedException |
|
static |
Get the topology from the Topology Engine, compare against the expected (switch/link count) until it matches or times out.
Definition at line 116 of file TestUtils.java.
◆ validateTopos()
static void org.openkilda.topo.TestUtils.validateTopos |
( |
ITopology |
expected, |
|
|
ITopology |
actual |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/atdd/src/test/java/org/openkilda/topo/TestUtils.java