mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-25 01:38:08 +00:00
Merge pull request #2179 from GNS3/vmware-virtualbox-deprecated
Mark VMware and VirtualBox support as deprecated
This commit is contained in:
commit
77b6ef1a1b
@ -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"}}
|
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:
|
def dep_node(project_id: UUID, node_id: UUID) -> VirtualBoxVM:
|
||||||
|
@ -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"}}
|
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:
|
def dep_node(project_id: UUID, node_id: UUID) -> VMwareVM:
|
||||||
|
Loading…
Reference in New Issue
Block a user