python-zhmcclient
python-zhmcclient copied to clipboard
Optimize resource list operations in MetricObjectValues.resource
In the implementation of the in MetricObjectValues.resource property, find() is used with the resource URI as the filter argument. This currently leads to issuing many List operations for these resources against the HMC, because the local name-to-URI caches only perform lookups of the URI by name but not in the opposite direction which would be needed in this case.
Optimize that implementation such that the resource lookup utilizes the information in the local name-to-URI caches.
Moved to next release.