Revision b5ef2316
b/lib/client/gnt_instance.py | ||
---|---|---|
1217 | 1217 |
buf.write(" - VCPUs: %s\n" % |
1218 | 1218 |
compat.TryToRoman(instance["be_actual"][constants.BE_VCPUS], |
1219 | 1219 |
convert=opts.roman_integers)) |
1220 |
buf.write(" - maxmem: %sMiB\n" % |
|
1221 |
compat.TryToRoman(instance["be_actual"][constants.BE_MAXMEM], |
|
1222 |
convert=opts.roman_integers)) |
|
1223 |
buf.write(" - minmem: %sMiB\n" % |
|
1224 |
compat.TryToRoman(instance["be_actual"][constants.BE_MINMEM], |
|
1225 |
convert=opts.roman_integers)) |
|
1226 |
# deprecated "memory" value, kept for one version for compatibility |
|
1227 |
# TODO(ganeti 2.7) remove. |
|
1220 | 1228 |
buf.write(" - memory: %sMiB\n" % |
1221 |
compat.TryToRoman(instance["be_actual"][constants.BE_MEMORY],
|
|
1229 |
compat.TryToRoman(instance["be_actual"][constants.BE_MAXMEM],
|
|
1222 | 1230 |
convert=opts.roman_integers)) |
1223 | 1231 |
buf.write(" - NICs:\n") |
1224 | 1232 |
for idx, (ip, mac, mode, link) in enumerate(instance["nics"]): |
Also available in: Unified diff