Open Kilda Java Documentation
org.openkilda.topo.TopologyHelp Class Reference

Static Public Member Functions

static boolean DeleteMininetTopology ()
 
static boolean CreateMininetTopology (String json)
 
static boolean TestMininetCreate (String json)
 
static String GetTopology ()
 
static String ClearTopology ()
 
static ImmutablePair< Flow, FlowGetFlow (String flowId)
 
static void main (String[] args) throws IOException
 

Detailed Description

Helper methods for doing Topology tests.

Definition at line 39 of file TopologyHelp.java.

Member Function Documentation

◆ ClearTopology()

static String org.openkilda.topo.TopologyHelp.ClearTopology ( )
static

NB: This method calls TE, not Mininet

Returns
The JSON document of the Topology from the Topology Engine

Definition at line 135 of file TopologyHelp.java.

◆ CreateMininetTopology()

static boolean org.openkilda.topo.TopologyHelp.CreateMininetTopology ( String  json)
static

Creates the topology through Mininet.

Parameters
json- the json doc that is suitable for the mininet API

Definition at line 62 of file TopologyHelp.java.

◆ DeleteMininetTopology()

static boolean org.openkilda.topo.TopologyHelp.DeleteMininetTopology ( )
static

Definition at line 40 of file TopologyHelp.java.

◆ GetFlow()

static ImmutablePair<Flow, Flow> org.openkilda.topo.TopologyHelp.GetFlow ( String  flowId)
static

Definition at line 153 of file TopologyHelp.java.

◆ GetTopology()

static String org.openkilda.topo.TopologyHelp.GetTopology ( )
static

NB: This method calls TE, not Mininet

Returns
The JSON document of the Topology from the Topology Engine

Definition at line 111 of file TopologyHelp.java.

◆ main()

static void org.openkilda.topo.TopologyHelp.main ( String []  args) throws IOException
static

Definition at line 177 of file TopologyHelp.java.

◆ TestMininetCreate()

static boolean org.openkilda.topo.TopologyHelp.TestMininetCreate ( String  json)
static

Definition at line 79 of file TopologyHelp.java.


The documentation for this class was generated from the following file: