Revision 127f35a9 mininet/node.py

View differences:

mininet/node.py
1054 1054
    "Open vSwitch switch. Depends on ovs-vsctl."
1055 1055

  
1056 1056
    def __init__( self, name, failMode='secure', datapath='kernel',
1057
                  inband=False, protocols='OpenFlow10,OpenFlow13', **params ):
1057
                  inband=False, protocols=None, **params ):
1058 1058
        """Init.
1059 1059
           name: name for switch
1060 1060
           failMode: controller loss behavior (secure|open)
1061 1061
           datapath: userspace or kernel mode (kernel|user)
1062 1062
           inband: use in-band control (False)
1063
           protocols: use specific OpenFlow version(s)
1064
           Unspecified (or old OVS version) uses default (OpenFlow 1.0)"""
1063
           protocols: use specific OpenFlow version(s) (e.g. OpenFlow13)
1064
           Unspecified (or old OVS version) uses OVS default"""
1065 1065
        Switch.__init__( self, name, **params )
1066 1066
        self.failMode = failMode
1067 1067
        self.datapath = datapath

Also available in: Unified diff