nova/plugins/xenserver
Rick Harris 6392ad2924 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
2012-09-07 21:27:24 +00:00
..
doc Improve grammar throughout nova. 2012-04-10 11:15:07 -07:00
networking/etc Backslash continuation removal (Nova folsom-2) 2012-05-31 11:26:37 +08:00
xenapi xenapi: Make dom0 serialization consistent. 2012-09-07 21:27:24 +00:00