duplicately fetch subnet_id in get_subnet_for_dvr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Low
|
Unassigned |
Bug Description
In https:/
...
def get_subnet_
if fixed_ips:
else:
...
But checking its callers :
https:/
and
https:/
...
fixed_ip = fixed_ips[0]
...
subnet_uuid = fixed_ip[
...
subnet_id has already be fetched and passed into get_subnet_for_dvr. So in get_subnet_for_dvr, there is no need to fetch again.
Changed in neutron: | |
assignee: | nobody → ZongKai LI (lzklibj) |
tags: | added: l3-dvr-backlog |
Changed in neutron: | |
importance: | Undecided → Low |
Changed in neutron: | |
status: | In Progress → Incomplete |
assignee: | ZongKai LI (lzklibj) → nobody |
Fix proposed to branch: master /review. openstack. org/263563
Review: https:/