Installations that applied 0003-0005 before they were removed from the repository still have the columns, but may no longer have the django_migrations rows. Running migrate then failed with DuplicateColumn on "provider". Use an AddField variant that only adds missing columns. Verified on NetBox 4.7.2 / PostgreSQL 17 / Python 3.13 with a fresh install, with all columns present but no migration rows, and with only some columns present. Bump version to 0.3.3. Co-Authored-By: Claude Opus 5.5 <[email protected]>
23 lines
611 B
Python
23 lines
611 B
Python
from netbox.plugins import PluginConfig
|
|
|
|
|
|
class VMwareImporterConfig(PluginConfig):
|
|
name = "netbox_vmware_importer"
|
|
verbose_name = "NetBox VMware Importer"
|
|
description = "Synchronize VMware vSphere virtual machines into NetBox."
|
|
version = "0.3.3"
|
|
author = "Codex & Claude"
|
|
base_url = "vmware-importer"
|
|
min_version = "4.6.5"
|
|
max_version = "4.7.99"
|
|
|
|
def ready(self):
|
|
super().ready()
|
|
|
|
# Importing registers the scheduler system job with NetBox.
|
|
from . import jobs # noqa: F401
|
|
from . import signals # noqa: F401
|
|
|
|
|
|
config = VMwareImporterConfig
|