Enable controller-less setups

This commit is contained in:
Brandon Heller
2010-01-02 10:58:28 -08:00
parent 4804237fa7
commit 16c57ddb33
3 changed files with 20 additions and 14 deletions
+3 -1
View File
@@ -30,9 +30,11 @@ HOST_DEF = 'process'
HOSTS = {'process' : Host}
CONTROLLER_DEF = 'ref'
# a and b are the name and inNamespace params.
CONTROLLERS = {'ref' : Controller,
'nox_dump' : lambda a, b: NOX(a, b, 'packetdump'),
'nox_pysw' : lambda a, b: NOX(a, b, 'pyswitch')}
'nox_pysw' : lambda a, b: NOX(a, b, 'pyswitch'),
'none' : lambda a, b: None}
# optional tests to run
TESTS = ['cli', 'build', 'ping_all', 'ping_pair', 'iperf', 'all']