-
Notifications
You must be signed in to change notification settings - Fork 5
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
13 changed files
with
180 additions
and
47 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,20 +4,21 @@ | |
from django.db.models.signals import post_migrate | ||
from .utilities import create_webhook | ||
|
||
|
||
class NetBoxDockerConfig(PluginConfig): | ||
"""Plugin Config Class""" | ||
|
||
name = "netbox_docker_plugin" | ||
verbose_name = " NetBox Docker Plugin" | ||
description = "Manage Docker" | ||
version = "1.18.0" | ||
version = "1.19.0" | ||
max_version = "3.7.8" | ||
base_url = "docker" | ||
author= "Vincent Simonin <[email protected]>, David Delassus <[email protected]>" | ||
author_email= "[email protected], [email protected]" | ||
author = "Vincent Simonin <[email protected]>, David Delassus <[email protected]>" | ||
author_email = "[email protected], [email protected]" | ||
|
||
def ready(self): | ||
from . import signals # pylint: disable=unused-import, import-outside-toplevel | ||
from . import signals # pylint: disable=unused-import, import-outside-toplevel | ||
|
||
post_migrate.connect(create_webhook) | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# pylint: disable=C0103 | ||
"""Migration file""" | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
"""Migration file""" | ||
|
||
dependencies = [ | ||
("netbox_docker_plugin", "0031_device_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="host", | ||
name="operation", | ||
field=models.CharField(default="none", max_length=32), | ||
), | ||
] |
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 |
---|---|---|
|
@@ -29,6 +29,7 @@ class HostApiTestCase( | |
"endpoint", | ||
"id", | ||
"name", | ||
"operation", | ||
"state", | ||
"url", | ||
] | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "netbox-docker-plugin" | ||
version = "1.18.0" | ||
version = "1.19.0" | ||
authors = [ | ||
{ name="Vincent Simonin", email="[email protected]" }, | ||
{ name="David Delassus", email="[email protected]" } | ||
|