Open Kilda Java Documentation
plan-c.py File Reference

Go to the source code of this file.

Classes

class  plan-c.KildaSwitch
 

Namespaces

 plan-c
 

Variables

string plan-c.gateway = '127.0.0.1'
 
 plan-c.netstat = subprocess.check_output(['netstat', '-rn']).split('\n')
 
 plan-c.net = Mininet( controller=RemoteController, switch=KildaSwitch, build=False )
 
 plan-c.c0 = net.addController( 'c0', ip=gateway, port=6653)
 
 plan-c.s1 = net.addSwitch( 's1' )
 
 plan-c.s2 = net.addSwitch( 's2' )
 
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 ) ]