From e9902a3f6f867a3767b37571b5a65d51e22e6f7d Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Tue, 3 Sep 2024 12:56:56 -0700 Subject: [PATCH] v0.3.0 for NetBox 4.1.0 --- README.md | 5 +++-- netbox_napalm_plugin/__init__.py | 4 ++-- netbox_napalm_plugin/api/serializers.py | 2 +- pyproject.toml | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8e4dced..798c22d 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,9 @@ The features the plugin provides should be listed here. | 3.5 | 0.1.0 | | 3.5.8 | 0.1.4 | | 3.6.0 | 0.1.5 | -| < 3.7.6 | 0.1.7 | -| >= 4.0.2 | 0.2.1 | +| 3.7.6 | 0.1.7 | +| < 4.0.11 | 0.2.1 | +| >= 4.1.0 | 0.3.0 | ## Installation diff --git a/netbox_napalm_plugin/__init__.py b/netbox_napalm_plugin/__init__.py index 3715a98..bd1dc74 100644 --- a/netbox_napalm_plugin/__init__.py +++ b/netbox_napalm_plugin/__init__.py @@ -2,7 +2,7 @@ __author__ = """Arthur Hanson""" __email__ = "ahanson@netboxlabs.com" -__version__ = "0.2.1" +__version__ = "0.3.0" from netbox.plugins import PluginConfig @@ -22,7 +22,7 @@ class NapalmPlatformConfig(PluginConfig): 'NAPALM_ARGS': {}, } min_version = '4.0.2' - max_version = '4.0.99' + max_version = '4.1.99' config = NapalmPlatformConfig diff --git a/netbox_napalm_plugin/api/serializers.py b/netbox_napalm_plugin/api/serializers.py index f44c658..443a305 100644 --- a/netbox_napalm_plugin/api/serializers.py +++ b/netbox_napalm_plugin/api/serializers.py @@ -1,4 +1,4 @@ -from dcim.api.serializers import NestedPlatformSerializer +from dcim.api.nested_serializers import NestedPlatformSerializer from netbox.api.serializers import NetBoxModelSerializer from rest_framework import serializers diff --git a/pyproject.toml b/pyproject.toml index 1817975..daeee64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "netbox-napalm-plugin" -version = "0.2.1" +version = "0.3.0" authors = [ {name = "Arthur Hanson", email = "ahanson@netboxlabs.com"}, ]