[pve-devel] best way to call storage api2 between nodes ? (for livemigration with local storage)

Alexandre DERUMIER aderumier at odiso.com
Mon Nov 17 10:13:16 CET 2014


>>So, does it need to implement a new command, something like "pvestorage create...." mapped to the storage apis ?

Oh, sorry, I never notice that we already have a "pvesm" command :)



----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 17 Novembre 2014 10:08:23 
Objet: [pve-devel] best way to call storage api2 between nodes ? (for livemigration with local storage) 

I'm currently looking to implement livemigration + storage migration, 

for this, 

I need to call 

API2::Storage::Content::create 

from node1 (source) to node2 (target) 
and get the created volid value. 

Currently, for live migration, we always use ssh and send a "qm ..." commands to target node. 

So, does it need to implement a new command, something like "pvestorage create...." mapped to the storage apis ? 



_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list