Re: [openstack-dev] [Nova] do nova objects work for plugins?

2014-02-04 Thread Murray, Paul (HP Cloud Services)
Hi Dan, Yes, we did plan to do something simple with a DictOfStringsField, I was trying to see if I could do the more complicated thing. BTW the simple version for extra_resources is here: https://review.openstack.org/#/c/66959/ It will be good to go through any remaining problems next week,

[openstack-dev] [Nova] do nova objects work for plugins?

2014-02-03 Thread Murray, Paul (HP Cloud Services)
I was looking through Nova Objects with a view to creating an extensible object that can be used by writers of plugins to include data generated by the plugin (others have also done the same e.g. https://review.openstack.org/#/c/65826/ ) On the way I noticed what I think is a bug in Nova

Re: [openstack-dev] [Nova] do nova objects work for plugins?

2014-02-03 Thread Dan Smith
Basically, if object A has object B as a child, and deserialization finds object B to be an unrecognized version, it will try to back port the object A to the version number of object B. Right, which is why we rev the version of, say, the InstanceList when we have to rev Instance itself, and