admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | This example shows , how we can use the topology file: |
2 | |||||
3 | In topo file we can specify the component like below: | ||||
4 | [TOPOLOGY] | ||||
5 | |||||
6 | [[COMPONENT]] | ||||
7 | [[["Mininet1"]]] | ||||
8 | |||||
9 | The usage of this component in the test script like below: | ||||
10 | |||||
11 | main.Mininet1.checkIP(main.params['CASE1']['destination']) | ||||
12 | |||||
13 | Here we are using the Mininet1 which of type Mininet | ||||
14 | |||||
15 | |||||
16 | |||||
17 | cd ~/bin/ | ||||
18 | ./launcher --example Topology | ||||
19 | will execute this example. |