Bin Zhou bf80b23e77 Support json format output from qemu command
QemuImgInfo is realized by parsing the output string of 'qemu-img info
**.img' line by line, it's complicated and improvment can be done. The
command 'qemu-img info **.img --output json' will produce json style
output and arguments can be parsed easily by calling json.loads. This
patch add support json format output parsing, to simplify the code and
make it more clear and readable.

Change-Id: Iefa139dc4bcea864cb86371d8a24df0e4695169c
Closes-Bug:#1590252
2016-06-20 01:21:14 +00:00
2015-05-05 19:39:52 +00:00
2014-06-18 23:12:10 -04:00
2015-11-16 23:17:37 +08:00
2016-01-29 08:35:53 +09:00
2015-09-17 16:42:28 +00:00

oslo.utils

Latest Version

Downloads

The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling.

Description
OpenStack library utils
Readme 8 MiB
Languages
Python 100%