From aaa6ca944544f4765a125f62537e6c86371f22ad Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 5 Feb 2023 10:09:55 +0800 Subject: [PATCH] Mark VMware and VirtualBox support as deprecated --- gns3server/api/routes/compute/virtualbox_nodes.py | 2 +- gns3server/api/routes/compute/vmware_nodes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/api/routes/compute/virtualbox_nodes.py b/gns3server/api/routes/compute/virtualbox_nodes.py index 18c28751..f457cbff 100644 --- a/gns3server/api/routes/compute/virtualbox_nodes.py +++ b/gns3server/api/routes/compute/virtualbox_nodes.py @@ -32,7 +32,7 @@ from gns3server.compute.virtualbox.virtualbox_vm import VirtualBoxVM responses = {404: {"model": schemas.ErrorMessage, "description": "Could not find project or VirtualBox node"}} -router = APIRouter(responses=responses) +router = APIRouter(responses=responses, deprecated=True) def dep_node(project_id: UUID, node_id: UUID) -> VirtualBoxVM: diff --git a/gns3server/api/routes/compute/vmware_nodes.py b/gns3server/api/routes/compute/vmware_nodes.py index a289455b..d7c38844 100644 --- a/gns3server/api/routes/compute/vmware_nodes.py +++ b/gns3server/api/routes/compute/vmware_nodes.py @@ -32,7 +32,7 @@ from gns3server.compute.vmware.vmware_vm import VMwareVM responses = {404: {"model": schemas.ErrorMessage, "description": "Could not find project or VMware node"}} -router = APIRouter(responses=responses) +router = APIRouter(responses=responses, deprecated=True) def dep_node(project_id: UUID, node_id: UUID) -> VMwareVM: