![]() |
Open Kilda Java Documentation
|
Classes | |
| class | KildaSwitch |
Variables | |
| string | gateway = '127.0.0.1' |
| netstat = subprocess.check_output(['netstat', '-rn']).split('\n') | |
| net = Mininet( controller=RemoteController, switch=KildaSwitch, build=False ) | |
| c0 = net.addController( 'c0', ip=gateway, port=6653) | |
| s1 = net.addSwitch( 's1' ) | |
| s2 = net.addSwitch( 's2' ) | |
| list | hosts1 = [ net.addHost( 'h%ds1' % n ) for n in ( 1, 2 ) ] |
| list | hosts2 = [ net.addHost( 'h%ds2' % n ) for n in ( 1, 2 ) ] |
| plan-c.c0 = net.addController( 'c0', ip=gateway, port=6653) |
| list plan-c.hosts1 = [ net.addHost( 'h%ds1' % n ) for n in ( 1, 2 ) ] |
| list plan-c.hosts2 = [ net.addHost( 'h%ds2' % n ) for n in ( 1, 2 ) ] |
| plan-c.net = Mininet( controller=RemoteController, switch=KildaSwitch, build=False ) |
| plan-c.netstat = subprocess.check_output(['netstat', '-rn']).split('\n') |