gnt-instance info: Rework beparams listings
authorRené Nussbaumer <rn@google.com>
Wed, 16 May 2012 12:14:10 +0000 (14:14 +0200)
committerRené Nussbaumer <rn@google.com>
Mon, 21 May 2012 09:21:18 +0000 (11:21 +0200)
commit83d4ba5eab52d512d25f64cbbcdf8daf69f09978
tree41024563d9e553d8e1c07b74f288db893bed5b0d
parent15b5f9a4d7ffaa90c83bfccb6329477e8572861d
gnt-instance info: Rework beparams listings

This patch reworks the beparams listing to the new style. However, due
to this process the naming of the fields with mixed casing changed to
lowercase and is therefore not 100% compatible with the previous versions.

As "memory" is marked deprecated and sort of default we merge that just
into the actual dict, which leads to the following output:

  - maxmem: 128
  - memory: default (128)
  - minmem: 128

Instead of:

  - maxmem: 128
  - minmem: 128
  - memory: 128

Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/client/gnt_instance.py