diff --git a/gns3server/handlers/api/compute/dynamips_vm_handler.py b/gns3server/handlers/api/compute/dynamips_vm_handler.py index 129036cf..c55ccb27 100644 --- a/gns3server/handlers/api/compute/dynamips_vm_handler.py +++ b/gns3server/handlers/api/compute/dynamips_vm_handler.py @@ -408,25 +408,6 @@ class DynamipsVMHandler: response.set_status(200) response.json(result) - @Route.post( - r"/projects/{project_id}/dynamips/nodes/{node_id}/configs/save", - parameters={ - "project_id": "Project UUID", - "node_id": "Node UUID", - }, - status_codes={ - 200: "Configs saved", - 400: "Invalid request", - 404: "Instance doesn't exist" - }, - description="Save the startup and private configs content") - def save_configs(request, response): - - dynamips_manager = Dynamips.instance() - vm = dynamips_manager.get_node(request.match_info["node_id"], project_id=request.match_info["project_id"]) - yield from vm.save_configs() - response.set_status(200) - @Route.get( r"/projects/{project_id}/dynamips/nodes/{node_id}/idlepc_proposals", parameters={ diff --git a/gns3server/handlers/api/compute/iou_handler.py b/gns3server/handlers/api/compute/iou_handler.py index 846a3f87..325e184f 100644 --- a/gns3server/handlers/api/compute/iou_handler.py +++ b/gns3server/handlers/api/compute/iou_handler.py @@ -344,25 +344,6 @@ class IOUHandler: response.set_status(200) response.json(result) - @Route.post( - r"/projects/{project_id}/iou/nodes/{node_id}/configs/save", - parameters={ - "project_id": "Project UUID", - "node_id": "Node UUID" - }, - status_codes={ - 200: "Configs saved", - 400: "Invalid request", - 404: "Instance doesn't exist" - }, - description="Save the startup and private configs content") - def save_configs(request, response): - - iou_manager = IOU.instance() - vm = iou_manager.get_node(request.match_info["node_id"], project_id=request.match_info["project_id"]) - vm.save_configs() - response.set_status(200) - @Route.get( r"/iou/images", status_codes={