Skip to content

Commit

Permalink
manual fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnider2195 committed Oct 10, 2024
1 parent fdd06ee commit 9b12dff
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="https://raw.githubusercontent.com/nautobot/nautobot-app-firewall-models/develop/docs/images/icon-nautobot-firewall-models.png" class="logo" height="200px">
<br>
<a href="https://github.com/nautobot/nautobot-app-firewall-models/actions"><img src="https://github.com/nautobot/nautobot-app-firewall-models/actions/workflows/ci.yml/badge.svg?branch=main"></a>
<a href="https://docs.nautobot.com/projects/firewall-models/en/latest/"><img src="https://readthedocs.org/projects/nautobot-app-firewall-models/badge/"></a>
<a href="https://docs.nautobot.com/projects/firewall-models/en/latest/"><img src="https://readthedocs.org/projects/nautobot-plugin-firewall-models/badge/"></a>
<a href="https://pypi.org/project/nautobot-firewall-models/"><img src="https://img.shields.io/pypi/v/nautobot-firewall-models"></a>
<a href="https://pypi.org/project/nautobot-firewall-models/"><img src="https://img.shields.io/pypi/dm/nautobot-firewall-models"></a>
<br>
Expand Down
7 changes: 0 additions & 7 deletions docs/dev/arch_decision.md

This file was deleted.

18 changes: 16 additions & 2 deletions nautobot_firewall_models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,23 @@ class NautobotFirewallModelsConfig(NautobotAppConfig):
required_settings = []
min_version = "2.0.0"
max_version = "2.9999"
default_settings = {}
caching_config = {}
default_settings = {
"capirca_remark_pass": True,
"capirca_os_map": {},
"allowed_status": ["Active"],
"default_status": "Active",
"protect_on_delete": True,
}
docs_view_name = "plugins:nautobot_firewall_models:docs"

def ready(self):
"""Register custom signals."""
import nautobot_firewall_models.signals # pylint: disable=import-outside-toplevel

nautobot_database_ready.connect(nautobot_firewall_models.signals.create_configured_statuses_signal, sender=self)
nautobot_database_ready.connect(nautobot_firewall_models.signals.associate_statuses_signal, sender=self)

super().ready()


config = NautobotFirewallModelsConfig # pylint:disable=invalid-name
1 change: 0 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ def lock(context, check=False, constrain_nautobot_ver=False, constrain_python_ve
if constrain_python_ver:
command += f" --python {context.nautobot_firewall_models.python_ver}"
try:
run_command(context, command, hide=True)
output = run_command(context, command, hide=True)
print(output.stdout, end="")
print(output.stderr, file=sys.stderr, end="")
Expand Down

0 comments on commit 9b12dff

Please sign in to comment.