ccaum/fog — pull request #1 by rlane (2011-10-18 04:57:47+00:00)
Title: optimize vSphere convert_vm_mob_ref_to_attr_hash method

I figured I'd sent the pull request to you since you're actively working on vSphere support. I can send it to geemus if that's better.

Each vSphere request is expensive, so it's good to get as much data as possible at a time. For more complex optimizations (like retrieving the HostSystem name in the same request) you'll want to look into the PropertyCollector.

I'm not sure how this will behave during cloning. I think it should return nil for the missing properties.