← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291565] Re: validate_networks does unnecessary querying to neutron in some cases

 

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

** Changed in: nova
    Milestone: None => juno-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/1291565

Title:
  validate_networks does unnecessary querying to neutron in some cases

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  This patch optimizes validate_networks so that it only queries neutron
  when needed. Previously, this method would perform an additional net_list,
  list_ports, and show_quota regardless if a request contains only
  port_ids. If a request only contains port ids we do not need to check neutron
  for quota as these ports are already allocated.

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


References