summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2012-09-06 21:42:08 +0000
committerRick Harris <rconradharris@gmail.com>2012-09-07 21:27:24 +0000
commit6392ad2924874487b7428e70f7cd49748fff8e5c (patch)
treef4356db5cfc2ae85e029f69a1d598deabc5a9112 /nova/openstack
parenta68dfb7c9a66eb55638f8370b1cabe2fe3050786 (diff)
downloadnova-6392ad2924874487b7428e70f7cd49748fff8e5c.tar.gz
nova-6392ad2924874487b7428e70f7cd49748fff8e5c.tar.xz
nova-6392ad2924874487b7428e70f7cd49748fff8e5c.zip
xenapi: Make dom0 serialization consistent.
The dom0 plugin code had been using `pickle` for serializing input and `json` for serializing output which was needlessly inconsistent. This patch makes the code use `pickle`--chosen for its better handling of `datetime` objects--for both sending and receiving data. This patch also refactors the code so that neither the caller nor the callee need to explicitly worry about serialization: the caller just passes in args and kwargs, and the callee's function signature just accepts the args and kwargs as usual. Bonus: Removes unecessary imports Change-Id: I3abb42eeebd8d37d67e6c26fa7bcae66d876b3ee
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions