Empty subnet list results in returning all the ports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
ZongKai LI |
Bug Description
The motivation of method check_ports_
def check_ports_
"""
This function checks for existence of dvr serviceable
ports on the host, running the input l3agent.
"""
subnet_ids = self.get_
core_plugin = manager.
filter = {'fixed_ips': {'subnet_id': subnet_ids}}
ports = core_plugin.
for port in ports:
if (n_utils.
return False
But if subnet_ids returned by get_subnet_
I think this is not the expected behaviour. With empty subnet_ids, check_ports_
Changed in neutron: | |
assignee: | nobody → Zhiyuan Cai (luckyvega-g) |
Changed in neutron: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in neutron: | |
assignee: | Zhiyuan Cai (luckyvega-g) → ZongKai LI (lzklibj) |
Changed in neutron: | |
milestone: | none → kilo-3 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/152845
Review: https:/