Package TestON :: Package examples :: Package Topology :: Module Topology :: Class Topology
[hide private]
[frames] | no frames]

Class Topology

source code



This example shows, how we can use the topology file:

In topo file we can specify the component like below:
[TOPOLOGY]

    [[COMPONENT]]
        [[["Mininet1"]]]

The usage of this component in the test script like below:

main.Mininet1.checkIP(main.params['CASE1']['destination'])

Here we are using the Mininet1 which of type Mininet



ofautomation>run Topology example 1
   will execute this example.

Instance Methods [hide private]
 
__init__(self) source code
 
CASE1(self, main)
This will showcase the usage of Topology
source code