API comments mismatch for get_ports_from_devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
yalei wang |
Bug Description
get_ports_
ports = db.get_
but refer to the comment in neutron/
def get_port_
"""Get port dict from device name on an agent.
Subclass must provide this method or get_ports_
:param device: device name which identifies a port on the agent side.
What is specified in "device" depends on a plugin agent implementation.
For example, it is a port ID in OVS agent and netdev name in Linux
Bridge agent.
:return: port dict returned by DB plugin get_port(). In addition,
it must contain the following fields in the port dict returned.
- device
- security_groups
- security_
- security_
- fixed_ips
Changed in neutron: | |
assignee: | nobody → yalei wang (yalei-wang) |
Changed in neutron: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in neutron: | |
status: | Confirmed → Fix Committed |
Changed in neutron: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-2 → 2015.1.0 |
this is a bug in get_ports_and_sgs, has been fixed in https:/ /review. openstack. org/138633