CloudStack/CloudStack — pull request #6 by robhoes (2012-03-09 22:33:16+00:00)
Title: Suggested improvements in xapi plugins

These three patches intend to reduce the number of XenAPI calls made from the xapi plugins that CloudStack uses.

Every XenAPI call involves an XMLRPC exchange with the pool master, so it is important to minimise the number of calls when the code is running on a pool slave. Any "get_all" calls should be avoided as much as possible, especially VM.get_all and PIF.get_all (since there are typically lots of VMs and PIFs (for VLANs) on a CS cloud).