diff options
author | Alastair Tse <atse@xensource.com> | 2006-10-06 22:50:29 +0100 |
---|---|---|
committer | Alastair Tse <atse@xensource.com> | 2006-10-06 22:50:29 +0100 |
commit | 7d5ba9b43007bd4c514c81d6310976a5a7f9b3d6 (patch) | |
tree | 8b9609d0e8397f82d8383584f7077afcf567c6a5 /tools/python/scripts | |
parent | 16b57ef12ce8c2a08744729368113daabc08d736 (diff) | |
download | xen-7d5ba9b43007bd4c514c81d6310976a5a7f9b3d6.tar.gz xen-7d5ba9b43007bd4c514c81d6310976a5a7f9b3d6.tar.bz2 xen-7d5ba9b43007bd4c514c81d6310976a5a7f9b3d6.zip |
[XEND] Conform to Xen API XMLRPC Wire Protocol Customisation
1. Int(s) all have to be String(s).
2. Enums are not transmitted as Ints, but as Descriptive Strings.
Signed-off-by: Alastair Tse <atse@xensource.com>
Diffstat (limited to 'tools/python/scripts')
-rw-r--r-- | tools/python/scripts/xapi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/scripts/xapi.py b/tools/python/scripts/xapi.py index 5c5dddc196..6b4c40df6d 100644 --- a/tools/python/scripts/xapi.py +++ b/tools/python/scripts/xapi.py @@ -22,8 +22,8 @@ from pprint import pprint from types import DictType HOST_INFO_FORMAT = '%-20s: %-50s' -VM_LIST_FORMAT = '%(name_label)-24s %(memory_actual)-5s %(vcpus_number)-5s'\ - ' %(power_state)-5s %(uuid)-32s' +VM_LIST_FORMAT = '%(name_label)-18s %(memory_actual)-5s %(vcpus_number)-5s'\ + ' %(power_state)-12s %(uuid)-32s' LOGIN = ('atse', 'passwd') |