[Kimchi-devel] [PATCH 0/2] Add support to update guest maxMemory {backend}

Aline Manera alinefm at linux.vnet.ibm.com
Wed Nov 25 17:26:36 UTC 2015


Hi Rodrigo,

My suggestion is to have all the memory information in one single JSON 
object:

{.., memory: {current:..., max:...}}

That way the user can easily grab all the memory information.

On 23/11/2015 21:18, Rodrigo Trujillo wrote:
> V1:
> In order to test, you can run something like this command:
>
> curl -k -u <U>:<PW>  -H "Content-Type: application/json" -H "Accept: application/json"
> "<HOST>/plugins/kimchi/vms/<VM>" -X PUT  -d '{"maxmemory": 3072}'
>
> Rodrigo Trujillo (2):
>    Implement support to change guest maxMemory tag
>    Add and fixes tests for maxMemory tag
>
>   src/wok/plugins/kimchi/API.json           |   6 ++
>   src/wok/plugins/kimchi/i18n.py            |   6 +-
>   src/wok/plugins/kimchi/model/vms.py       | 119 +++++++++++++++++-------------
>   src/wok/plugins/kimchi/tests/test_rest.py |  23 ++++++
>   4 files changed, 101 insertions(+), 53 deletions(-)
>




More information about the Kimchi-devel mailing list