horizon/openstack_dashboard/dashboards
Radomir Dopieralski 2d2f944e2f Save instace_id inside Associate Floating IP workflow
Also, rename instance_id field to proper port_id.

Before this change, when instance_id was passed from the Instances
page in the URL, the information would be lost on form submission,
and if the form contained an error, the it would be redisplayed with
the port drop-down containing all ports from all instances. This also
made submitting this form slow, as the drop-down would be populated
with all ports on form validation.

It also creates a bug, where if there are more instances than Nova's
pagination allows, the ports from newer instances would no longer
appear in the drop-down, and the form would fail to validate, even
though the choice of port on initial form was correct.

Closes-bug: #1920010
Change-Id: I3ab26c19dc9ea1ed23fcff790d0db919039099eb
(cherry picked from commit 3d82d57353)
2021-03-23 14:06:30 +00:00
..
admin Fix tenant_id for a new port. 2020-04-27 13:37:03 +00:00
identity Fix use of ngettext in registry getName 2020-09-07 12:25:41 +00:00
project Save instace_id inside Associate Floating IP workflow 2021-03-23 14:06:30 +00:00
settings Move openstack_dashboard specific settings from horizon 2019-09-12 15:05:56 +09:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00