Browse Source

add dns_name and dns_domain into admin column

https://review.openstack.org/#/c/561185/
According to the above merged commit, dns_name and
dns_domain are added into project/floating_ips/tables.py.

But because of the class 'FloatingIPsTable' inherits
the project_tables.FloatingIPsTable, so that we should
add dns_name and dns_domain into columns of Meta.

If not, if you click the Admin/Network/Floating IPs, the
page will crash.

Closes-Bug: #1785897
Change-Id: I6e933749a56a492989cab002c1b65656b7e2c65b
zhubx007 8 months ago
parent
commit
446abc41bf
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      openstack_dashboard/dashboards/admin/floating_ips/tables.py

+ 2
- 1
openstack_dashboard/dashboards/admin/floating_ips/tables.py View File

@@ -86,4 +86,5 @@ class FloatingIPsTable(project_tables.FloatingIPsTable):
86 86
                          AdminFloatingIPsFilterAction)
87 87
         row_actions = (AdminSimpleDisassociateIP,
88 88
                        AdminReleaseFloatingIP)
89
-        columns = ('tenant', 'ip', 'description', 'fixed_ip', 'pool', 'status')
89
+        columns = ('tenant', 'ip', 'description', 'fixed_ip', 'pool',
90
+                   'status', 'dns_name', 'dns_domain')

Loading…
Cancel
Save