mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Doing Level 2 cache part work on ovirt...
This commit is contained in:
parent
710b56d4e1
commit
b4309e72fa
@ -485,6 +485,20 @@ class OVirtLinkedDeployment(UserDeployment):
|
|||||||
'''
|
'''
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def moveToCache(self, newLevel):
|
||||||
|
'''
|
||||||
|
Moves machines between cache levels
|
||||||
|
'''
|
||||||
|
if opRemove in self._queue:
|
||||||
|
return State.RUNNING
|
||||||
|
|
||||||
|
if newLevel == self.L1_CACHE:
|
||||||
|
self._queue = [opStart, opFinish]
|
||||||
|
else:
|
||||||
|
self._queue = [opStart, opSuspend, opFinish]
|
||||||
|
|
||||||
|
return self.__executeQueue()
|
||||||
|
|
||||||
def userLoggedIn(self, user):
|
def userLoggedIn(self, user):
|
||||||
'''
|
'''
|
||||||
This method must be available so os managers can invoke it whenever
|
This method must be available so os managers can invoke it whenever
|
||||||
|
Loading…
Reference in New Issue
Block a user