Merge "v1 dashboard: Show IP version of firewall rules"
This commit is contained in:
commit
a1faafceb3
|
@ -297,6 +297,8 @@ class RulesTable(tables.DataTable):
|
|||
filters=(lambda v: filters.default(v, _("ANY")),
|
||||
filters.upper,),
|
||||
verbose_name=_("Protocol"))
|
||||
ip_version = tables.Column("ip_version",
|
||||
verbose_name=_("IP Version"))
|
||||
source_ip_address = tables.Column("source_ip_address",
|
||||
verbose_name=_("Source IP"))
|
||||
source_port = tables.Column("source_port",
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
<dt>{% trans "Destination Port"%}</dt>
|
||||
<dd>{{ rule.destination_port|default:_("ANY") }}</dd>
|
||||
|
||||
<dt>{% trans "IP Version" %}</dt>
|
||||
<dd>{{ rule.ip_version }}</dd>
|
||||
|
||||
<dt>{% trans "Used in Policy" %}</dt>
|
||||
<dd>
|
||||
{% if rule.policy %}
|
||||
|
|
Loading…
Reference in New Issue