Open Kilda Java Documentation
plan-c Namespace Reference

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 ) ]
 

Variable Documentation

◆ c0

plan-c.c0 = net.addController( 'c0', ip=gateway, port=6653)

Definition at line 41 of file plan-c.py.

◆ gateway

plan-c.gateway = '127.0.0.1'

Definition at line 28 of file plan-c.py.

◆ hosts1

list plan-c.hosts1 = [ net.addHost( 'h%ds1' % n ) for n in ( 1, 2 ) ]

Definition at line 48 of file plan-c.py.

◆ hosts2

list plan-c.hosts2 = [ net.addHost( 'h%ds2' % n ) for n in ( 1, 2 ) ]

Definition at line 49 of file plan-c.py.

◆ net

plan-c.net = Mininet( controller=RemoteController, switch=KildaSwitch, build=False )

Definition at line 38 of file plan-c.py.

◆ netstat

plan-c.netstat = subprocess.check_output(['netstat', '-rn']).split('\n')

Definition at line 29 of file plan-c.py.

◆ s1

plan-c.s1 = net.addSwitch( 's1' )

Definition at line 44 of file plan-c.py.

◆ s2

plan-c.s2 = net.addSwitch( 's2' )

Definition at line 45 of file plan-c.py.