Add OVSBatch class (experimental)

This implements batch startup for OVS switches.
This commit is contained in:
Bob Lantz
2015-01-26 14:06:22 -08:00
parent c68e4e76f4
commit 9bda98486d
3 changed files with 87 additions and 30 deletions
+2 -1
View File
@@ -27,7 +27,7 @@ from mininet.net import Mininet, MininetWithControlNet, VERSION
from mininet.node import ( Host, CPULimitedHost, Controller, OVSController,
RYU, NOX, RemoteController, findController,
DefaultController,
UserSwitch, OVSSwitch, OVSBridge,
UserSwitch, OVSSwitch, OVSBridge, OVSBatch,
OVSLegacyKernelSwitch, IVSSwitch )
from mininet.nodelib import LinuxBridge
from mininet.link import Link, TCLink, OVSLink
@@ -62,6 +62,7 @@ SWITCHES = { 'user': UserSwitch,
# Keep ovsk for compatibility with 2.0
'ovsk': OVSSwitch,
'ovsl': OVSLegacyKernelSwitch,
'ovsbatch': OVSBatch, # experimental!!'
'ivs': IVSSwitch,
'lxbr': LinuxBridge,
'default': OVSSwitch }