def post(self):
     post_data = dict(urlparse.parse_qsl(self.request.body))
     Logging.LOGGER.info(
         "VMManagerServer: TestLabHandler: post(): post_data = %s" %
         str(post_data))
     self.write(
         VMManager.test_lab(post_data['lab_src_url'],
                            post_data.get('version', None)))
 def post(self):
     post_data = dict(urlparse.parse_qsl(self.request.body))
     Logging.LOGGER.info("VMManagerServer: TestLabHandler: post(): post_data = %s" % str(post_data))
     self.write(VMManager.test_lab(post_data['lab_src_url'], post_data.get('version', None)))
 def get(self, command):
     self.write(VMManager.execute(command))
 def get(self):
     self.write(VMManager.mem_usage())  
 def get(self):
     self.write(VMManager.running_processes())
 def get(self):
     self.write(VMManager.running_time())
 def get(self):    
     self.write(VMManager.cpu_load())
 def get(self):
     #response = VMManager.disk_usage()
     self.write(VMManager.disk_usage())
Beispiel #9
0
 def post(self):
     post_data = dict(urlparse.parse_qsl(self.request.body))
     print post_data['lab_src_url']
     self.write(VMManager.test_lab(post_data['lab_src_url'], post_data.get('version', None)))
Beispiel #10
0
 def post(self):
     post_data = dict(urlparse.parse_qsl(self.request.body))
     print post_data['lab_src_url']
     self.write(
         VMManager.test_lab(post_data['lab_src_url'],
                            post_data.get('version', None)))
Beispiel #11
0
 def get(self, command):
     self.write(VMManager.execute(command))
Beispiel #12
0
 def get(self):
     self.write(VMManager.mem_usage())
Beispiel #13
0
 def get(self):
     self.write(VMManager.running_processes())
Beispiel #14
0
 def get(self):
     self.write(VMManager.running_time())
Beispiel #15
0
 def get(self):
     self.write(VMManager.cpu_load())
Beispiel #16
0
 def get(self):
     #response = VMManager.disk_usage()
     self.write(VMManager.disk_usage())