Changeset 2105 for trunk/packages/invirt-remote/server/usr
- Timestamp:
- Feb 12, 2009, 10:45:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-create
r1822 r2105 17 17 # Query each of the hosts. 18 18 # XXX will the output of 'xm info' always be parseable YAML? 19 results = bcast(' info')20 return max((int(o ['max_free_memory']), s) for (s, o) in results)[1]19 results = bcast('availability') 20 return max((int(o), s) for (s, o) in results)[1] 21 21 22 22 def main(argv):
Note: See TracChangeset
for help on using the changeset viewer.