Skip to content

Commit

Permalink
Merge pull request #44 from tobiasge/nb35
Browse files Browse the repository at this point in the history
Compatibility with Netbox 3.5
  • Loading branch information
tobiasge authored Apr 29, 2023
2 parents a4fe398 + adda641 commit b548983
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Load data from YAML files into Netbox

First activate your virtual environment where Netbox is installed, the install the plugin version correspondig to your Netbox version.
```bash
pip install "netbox-initializers==3.4.*"
pip install "netbox-initializers==3.5.*"
```
Then you need to add the plugin to the `PLUGINS` array in the Netbox configuration.
```python
Expand Down Expand Up @@ -37,5 +37,5 @@ To use the new plugin in a the Netbox Docker image, it musst be installad into t

```dockerfile
FROM netboxcommunity/netbox:v3.4
RUN /opt/netbox/venv/bin/pip install "netbox-initializers==3.4.*"
RUN /opt/netbox/venv/bin/pip install "netbox-initializers==3.5.*"
```
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "Apache-2.0"
name = "netbox-initializers"
readme = "README.md"
repository = "https://github.com/tobiasge/netbox-initializers"
version = "3.4.0"
version = "3.5.0"

[tool.poetry.dependencies]
python = "^3.8"
Expand Down
6 changes: 3 additions & 3 deletions src/netbox_initializers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ class NetBoxInitializersConfig(PluginConfig):
name = "netbox_initializers"
verbose_name = "NetBox Initializers"
description = "Load initial data into Netbox"
version = "3.4.0"
version = "3.5.0"
base_url = "initializers"
min_version = "3.4.0"
max_version = "3.4.99"
min_version = "3.5.0"
max_version = "3.5.99"


config = NetBoxInitializersConfig
2 changes: 1 addition & 1 deletion test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM netboxcommunity/netbox:v3.4
FROM netboxcommunity/netbox:v3.5

COPY ../ /opt/netbox-initializers/
COPY ./test/config/plugins.py /etc/netbox/config/
Expand Down
6 changes: 1 addition & 5 deletions test/env/netbox.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,5 @@ REDIS_HOST=redis
REDIS_INSECURE_SKIP_TLS_VERIFY=false
REDIS_PASSWORD=aC4eic9if9de4eHi@kah
REDIS_SSL=false
SECRET_KEY=yam+ie6Uhou5ciGaez7Psheihae*Nga3wohz9iet
SUPERUSER_API_TOKEN=Aegh_e9xiv2eoba8aev1Sheeb]ah1PeMai8Uxaec
SUPERUSER_EMAIL=admin@example.com
SUPERUSER_NAME=admin
SUPERUSER_PASSWORD=to5SeGhaiwee.d5Aew?a
SECRET_KEY=yam+ie6Uhou5ciGaez7Psheihae*Nga3wohz9ietsae8Hu:chung:aeGeat9
WEBHOOKS_ENABLED=true

0 comments on commit b548983

Please sign in to comment.