[pve-devel] r5108 - qemu-server/pve2/PVE/API2
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Sep 10 10:05:38 CEST 2010
Author: dietmar
Date: 2010-09-10 08:05:38 +0000 (Fri, 10 Sep 2010)
New Revision: 5108
Modified:
qemu-server/pve2/PVE/API2/QemuServer.pm
Log:
Modified: qemu-server/pve2/PVE/API2/QemuServer.pm
===================================================================
--- qemu-server/pve2/PVE/API2/QemuServer.pm 2010-09-10 07:54:17 UTC (rev 5107)
+++ qemu-server/pve2/PVE/API2/QemuServer.pm 2010-09-10 08:05:38 UTC (rev 5108)
@@ -20,6 +20,20 @@
# PUT /vms/qm/{node}/{vmid} set VM config/status
# DELETE /vms/qm/{node}/{vmid} destroy VM
+##or
+
+# GET /vms/config/qm/{node}/ list of all Qemu VMs (per node)
+# POST /vms/config/qm/{node}/ create VM
+# GET /vms/config/qm/{node}/{vmid} get VM config
+# PUT /vms/config/qm/{node}/{vmid} set VM config
+# DELETE /vms/config/qm/{node}/{vmid} destroy VM
+
+# GET /vms/status/qm status of all Qemu VMs (cluster wide)
+# GET /vms/status/qm/{node}/ status of all Qemu VMs (per node)
+# GET /vms/status/qm/{node}/{vmid} get VM status
+# PUT /vms/status/qm/{node}/{vmid} set VM status
+
+
use base qw(PVE::RESTHandler);
__PACKAGE__->register_method ({
More information about the pve-devel
mailing list