← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1159042] Re: Argument order inconsistancy in nova.network.quantumv2.api.get_instance_nw_info()

 

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

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

-- 
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/1159042

Title:
  Argument order inconsistancy in
  nova.network.quantumv2.api.get_instance_nw_info()

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

Bug description:
  $ grep -R "def get_instance_nw_info" *

  api_deprecated.py:    def get_instance_nw_info(self, context, instance, conductor_api=None,  **kwargs):
  api.py:    def get_instance_nw_info(self, context, instance, conductor_api=None):
  quantumv2/api.py:    def get_instance_nw_info(self, context, instance, networks=None, conductor_api=None):

  The method definition in quantumv2/api.py should be consistant with
  the rest to avoid unintended errors.

  quantumv2/api.py:    def get_instance_nw_info(self, context, instance,
  conductor_api=None, networks=None):

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