Stub out RemoteOVSSwitch.batchShutdown()
Eventually we should implement true batch shutdown. In the mean time, we just ignore it. Note there's no good way that I know of for a subclass to remove a superclass method, so we changed the protocol a bit to require a return value of True.
This commit is contained in:
@@ -292,6 +292,11 @@ class RemoteOVSSwitch( RemoteMixin, OVSSwitch ):
|
||||
return ( StrictVersion( cls.OVSVersions[ self.server ] ) <
|
||||
StrictVersion( '1.10' ) )
|
||||
|
||||
@classmethod
|
||||
def batchShutdown( cls, *args, **kwargs ):
|
||||
"Not implemented yet"
|
||||
return False
|
||||
|
||||
|
||||
class RemoteLink( Link ):
|
||||
"A RemoteLink is a link between nodes which may be on different servers"
|
||||
|
||||
Reference in New Issue
Block a user