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