Skip to content

Commit b548983

Browse files
authored
Merge pull request #44 from tobiasge/nb35
Compatibility with Netbox 3.5
2 parents a4fe398 + adda641 commit b548983

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Load data from YAML files into Netbox
66

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

3838
```dockerfile
3939
FROM netboxcommunity/netbox:v3.4
40-
RUN /opt/netbox/venv/bin/pip install "netbox-initializers==3.4.*"
40+
RUN /opt/netbox/venv/bin/pip install "netbox-initializers==3.5.*"
4141
```

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "Apache-2.0"
1111
name = "netbox-initializers"
1212
readme = "README.md"
1313
repository = "https://github.com/tobiasge/netbox-initializers"
14-
version = "3.4.0"
14+
version = "3.5.0"
1515

1616
[tool.poetry.dependencies]
1717
python = "^3.8"

src/netbox_initializers/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ class NetBoxInitializersConfig(PluginConfig):
55
name = "netbox_initializers"
66
verbose_name = "NetBox Initializers"
77
description = "Load initial data into Netbox"
8-
version = "3.4.0"
8+
version = "3.5.0"
99
base_url = "initializers"
10-
min_version = "3.4.0"
11-
max_version = "3.4.99"
10+
min_version = "3.5.0"
11+
max_version = "3.5.99"
1212

1313

1414
config = NetBoxInitializersConfig

test/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM netboxcommunity/netbox:v3.4
1+
FROM netboxcommunity/netbox:v3.5
22

33
COPY ../ /opt/netbox-initializers/
44
COPY ./test/config/plugins.py /etc/netbox/config/

test/env/netbox.env

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,5 @@ REDIS_HOST=redis
1313
REDIS_INSECURE_SKIP_TLS_VERIFY=false
1414
REDIS_PASSWORD=aC4eic9if9de4eHi@kah
1515
REDIS_SSL=false
16-
SECRET_KEY=yam+ie6Uhou5ciGaez7Psheihae*Nga3wohz9iet
17-
SUPERUSER_API_TOKEN=Aegh_e9xiv2eoba8aev1Sheeb]ah1PeMai8Uxaec
18-
SUPERUSER_EMAIL=[email protected]
19-
SUPERUSER_NAME=admin
20-
SUPERUSER_PASSWORD=to5SeGhaiwee.d5Aew?a
16+
SECRET_KEY=yam+ie6Uhou5ciGaez7Psheihae*Nga3wohz9ietsae8Hu:chung:aeGeat9
2117
WEBHOOKS_ENABLED=true

0 commit comments

Comments
 (0)