Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip unnecessary SDK get_machine calls
The _process_sdk function starts by calling cloud.list_machines() which returns all nodes including their names. There is no need to call cloud.get_machine individually for each node just to get its name attribute when we might be skipping this node. This speeds up execution of the Bifrost inventory module when BIFROST_NODE_NAMES is used. Change-Id: I27ccc12b9f408d510710d5ba82ad04135169827a (cherry picked from commit 3017112)
- Loading branch information