netbox-ddns/netbox_ddns/__init__.py

31 lines
647 B
Python
Raw Normal View History

2020-12-26 19:52:03 +01:00
VERSION = '1.1.0'
2020-04-15 00:56:20 +02:00
try:
from extras.plugins import PluginConfig
except ImportError:
# Dummy for when importing outside of netbox
class PluginConfig:
pass
class NetBoxDDNSConfig(PluginConfig):
name = 'netbox_ddns'
verbose_name = 'Dynamic DNS'
version = VERSION
2020-12-26 19:52:03 +01:00
min_version = '2.8'
max_version = '2.10'
2020-04-15 00:56:20 +02:00
author = 'Sander Steffann'
author_email = 'sander@steffann.nl'
description = 'Dynamic DNS Connector for NetBox'
base_url = 'ddns'
required_settings = []
default_settings = {}
def ready(self):
super().ready()
from . import signals
config = NetBoxDDNSConfig