1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-30 20:28:08 +00:00
This commit is contained in:
Jerry Seutter 2014-10-28 11:07:44 -06:00
parent 3a157b5e6d
commit 5f9554b86c
2 changed files with 0 additions and 6 deletions

View File

@ -174,13 +174,10 @@ class IModule(multiprocessing.Process):
:param results: JSON results to the ZeroMQ server
"""
log.error('got here 4')
jsonrpc_response = jsonrpc.JSONRPCResponse(results, self._current_call_id)()
# add session to the response
response = [self._current_session, jsonrpc_response]
log.error("ZeroMQ client ({}) sending: {}".format(self.name, response))
log.error('got here 5')
self._stream.send_json(response)
def send_param_error(self):

View File

@ -201,7 +201,6 @@ class VM(object):
if self._hypervisor_manager.ghost_ios_support:
self.set_ghost_ios(router)
log.error('got here 1')
except DynamipsError as e:
dynamips_stdout = ""
if hypervisor:
@ -211,7 +210,6 @@ class VM(object):
self._hypervisor_manager.hypervisors.remove(hypervisor)
dynamips_stdout = hypervisor.read_stdout()
self.send_custom_error(str(e) + dynamips_stdout)
log.error('got here 2')
return
response = {"name": router.name,
@ -219,7 +217,6 @@ class VM(object):
defaults = router.defaults()
response.update(defaults)
self._routers[router.id] = router
log.error('got here 3 {}'.format(response))
self.send_response(response)
@IModule.route("dynamips.vm.delete")