Pass code check
This commit is contained in:
@@ -1164,6 +1164,7 @@ class OVSSwitch( Switch ):
|
|||||||
'-- set Interface %s options:peer=%s ' %
|
'-- set Interface %s options:peer=%s ' %
|
||||||
( intf, intf, peer ) )
|
( intf, intf, peer ) )
|
||||||
|
|
||||||
|
# pylint: disable=too-many-branches
|
||||||
def start( self, controllers ):
|
def start( self, controllers ):
|
||||||
"Start up a new OVS OpenFlow switch using ovs-vsctl"
|
"Start up a new OVS OpenFlow switch using ovs-vsctl"
|
||||||
if self.inNamespace:
|
if self.inNamespace:
|
||||||
@@ -1223,6 +1224,7 @@ class OVSSwitch( Switch ):
|
|||||||
# If necessary, restore TC config overwritten by OVS
|
# If necessary, restore TC config overwritten by OVS
|
||||||
for intf in self.intfList():
|
for intf in self.intfList():
|
||||||
self.TCReapply( intf )
|
self.TCReapply( intf )
|
||||||
|
# pylint: enable=too-many-branches
|
||||||
|
|
||||||
def stop( self, deleteIntfs=True ):
|
def stop( self, deleteIntfs=True ):
|
||||||
"""Terminate OVS switch.
|
"""Terminate OVS switch.
|
||||||
|
|||||||
Reference in New Issue
Block a user