cameron@onlab.us | 21106ea | 2015-07-23 15:32:51 -0700 | [diff] [blame] | 1 | ''' |
2 | Simple 1 switch topology for topologoy performance test | ||||
3 | ''' | ||||
4 | |||||
5 | from mininet.topo import Topo | ||||
6 | |||||
7 | class MyTopo( Topo ): | ||||
8 | def __init__(self): | ||||
9 | Topo.__init__(self) | ||||
10 | |||||
11 | s3 = self.addSwitch( "s3", dpid="0000000000000001") | ||||
12 | |||||
13 | topos = { 'mytopo': ( lambda: MyTopo() ) } |