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
This commit is contained in:
zhubx007 2018-07-25 14:08:50 +08:00 committed by Akihiro Motoki
parent 9a66accb1c
commit 446abc41bf
1 changed files with 2 additions and 1 deletions

View File

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