nova/nova/objects
Dan Smith 429cd4bb6a Fix object change detection
The current object change detection actually just hashed the method
argspecs of the remotable decorators instead of the wrapped methods
themselves. This patch fixes that by stashing a pointer to the
original function, which is used for the hash and will be useful
for other inspection-related tasks as well.

This also adds a utility to help when regenerating the hashes,
similar to what we do for API samples. Running the unit tests like
this will give you an object_hashes.txt output file:

  GENERATE_HASHES=y tox TestObjectVersions

Change-Id: Icfe4d6c08f42296c756d1f9ab7c88b52e3209d84
2014-06-14 01:08:53 -05:00
..
__init__.py Fix nova/compute direct use of instance module objects 2014-05-20 23:19:39 -07:00
aggregate.py Payload meta_data is empty when remove metadata 2014-05-21 13:38:05 +00:00
base.py Fix object change detection 2014-06-14 01:08:53 -05:00
block_device.py Don't translate debug level logs in nova.objects 2014-04-30 10:55:08 -07:00
compute_node.py Add read_only field attribute 2014-06-03 10:03:17 -07:00
dns_domain.py Add DNSDomain object 2014-01-25 20:33:29 -05:00
ec2.py Add VolumeMapping object for use in EC2 2014-04-24 17:20:40 +00:00
external_event.py Add external_instance_event() method to compute manager 2014-03-06 07:40:41 -08:00
fields.py Add read_only field attribute 2014-06-03 10:03:17 -07:00
fixed_ip.py Revert "Convert address to str in fixed_ip_obj.associate" 2014-05-29 11:48:21 -07:00
flavor.py Require List objects to be able to backlevel their contents 2013-12-13 11:35:15 -08:00
floating_ip.py Fix migrate_instance_*() using DB for floating addresses 2014-04-22 07:42:50 -07:00
instance.py Don't translate debug level logs in nova.objects 2014-04-30 10:55:08 -07:00
instance_action.py Handle string types for InstanceActionEvent exc_tb serialization 2014-06-10 08:11:41 -07:00
instance_fault.py Make cells use Fault obj for create 2014-05-02 12:17:16 -07:00
instance_group.py Instance groups: add method get_by_hint 2014-04-15 09:01:59 -07:00
instance_info_cache.py Prevent Instance.refresh() from returning a new info cache 2014-01-06 08:22:37 -08:00
keypair.py Prevent caller from specifying id during KeyPair.create() 2014-02-10 17:02:11 +08:00
migration.py Clean up _make_*_list in object models to use base.obj_make_list 2014-02-26 08:13:43 +08:00
network.py Fix straggling uses of direct-to-database queries in nova-network 2014-04-08 16:55:43 -07:00
pci_device.py Clean up _make_*_list in object models to use base.obj_make_list 2014-02-26 08:13:43 +08:00
quotas.py Fix inconsistent quota usage for security group 2014-03-23 11:07:09 +08:00
security_group.py Clean up _make_*_list in object models to use base.obj_make_list 2014-02-26 08:13:43 +08:00
security_group_rule.py Refactor CIDR field to use netaddr.IPNetwork 2014-01-14 11:05:29 -08:00
service.py Add read_only field attribute 2014-06-03 10:03:17 -07:00
virtual_interface.py Add VirtualInterface object 2014-01-20 11:29:41 -05:00