From 75e70d85da469dae513585926125a3ddb5f24ea2 Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 7 Jan 2025 21:49:25 -0600 Subject: [PATCH] netbox: upgrade to v4.1.11 Signed-off-by: Myned --- options/custom/containers/netbox/Dockerfile | 2 +- options/custom/containers/netbox/extra.py | 12 ++++++++---- .../containers/netbox/plugin_requirements.txt | 14 +++++++------- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/options/custom/containers/netbox/Dockerfile b/options/custom/containers/netbox/Dockerfile index c0c7b57..bd919b0 100644 --- a/options/custom/containers/netbox/Dockerfile +++ b/options/custom/containers/netbox/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/netboxcommunity/netbox:v4.0.11 +FROM docker.io/netboxcommunity/netbox:v4.1.11 # Install extra configuration COPY ./extra.py /etc/netbox/config/ diff --git a/options/custom/containers/netbox/extra.py b/options/custom/containers/netbox/extra.py index b7a47a6..58ec854 100644 --- a/options/custom/containers/netbox/extra.py +++ b/options/custom/containers/netbox/extra.py @@ -6,24 +6,28 @@ LOGIN_PERSISTENCE = True # BUG: pynetbox does not send token with version requests # https://github.com/netbox-community/Device-Type-Library-Import/issues/134 # https://github.com/netbox-community/pynetbox/pull/641 +# ?? LOGIN_REQUIRED = False LOGIN_REQUIRED = True MEDIA_ROOT = "/opt/netbox/netbox/media" # Default /opt/netbox/media TIME_ZONE = "America/Chicago" +# https://netboxlabs.com/docs/netbox/en/stable/plugins/installation/ +# TODO: Upgrade to v4.2 when supported by plugins +#!! "ImproperlyConfigured: Application labels aren't unique, duplicates: " means incompatible version PLUGINS = [ "netbox_acls", "netbox_attachments", "netbox_dns", "netbox_interface_synchronization", - # // "netbox_lists", + # "netbox_lists", "netbox_otp_plugin", "netbox_reorder_rack", - # // "netbox_routing", - "netbox_secrets", + # "netbox_routing", + # "netbox_secrets", "netbox_storage", "netbox_topology_views", - # // "slurpit_netbox", + # "slurpit_netbox", ] PLUGINS_CONFIG = { diff --git a/options/custom/containers/netbox/plugin_requirements.txt b/options/custom/containers/netbox/plugin_requirements.txt index 5dcc7a6..3a60861 100644 --- a/options/custom/containers/netbox/plugin_requirements.txt +++ b/options/custom/containers/netbox/plugin_requirements.txt @@ -1,12 +1,12 @@ -netbox-acls == 1.6.* # https://github.com/netbox-community/netbox-acls -netbox-attachments == 5.* # https://github.com/Kani999/netbox-attachments -netbox-interface-synchronization == 4.0.* # https://github.com/NetTech2001/netbox-interface-synchronization -#// netbox-lists == 4.0.* # https://github.com/devon-mar/netbox-lists +netbox-acls == 1.7.* # https://github.com/netbox-community/netbox-acls +netbox-attachments == 6.* # https://github.com/Kani999/netbox-attachments +netbox-interface-synchronization == 4.1.* # https://github.com/NetTech2001/netbox-interface-synchronization +# netbox-lists == 4.0.* # https://github.com/devon-mar/netbox-lists netbox-otp-plugin == 1.3.* # https://github.com/k1nky/netbox-otp-plugin netbox-plugin-dns == 1.1.* # https://github.com/peteeckel/netbox-plugin-dns netbox-reorder-rack == 1.1.* # https://github.com/netbox-community/netbox-reorder-rack -#// netbox-routing == 0.2.* # https://github.com/DanSheps/netbox-routing -netbox-secrets == 2.0.* # https://github.com/Onemind-Services-LLC/netbox-secrets +# netbox-routing == 0.2.* # https://github.com/DanSheps/netbox-routing +# netbox-secrets == 2.1.* # https://github.com/Onemind-Services-LLC/netbox-secrets netbox-storage-plugin == 0.7.* # https://github.com/viroge/netbox-storage netbox-topology-views == 4.1.* # https://github.com/netbox-community/netbox-topology-views -#// slurpit_netbox == 0.9.* # https://gitlab.com/slurpit.io/slurpit-netbox +# slurpit_netbox == 0.9.* # https://gitlab.com/slurpit.io/slurpit-netbox