[pve-devel] r5504 - pve-manager/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Feb 11 06:19:01 CET 2011


Author: dietmar
Date: 2011-02-11 06:19:00 +0100 (Fri, 11 Feb 2011)
New Revision: 5504

Modified:
   pve-manager/pve2/README
Log:


Modified: pve-manager/pve2/README
===================================================================
--- pve-manager/pve2/README	2011-02-10 12:40:26 UTC (rev 5503)
+++ pve-manager/pve2/README	2011-02-11 05:19:00 UTC (rev 5504)
@@ -5,30 +5,14 @@
 
   * use nginx/fastcgi instead of apache2 to save resources?
  	
-  * rewrite pvetunnel in 'C' using libssh2 and pthreads (one thread
-    per channel) - uses less resources
-
-  * use SSL enable vncviewer (implement ssl in vncterm)
-
-  * replace SOAP with a leighweight RPC mechanism (perlrpc, xmlrpc, ... ?)
-
   * impl. logfile search (like pmg tracking center)
 
-  * impl. user management ?
 
-  * use corosync cluster infrastructure
-
-  * use libipc-sharelite-perl (IPC::ShareLite) to store vzlist, vmops ?
-    
-  * cache cluster config (move loadcinfo to PVE::Config, add dependency
-    checks tp PVE::Config (if one config depends on other config files))
-
 RELATED TASKS:
 
   * vncterm: 
 	implement all vt220/xterm commands, 
 	add regression test suite, 
-	implement ssl
 
   * qemu image resize tool?
 
@@ -43,3 +27,40 @@
   * generate appliances
 
 
+Proposed API Hierarchy:
+
+GET  /nodes/{node}/syslog
+POST /nodes/{node}/vncshell
+
+GET  /nodes/{node}/qemu/			list/status of all Qemu VMs (per node)
+POST /nodes/{node}/qemu/{vmid}			create VM
+GET  /nodes/{node}/qemu/{vmid}      		get VM config
+PUT  /nodes/{node}/qemu/{vmid}      		set VM config
+DEL  /nodes/{node}/qemu/{vmid}      		detroy VM
+
+GET  /nodes/{node}/qemu/{vmid}/status 		get VM status
+PUT  /nodes/{node}/qemu/{vmid}/status 	    	set VM status
+POST /nodes/{node}/qemu/{vmid}/vncproxy	    	create vnc proxy
+
+# scan for available storage devices
+GET  /nodes/{node}/scan/                         list scan methods
+GET  /nodes/{node}/scan/lvm                      scan lvm
+GET  /nodes/{node}/scan/nfs                      scan nfs
+GET  /nodes/{node}/scan/iscsi                    scan iscsi
+
+# storage status/content
+GET  /nodes/{node}/storage/                      list/status of all storages (per node)
+GET  /nodes/{node}/storage/{storeid}             get storage content
+POST /nodes/{node}/storage/{storeid}             file upload
+GET  /nodes/{node}/storage/{storeid}/{volid}     volume
+DEL  /nodes/{node}/storage/{storeid}/{volid}     delete volume
+
+# storage configuration
+GET  /storage/ 					 get storage list/config
+GET  /storage/{storeid} 			 get storage config
+PUT  /storage/{storeid} 			 set storage options
+POST /storage/{storeid} 			 create new storage
+DEL  /storage/{storeid} 			 destroy storage
+
+GET /cluster/storage                         	Cluster wide storage list/status 
+GET /cluster/vms                         	Cluster wide VM list/status 



More information about the pve-devel mailing list