'name: name for switch
failMode: controller loss behavior (secure|standalone)
datapath: userspace or kernel mode (kernel|user)
inband: use in-band control (False)
protocols: use specific OpenFlow version(s) (e.g. OpenFlow13)
Unspecified (or old OVS version) uses OVS default
reconnectms: max reconnect timeout in ms (0/None for default)
stp: enable STP (False, requires failMode=standalone)
batch: enable batch startup (False)'

def __init__(self, name, failMode='secure', datapath='kernel', inband=False, protocols=None, reconnectms=1000, stp=False, batch=False, **params):

    Switch.__init__(self, name, **params)
    self.failMode = failMode
    self.datapath = datapath
    self.inband = inband
    self.protocols = protocols
    self.reconnectms = reconnectms
    self.stp = stp
    self._uuids = []
    self.batch = batch
    self.commands = []
