-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
135 additions
and
29 deletions.
There are no files selected for viewing
111 changes: 111 additions & 0 deletions
111
nautobot_firewall_models/migrations/0020_field_cleanups.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# Generated by Django 3.2.21 on 2023-09-28 17:07 | ||
|
||
from django.db import migrations, models | ||
import nautobot_firewall_models.validators | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("nautobot_firewall_models", "0019_resolve_issues_through_tables_part3"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="applicationobject", | ||
name="category", | ||
field=models.CharField(blank=True, default="", max_length=48), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="applicationobject", | ||
name="default_ip_protocol", | ||
field=models.CharField(blank=True, default="", max_length=48), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="applicationobject", | ||
name="default_type", | ||
field=models.CharField(blank=True, default="", max_length=48), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="applicationobject", | ||
name="description", | ||
field=models.CharField(blank=True, default="", max_length=200), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="applicationobject", | ||
name="subcategory", | ||
field=models.CharField(blank=True, default="", max_length=48), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="applicationobject", | ||
name="technology", | ||
field=models.CharField(blank=True, default="", max_length=48), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="applicationobjectgroup", | ||
name="description", | ||
field=models.CharField(blank=True, default="", max_length=200), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="capircapolicy", | ||
name="cfg", | ||
field=models.TextField(blank=True, default=""), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="capircapolicy", | ||
name="net", | ||
field=models.TextField(blank=True, default=""), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="capircapolicy", | ||
name="pol", | ||
field=models.TextField(blank=True, default=""), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="capircapolicy", | ||
name="svc", | ||
field=models.TextField(blank=True, default=""), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="natpolicyrule", | ||
name="description", | ||
field=models.CharField(blank=True, default="", max_length=200), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="natpolicyrule", | ||
name="request_id", | ||
field=models.CharField(blank=True, default="", max_length=100), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="policyrule", | ||
name="description", | ||
field=models.CharField(blank=True, default="", max_length=200), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="policyrule", | ||
name="request_id", | ||
field=models.CharField(blank=True, default="", max_length=100), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="serviceobject", | ||
name="port", | ||
field=models.CharField( | ||
blank=True, default="", max_length=20, validators=[nautobot_firewall_models.validators.validate_port] | ||
), | ||
preserve_default=False, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "nautobot-firewall-models" | ||
version = "2.0.0rc1" | ||
version = "2.0.0rc2" | ||
description = "Nautobot plugin to model firewall objects." | ||
authors = ["Network to Code, LLC <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -97,8 +97,7 @@ min-similarity-lines = 6 | |
disable = """, | ||
line-too-long, | ||
too-few-public-methods, | ||
too-many-ancestors, | ||
nb-string-field-blank-null | ||
too-many-ancestors | ||
""" | ||
|
||
[tool.pylint.miscellaneous] | ||
|