Send updated event when you update the node

This commit is contained in:
Julien Duponchelle committed 2016-05-18 11:03:13 +02:00
1 parent 7ebbdcd47c
commit 82f82f8cf9
10 files changed
+16

No files matched your search

@@ -122,6 +122,7 @@ class DynamipsVMHandler:
dynamips_manager = Dynamips.instance()
vm = dynamips_manager.get_node(request.match_info["node_id"], project_id=request.match_info["project_id"])
yield from dynamips_manager.update_vm_settings(vm, request.json)
vm.updated()
response.json(vm)
@Route.delete(