Commit 3d201f16 authored by Yingjie Xu's avatar Yingjie Xu

Do not operate software release manually.

parent 85c1f7f9
...@@ -55,16 +55,6 @@ class Agent: ...@@ -55,16 +55,6 @@ class Agent:
safeRpcCall(portal, "Agent_requestSoftwareReleaseInstallationOnComputer", computer, software_release) safeRpcCall(portal, "Agent_requestSoftwareReleaseInstallationOnComputer", computer, software_release)
time.sleep(5) time.sleep(5)
def stopSoftwareReleaseCleanupOnComputer(self, computer, software_release):
portal = xmlrpclib.ServerProxy(self.portal_url, allow_none=1)
safeRpcCall(portal, "Agent_stopSoftwareReleaseCleanupOnComputer", computer, software_release)
time.sleep(5)
def stopSoftwareReleaseInstallationOnComputer(self, computer, software_release):
portal = xmlrpclib.ServerProxy(self.portal_url, allow_none=1)
safeRpcCall(portal, "Agent_stopSoftareReleaseInstallationOnComputer", computer, software_release)
time.sleep(5)
def checkSoftwareReleaseStatus(self): def checkSoftwareReleaseStatus(self):
now = datetime.now() now = datetime.now()
for computer in self.computer_list: for computer in self.computer_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment