diff --git a/gns3server/compute/iou/iou_vm.py b/gns3server/compute/iou/iou_vm.py index 4b623693..9cd1a295 100644 --- a/gns3server/compute/iou/iou_vm.py +++ b/gns3server/compute/iou/iou_vm.py @@ -218,7 +218,6 @@ class IOUVM(BaseNode): "l1_keepalives": self._l1_keepalives, "startup_config": self.relative_startup_config_file, "private_config": self.relative_private_config_file, - "iourc_path": self.iourc_path, "use_default_iou_values": self._use_default_iou_values, "command_line": self.command_line} diff --git a/gns3server/schemas/iou.py b/gns3server/schemas/iou.py index 3eb89a65..5b14bc97 100644 --- a/gns3server/schemas/iou.py +++ b/gns3server/schemas/iou.py @@ -199,10 +199,6 @@ IOU_OBJECT_SCHEMA = { "description": "Use default IOU values", "type": ["boolean", "null"] }, - "iourc_path": { - "description": "Path of the iourc file used by remote servers", - "type": ["string", "null"] - }, "startup_config_content": { "description": "Startup-config of IOU", "type": ["string", "null"] diff --git a/tests/handlers/api/compute/test_iou.py b/tests/handlers/api/compute/test_iou.py index ee1fcafe..c0a1537f 100644 --- a/tests/handlers/api/compute/test_iou.py +++ b/tests/handlers/api/compute/test_iou.py @@ -98,8 +98,6 @@ def test_iou_create_with_params(http_compute, project, base_params): with open(startup_config_file(project, response.json)) as f: assert f.read() == "hostname test" - assert "iourc" in response.json["iourc_path"] - def test_iou_create_startup_config_already_exist(http_compute, project, base_params): """We don't erase a startup-config if already exist at project creation""" @@ -153,8 +151,6 @@ def test_iou_start_with_iourc(http_compute, vm, tmpdir): response = http_compute.get("/projects/{project_id}/iou/nodes/{node_id}".format(project_id=vm["project_id"], node_id=vm["node_id"])) assert response.status == 200 - with open(response.json["iourc_path"]) as f: - assert f.read() == "test" def test_iou_stop(http_compute, vm): @@ -205,8 +201,6 @@ def test_iou_update(http_compute, vm, tmpdir, free_console_port, project): with open(startup_config_file(project, response.json)) as f: assert f.read() == "hostname test" - assert "iourc" in response.json["iourc_path"] - def test_iou_nio_create_udp(http_compute, vm): response = http_compute.post("/projects/{project_id}/iou/nodes/{node_id}/adapters/1/ports/0/nio".format(project_id=vm["project_id"], node_id=vm["node_id"]), {"type": "nio_udp",