diff options
author | Nikola Dipanov <ndipanov@redhat.com> | 2012-10-31 16:24:30 +0100 |
---|---|---|
committer | Nikola Dipanov <ndipanov@redhat.com> | 2012-11-01 14:28:27 +0100 |
commit | 6390508fc9622fdc1ed87974ce416f17e9983592 (patch) | |
tree | b33ba3cf954b4905c96f3db315b2dd72129e5c75 /nova/service.py | |
parent | 73066e842c44e72d60cfe7d6cda0a17b1efeb5b9 (diff) | |
download | nova-6390508fc9622fdc1ed87974ce416f17e9983592.tar.gz nova-6390508fc9622fdc1ed87974ce416f17e9983592.tar.xz nova-6390508fc9622fdc1ed87974ce416f17e9983592.zip |
Make bdms primitive in rpcapi.terminate_instance
This patch converts bdms (a list of block device mappings) passed to
nova.compute.rpcapi.terminate_instance to primitive types that are
safe to be sent to the rpc backend.
Also fixes the fake BDM classes used in:
* nova.tests.api.ec2.test_cloud
* nova.tests.api.openstack.compute.test_server_actions
to pass through josnutils.to_primitive properly and not confuse it due
to wrongly delegated dotted lookups
fixes bug #1073240
Change-Id: I329a48c1a53dde5895a329b39f32854c286de071
Diffstat (limited to 'nova/service.py')
0 files changed, 0 insertions, 0 deletions