Ignore:
Timestamp:
Feb 12, 2009, 10:45:59 PM (16 years ago)
Author:
iannucci
Message:

Modified invirt-remote-create to use new availability remctl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-create

    r1822 r2105  
    1717    # Query each of the hosts.
    1818    # 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]
    2121
    2222def main(argv):
Note: See TracChangeset for help on using the changeset viewer.