Fixed ip info shown for port even when dhcp is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Opinion
|
Undecided
|
Unassigned | ||
neutron |
Opinion
|
Undecided
|
Unassigned |
Bug Description
As a user it is very confusing (especially in Horizon dashboard) having the IP address displayed even when the DHCP is disabled for the subnet the port belongs to: the user would expect that the IP address shown is actually assigned to the instance, but this is not the case, since the DHCP is disabled.
I asked in the ML about this issue (http://
In a first moment I thought about raising the bug against Horizon, but I feel the correct place to fix this is in neutron. Before to assign this bug to myself I would like to get some feedback by other developers, my idea for a possible solution is to add a boolean element "assigned" to "fixed_ip" dict with value False when in the subnet identified by "subnet_id" DHCP is disabled.
What you get through the API is just a reflection of DB state, in which a port has IP address regardless of subnet settings.
I don't think output should be affected by the state of the backend.
So IMO, we don't need to fix this.