horizon/openstack_dashboard/dashboards/project/floating_ips
Radomir Dopieralski 8e69282bf4 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:04:55 +00:00
..
templates/floating_ips Fixes a series of bugs related to Floating IPs. 2019-12-17 13:30:25 +09:00
__init__.py Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00
forms.py Fixes a series of bugs related to Floating IPs. 2019-12-17 13:30:25 +09:00
panel.py Handle partial dict setting 2019-09-26 14:31:17 +09:00
tables.py Fixes a series of bugs related to Floating IPs. 2019-12-17 13:30:25 +09:00
tests.py Save instace_id inside Associate Floating IP workflow 2021-03-23 14:04:55 +00:00
urls.py Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00
views.py Fixes a series of bugs related to Floating IPs. 2019-12-17 13:30:25 +09:00
workflows.py Save instace_id inside Associate Floating IP workflow 2021-03-23 14:04:55 +00:00