horizon/openstack_dashboard/dashboards/project
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
..
api_access Drop deprecated Keystone V2 API support 2019-09-12 17:15:07 +00:00
backups Enable volume snapshot backups 2019-07-25 19:15:01 +00:00
containers Cleanup unused util functions 2019-06-21 15:10:57 +00:00
floating_ips Save instace_id inside Associate Floating IP workflow 2021-03-23 14:06:30 +00:00
images Handle partial dict setting 2019-09-26 14:31:17 +09:00
instances Handle partial dict setting 2019-09-26 14:31:17 +09:00
key_pairs Handle partial dict setting 2019-09-26 14:31:17 +09:00
network_qos Fix W503 warnings 2018-04-11 18:13:47 +09:00
network_topology Handle partial dict setting 2019-09-26 14:31:17 +09:00
networks Fix tenant_id for a new port. 2020-04-27 13:37:03 +00:00
overview Fixes a series of bugs related to Floating IPs. 2020-01-16 08:01:27 +00:00
routers Handle partial dict setting 2019-09-26 14:31:17 +09:00
security_groups Handle partial dict setting 2019-09-26 14:31:17 +09:00
server_groups Fix W503 warnings 2018-04-11 18:13:47 +09:00
snapshots Enable volume snapshot backups 2019-07-25 19:15:01 +00:00
static/dashboard/project Fix use of ngettext in registry getName 2020-09-07 12:25:41 +00:00
trunks Fix W503 warnings 2018-04-11 18:13:47 +09:00
vg_snapshots Make project volume group table work even with volumev3 only env 2019-05-29 14:06:17 +00:00
volume_groups Merge "Make project volume group table work even with volumev3 only env" 2019-06-05 12:51:42 +00:00
volumes Wrong list of attached vms are shown in manage volume attachments 2019-09-25 16:21:15 +00:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
dashboard.py Bump hacking to 1.1.0 2018-11-10 16:44:25 +09:00