[pve-devel] way to get all vm configs?

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Fri Dec 6 09:55:50 CET 2013


Am 06.12.2013 09:25, schrieb Dietmar Maurer:
>> Initiating the 250 connection took 2s. But EACH /qemu/123/config request took
>> 0.1s resulting in 25s. My client is most of the time waiting for an answer of the
>> pveproxy server.
> 
> OK, then the batch approach is maybe faster - feel free to test ;-)

mind you help me:

something like:
pvesh get /nodes/cloud1-1203/execute -commands ["a","b"]

results in:
commands: type check ('array') failed

how do i pass arrays with pvesh?

Right now i have:
   parameters => {
        additionalProperties => 0,
        properties => {
            node => get_standard_option('pve-node'),
            commands => { type => 'array' }
        },
    },

Stefan





More information about the pve-devel mailing list