extension availability-zone v3 without alias as prefix for request params

Bug #1215704 reported by Alex Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Alex Xu

Bug Description

We need add alias as prefix for request params for v3.

    def server_create(self, server_dict, create_kwargs):
        create_kwargs['availability_zone'] = server_dict.get(
            'availability_zone')

    def server_xml_extract_server_deserialize(self, server_node, server_dict):
        availability_zone = server_node.getAttribute('availability_zone')
        if availability_zone:
            server_dict['availability_zone'] = availability_zone

Tags: api
Alex Xu (xuhj)
Changed in nova:
assignee: nobody → Alex Xu (xuhj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/43393

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/43393
Committed: http://github.com/openstack/nova/commit/552528e430cb1d06cf7119585d77bd7194bf1192
Submitter: Jenkins
Branch: master

commit 552528e430cb1d06cf7119585d77bd7194bf1192
Author: He Jie Xu <email address hidden>
Date: Fri Aug 23 10:15:46 2013 +0800

    Add alias as prefix to request params for availability_zone v3

    fix bug 1215704

    DocImpact

    Change-Id: I790f49b82eb8a5bccabb8d89eb39436277a0c0ee

melanie witt (melwitt)
tags: added: api
Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.