Networks tab does not show external configuration

When you create a network you can specify it as
external network. When the network is listed
in Horizon 'Networks' tab, we do not see any
column indicating if network is 'external' .
It is nice to enhance the network tab to add a
new column showing 'external' indicating whether
network is 'external'.

Change-Id: I6d07ffc0d2584bbf8bd6c25aee660f87c385e737
Closes-Bug:#1350237
This commit is contained in:
Shan Guo 2015-11-24 20:30:45 +08:00
parent 8476319cd0
commit a0a1c821e7

View File

@ -99,6 +99,9 @@ class NetworksTable(tables.DataTable):
verbose_name=_("DHCP Agents"))
shared = tables.Column("shared", verbose_name=_("Shared"),
filters=(filters.yesno, filters.capfirst))
external = tables.Column("router:external",
verbose_name=_("External"),
filters=(filters.yesno, filters.capfirst))
status = tables.Column(
"status", verbose_name=_("Status"),
display_choices=project_tables.STATUS_DISPLAY_CHOICES)