Update git submodules
* Update watcher from branch 'master' - Merge "Optimize NovaClusterDataModelCollector.add_instance_node" - Optimize NovaClusterDataModelCollector.add_instance_node This does two things: 1. Rather than make an API call per server on the host, get all of the servers in a single API call by filtering on the host. The os-hypervisors API results to use make this require a bit of refactoring since get_compute_node_by_name does not have the service entry in it and get_compute_node_by_id does not have the servers entry in it. A TODO is added to clean that up with a single call to os-hypervisors once we have the support in python-novaclient. 2. Pulls get_node_by_uuid() out of the loop. A test is added for the nova_helper get_instance_list method since one did not exist before. The fake compute node mocks in test_nova_cdmc_execute are also cleaned up since, as noted above, get_compute_node_by_name and get_compute_node_by_id don't both return all the details. Change-Id: Ifd9f83c2f399d4c1765b0c520f4d5a62ad0f5fbd
This commit is contained in:
parent
8e688cc45c
commit
eb43e9075b
2
watcher
2
watcher
|
@ -1 +1 @@
|
|||
Subproject commit 38131a37b28c3b33b7918b0bddd8bd70835132ed
|
||||
Subproject commit 15316a57db515676587eb63bfa8ab02cafeb491d
|
Loading…
Reference in New Issue