Commit 6d44647b by Bach Dániel

firewall: add managed field to vlan

parent 7af3e5f6
......@@ -225,6 +225,7 @@ class Vlan(AclBase, models.Model):
network_type = models.CharField(choices=CHOICES_NETWORK_TYPE,
verbose_name=_('network type'),
max_length=20)
managed = models.BooleanField(default=True, verbose_name=_('managed'))
description = models.TextField(blank=True, verbose_name=_('description'),
help_text=_(
'Description of the goals and elements '
......
......@@ -218,6 +218,8 @@ class VlanForm(ModelForm):
'Identity',
'name',
'vid',
'network_type',
'managed',
),
Fieldset(
'IPv4',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment