Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
6d44647b
authored
Jan 27, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: add managed field to vlan
parent
7af3e5f6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
circle/firewall/migrations/0041_auto__add_field_vlan_managed.py
+0
-0
circle/firewall/models.py
+1
-0
circle/network/forms.py
+2
-0
No files found.
circle/firewall/migrations/0041_auto__add_field_vlan_managed.py
0 → 100644
View file @
6d44647b
This diff is collapsed.
Click to expand it.
circle/firewall/models.py
View file @
6d44647b
...
@@ -225,6 +225,7 @@ class Vlan(AclBase, models.Model):
...
@@ -225,6 +225,7 @@ class Vlan(AclBase, models.Model):
network_type
=
models
.
CharField
(
choices
=
CHOICES_NETWORK_TYPE
,
network_type
=
models
.
CharField
(
choices
=
CHOICES_NETWORK_TYPE
,
verbose_name
=
_
(
'network type'
),
verbose_name
=
_
(
'network type'
),
max_length
=
20
)
max_length
=
20
)
managed
=
models
.
BooleanField
(
default
=
True
,
verbose_name
=
_
(
'managed'
))
description
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'description'
),
description
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'description'
),
help_text
=
_
(
help_text
=
_
(
'Description of the goals and elements '
'Description of the goals and elements '
...
...
circle/network/forms.py
View file @
6d44647b
...
@@ -218,6 +218,8 @@ class VlanForm(ModelForm):
...
@@ -218,6 +218,8 @@ class VlanForm(ModelForm):
'Identity'
,
'Identity'
,
'name'
,
'name'
,
'vid'
,
'vid'
,
'network_type'
,
'managed'
,
),
),
Fieldset
(
Fieldset
(
'IPv4'
,
'IPv4'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment