diff options
author | divakar-padiyar-nandavar <divakar.padiyar-nandavar@hp.com> | 2013-03-14 00:30:02 -0600 |
---|---|---|
committer | divakar-padiyar-nandavar <divakar.padiyar-nandavar@hp.com> | 2013-03-28 12:17:42 -0600 |
commit | 6b4729a58f7c2fb0fb9e31628f4be7d7678c9cad (patch) | |
tree | e444a8ecc7dadfb0be76702c8aa45a1989683515 /nova/utils.py | |
parent | 20c9ee6918adf73a916aba8cef3048531ad7d9b7 (diff) | |
download | nova-6b4729a58f7c2fb0fb9e31628f4be7d7678c9cad.tar.gz nova-6b4729a58f7c2fb0fb9e31628f4be7d7678c9cad.tar.xz nova-6b4729a58f7c2fb0fb9e31628f4be7d7678c9cad.zip |
Use Cluster reference to reduce SDK calls
The vmware compute driver retrieves the cluster reference
for every spawn and volume operation. The solution is to
retrieve the reference once from the __init__() of
vmwareapi/driver.py and reuse the same in other methods.
This will reduce the number of VI SDK calls made.
Fix for bug 1130222
Change-Id: I2179733ee4ab1b2aea919de0ad4c10631cf005ea
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions