Netbox Initializers Plugin
Load data from YAML files into Netbox
Installation
First activate your virtual environment where Netbox is installed, the install the plugin version corresponding to your Netbox version.
pip install "netbox-initializers==4.6.*"
Then you need to add the plugin to the PLUGINS array in the Netbox configuration.
PLUGINS = [
'netbox_initializers',
]
Getting started
At first you need to start with writing the YAML files that contain the initial data. To make that easier the plugin includes example files for all supported initializers. To access those examples you can copy them into a directory of your choosing and edit them there. To copy the files run the following command (in your Netbox directory):
./manage.py copy_initializers_examples --path /path/for/example/files
After you filled in the data you want to import, the import can be started with this command:
./manage.py load_initializer_data --path /path/for/example/files
Netbox Docker image
The initializers where a part of the Docker image and where then extracted into a Netbox plugin. This was done to split the release cycle of the initializers and the image. To use the new plugin in a the Netbox Docker image, it musst be installad into the image. To this, the following example can be used as a starting point:
FROM netboxcommunity/netbox:v4.6
RUN /usr/local/bin/uv pip install "netbox-initializers==4.6.*"
Metadata
Release files for netbox-initializers 4.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netbox_initializers-4.6.1.tar.gz | 42.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netbox_initializers-4.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 117.9 kB
Release files / netbox_initializers-4.6.1.tar.gz
| Download URL | netbox_initializers-4.6.1.tar.gz |
|---|---|
| Size | 42.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ac0ea343bfc7bae886c17686f1439d4d3a7b6f4e6a1a98c4d3625ef3d2d029d
|
|
BLAKE2b-256 checksum How to use checksums |
c41e88f68fc150624b920bcc33af39968b6cf12e3757d79c34994631a0070a22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / netbox_initializers-4.6.1-py3-none-any.whl
| Download URL | netbox_initializers-4.6.1-py3-none-any.whl |
|---|---|
| Size | 75.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69f54e5a374202a8df783a27c73b9f9392466c24cf26d5e8894853b4b3fb7eea
|
|
BLAKE2b-256 checksum How to use checksums |
74ad47d1bdcf5fd625522f5bbb8bfd4feb72c0f9a95c94317d9037d4fc21a2ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|