diff --git a/gns3server/schemas/docker.py b/gns3server/schemas/docker.py index 3b114a5c..d6d32bfd 100644 --- a/gns3server/schemas/docker.py +++ b/gns3server/schemas/docker.py @@ -66,7 +66,7 @@ DOCKER_CREATE_SCHEMA = { "type": ["integer", "null"] }, "usage": { - "description": "How to use the qemu VM", + "description": "How to use the Docker container", "type": "string", }, "start_command": { @@ -180,7 +180,7 @@ DOCKER_OBJECT_SCHEMA = { "maximum": 99, }, "usage": { - "description": "How to use the qemu VM", + "description": "How to use the Docker container", "type": "string", }, "start_command": { diff --git a/gns3server/schemas/dynamips_vm.py b/gns3server/schemas/dynamips_vm.py index 3798f0e1..992e1f48 100644 --- a/gns3server/schemas/dynamips_vm.py +++ b/gns3server/schemas/dynamips_vm.py @@ -79,6 +79,10 @@ VM_CREATE_SCHEMA = { "type": "string", "minLength": 1, }, + "usage": { + "description": "How to use the Dynamips VM", + "type": "string", + }, "platform": { "description": "Cisco router platform", "type": "string", @@ -301,6 +305,10 @@ VM_UPDATE_SCHEMA = { "type": "string", "minLength": 1, }, + "usage": { + "description": "How to use the Dynamips VM", + "type": "string", + }, "platform": { "description": "Cisco router platform", "type": "string", @@ -541,6 +549,10 @@ VM_OBJECT_SCHEMA = { "type": "string", "minLength": 1, }, + "usage": { + "description": "How to use the Dynamips VM", + "type": "string", + }, "status": { "description": "VM status", "enum": ["started", "stopped", "suspended"] diff --git a/gns3server/schemas/iou.py b/gns3server/schemas/iou.py index 8bad7a9e..12e186e7 100644 --- a/gns3server/schemas/iou.py +++ b/gns3server/schemas/iou.py @@ -36,6 +36,10 @@ IOU_CREATE_SCHEMA = { {"type": "integer"} # for legacy projects ] }, + "usage": { + "description": "How to use the IOU VM", + "type": "string", + }, "console": { "description": "Console TCP port", "minimum": 1, @@ -130,6 +134,10 @@ IOU_OBJECT_SCHEMA = { "maxLength": 36, "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, + "usage": { + "description": "How to use the IOU VM", + "type": "string", + }, "node_directory": { "description": "Path to the node working directory", "type": "string" diff --git a/gns3server/schemas/qemu.py b/gns3server/schemas/qemu.py index 64890956..e3e7a1d6 100644 --- a/gns3server/schemas/qemu.py +++ b/gns3server/schemas/qemu.py @@ -41,7 +41,7 @@ QEMU_CREATE_SCHEMA = { "minLength": 1, }, "usage": { - "description": "How to use the qemu VM", + "description": "How to use the Qemu VM", "type": "string", }, "linked_clone": { diff --git a/gns3server/schemas/virtualbox.py b/gns3server/schemas/virtualbox.py index 5c0a884a..6e2039f7 100644 --- a/gns3server/schemas/virtualbox.py +++ b/gns3server/schemas/virtualbox.py @@ -43,6 +43,10 @@ VBOX_CREATE_SCHEMA = { "type": "string", "minLength": 1, }, + "usage": { + "description": "How to use the VirtualBox VM", + "type": "string", + }, "vmname": { "description": "VirtualBox VM name (in VirtualBox itself)", "type": "string", @@ -118,6 +122,10 @@ VBOX_OBJECT_SCHEMA = { "maxLength": 36, "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, + "usage": { + "description": "How to use the VirtualBox VM", + "type": "string", + }, "vmname": { "description": "VirtualBox VM name (in VirtualBox itself)", "type": "string", diff --git a/gns3server/schemas/vmware.py b/gns3server/schemas/vmware.py index 05c8ad0d..d849d10a 100644 --- a/gns3server/schemas/vmware.py +++ b/gns3server/schemas/vmware.py @@ -39,6 +39,10 @@ VMWARE_CREATE_SCHEMA = { "type": "string", "minLength": 1, }, + "usage": { + "description": "How to use the VMware VM", + "type": "string", + }, "vmx_path": { "description": "Path to the vmx file", "type": "string", @@ -94,6 +98,10 @@ VMWARE_OBJECT_SCHEMA = { "type": "string", "minLength": 1, }, + "usage": { + "description": "How to use the VMware VM", + "type": "string", + }, "node_id": { "description": "Node UUID", "type": "string",