nova/nova/objects
Chris Dent 8ed9c9434f Tune up db.instance_get_all_uuids_by_hosts
When instance_get_all_uuids_by_hosts was added [1] some follow up
cleanups where suggested. This change provides them:

* removal of redundance in docstring
* moving docstring to the public method, rather than the private
  implementation
* more clarity on the type of the default (defaultdict(list)) and
  the implications thereof
* Using an sa.bindparam in the 'in_' call. This requires that the
  SQLAlchemy requirment be raised to at least 1.2.0 where the feature
  was added. 1.2.19, the latest bugfix release, is chosen.

[1] If92fe8b75d20a738f37e2a74c52c59bfc699a74f

Change-Id: Ib538ab070d73b06ddeb9fea3af149304e40952ec
2019-09-02 14:33:57 +01:00
..
__init__.py objects: Rename 'nova.objects.instance_numa_topology' 2019-08-20 15:37:55 -05:00
agent.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
aggregate.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
bandwidth_usage.py Stop handling 'update_cells' on 'BandwidthUsage.create' 2019-05-20 10:29:16 +01:00
base.py Delete the obj_as_admin context manager 2019-03-05 16:54:05 -05:00
block_device.py Remove 'bdm_(update_or_create|destroy)_at_top' 2019-04-16 18:26:17 +01:00
build_request.py Add Instance.hidden field 2019-08-07 17:56:01 -04:00
cell_mapping.py Fix using template cell urls with nova-manage 2019-01-17 14:18:14 -08:00
compute_node.py hacking: Resolve W503 (line break occurred before a binary operator) 2019-06-24 14:24:06 -05:00
console_auth_token.py Fix cleaning up console tokens 2019-07-19 11:36:15 +09:00
diagnostics.py Added nova objects for intance diagnostics 2017-05-30 00:39:44 +04:00
dns_domain.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
ec2.py objects: Remove unused ec2 objects 2019-07-10 16:15:20 +01:00
external_event.py API microversion 2.76: Add 'power-update' external event 2019-08-15 13:19:44 -04:00
fields.py Merge "Remove nova-consoleauth" 2019-07-24 19:08:10 +00:00
fixed_ip.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
flavor.py Merge "Remove old flavor_create db api method" 2018-03-20 18:11:06 +00:00
floating_ip.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
host_mapping.py Warn for duplicate host mappings during discover_hosts 2019-06-13 17:18:16 +00:00
hv_spec.py objects: Move 'hv_type' to 'fields.HVType' 2016-11-25 16:19:43 +00:00
image_meta.py Add extra spec parameter and image property for memory encryption 2019-09-01 15:17:31 +01:00
instance.py Tune up db.instance_get_all_uuids_by_hosts 2019-09-02 14:33:57 +01:00
instance_action.py Add InstanceAction/Event create() method 2019-08-07 17:56:01 -04:00
instance_fault.py Remove 'instance_fault_create_at_top' 2019-04-29 17:54:17 +01:00
instance_group.py Avoid unnecessary joins in InstanceGroup.get_hosts 2019-05-23 11:14:55 -04:00
instance_info_cache.py Remove 'instance_info_cache_update_at_top' 2019-04-29 17:55:41 +01:00
instance_mapping.py hacking: Resolve W503 (line break occurred before a binary operator) 2019-06-24 14:24:06 -05:00
instance_numa.py objects: Rename 'nova.objects.instance_numa_topology' 2019-08-20 15:37:55 -05:00
instance_pci_requests.py [FUP] Follow-up patch for SR-IOV live migration 2019-07-02 13:52:01 -05:00
keypair.py Drop migrate_keypairs_to_api_db data migration 2019-04-03 11:42:48 -04:00
migrate_data.py compute: Use source_bdms to reset attachment_ids during LM rollback 2019-07-24 15:35:51 +00:00
migration.py Revert resize: wait for events according to hybrid plug 2019-07-10 19:56:31 -04:00
migration_context.py Move get_pci_mapping_for_migration to MigrationContext 2019-05-19 12:41:00 +03:00
monitor_metric.py Fix MonitorMetric obj_make_compatible 2016-09-12 14:10:41 +00:00
network.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
network_metadata.py Assorted cleanups from numa-aware-vswitches series 2018-07-27 09:49:12 -07:00
network_request.py Merge "Remove DictCompat from NetworkRequest" 2016-06-30 10:23:36 +00:00
numa.py trivial: Rename exception argument 2019-08-22 16:10:36 +01:00
pci_device.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
pci_device_pool.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
quotas.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
request_spec.py Add Destination.allow_cross_cell_move field 2019-08-27 14:26:33 -04:00
security_group.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
security_group_rule.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
selection.py Move the to_dict() method to the Selection object 2017-12-07 15:01:09 +00:00
service.py Don't generate service UUID for deleted services 2019-07-30 18:48:51 +00:00
tag.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
task_log.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
trusted_certs.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
vcpu_model.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
virt_cpu_topology.py cleanup NovaObjectDictCompat from virt_cpu_topology 2015-08-05 08:56:30 +05:30
virt_device_metadata.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
virtual_interface.py Populate InstanceMapping.user_id during migrations and schedules 2019-03-08 19:01:25 -05:00
volume_usage.py Transform volume.usage notification 2018-10-09 06:28:11 +00:00