[openstack-dev] XML Support for Nova v3 API

Doug Hellmann doug.hellmann at dreamhost.com
Fri Jun 21 19:35:20 UTC 2013


On Thu, Jun 20, 2013 at 12:44 PM, Russell Bryant <rbryant at redhat.com> wrote:

> On 06/20/2013 12:00 PM, Thierry Carrez wrote:
> > Christopher Yeoh wrote:
> >> Just wondering what people thought about how necessary it is to keep XML
> >> support for the Nova v3 API, given that if we want to drop it doing so
> >> during the v2->v3 transition is pretty much the ideal time to do so.
> >
> > Although I hate XML as much as anyone else, I think it would be
> > interesting to raise that question on the general user mailing-list.
> >
> > We have been discussing that in the past, and while there was mostly
> > consensus against XML (in OpenStack API) on the development list, when
> > the issue was raised with users, in the end they made up a
> > sufficiently-good rationale for us to keep it in past versions of the
> API :)
> >
>
> Yes, and I suspect we'd arrive the same result again.
>
> I'd rather hear ideas for things that would make it easier to support
> both.  The window is open for changes to make that easier.
>

Supporting both was one of the benefits I identified in WSME. Think of it
as a declarative layer for the API, just like SQLAlchemy has declarative
table definitions. As a developer, you never have to think about the format
of the data on the wire because by the time you get it in the API endpoint,
it's an object.

Doug


>
> --
> Russell Bryant
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130621/e6adb67d/attachment.html>


More information about the OpenStack-dev mailing list