← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1215704] Re: extension availability-zone v3 without alias as prefix for request params

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1215704

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

Status in OpenStack Compute (Nova):
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1215704/+subscriptions