Syncing Device Interfaces with the Interfaces from Device Type for NetBox 4
Project description
netbox4-interface-sync
Overview
This plugin allows you to compare and synchronize interfaces between devices and device types in NetBox 4. It can be useful for finding and correcting inconsistencies between interfaces.
Compatibility
Tested with NetBox versions 4.0.0, 4.0.1, 4.0.2. This plugin is not compatible with Netbox 2 or 3
Installation
If your NetBox 4 installation uses virtualenv, activate it like this:
source /opt/netbox/venv/bin/activate
Install the plugin from PyPI:
pip install netbox4-interface-sync
or clone this repository, then go to the folder with it and install the plugin:
pip install .
To enable to plugin, add the plugin's name to the PLUGINS list in configuration.py (it's usually located in /opt/netbox/netbox/netbox/) like so:
PLUGINS = [
'netbox4_interface_sync'
]
Don't forget to restart NetBox:
sudo systemctl restart netbox
Plugin Settings
If you want to override the default values, configure the PLUGINS_CONFIG in your configuration.py:
PLUGINS_CONFIG = {
'netbox4_interface_sync': {
'exclude_virtual_interfaces': True
}
}
| Setting | Default value | Description |
|---|---|---|
| exclude_virtual_interfaces | True |
Exclude virtual interfaces (VLANs, LAGs) from comparison |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox4_interface_sync-4.0.2.tar.gz.
File metadata
- Download URL: netbox4_interface_sync-4.0.2.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fbb75bcc98ab0ed10518e0e66f2e1161fd9026c69d61083dd4f31acf74e2413
|
|
| MD5 |
29c365e2490b851b2c86d5f7ea889d64
|
|
| BLAKE2b-256 |
e7bae4329318d14e14507cdeb0f687d6e2aa6c45d0b48bf2e78fc3365c49fe23
|
File details
Details for the file netbox4_interface_sync-4.0.2-py3-none-any.whl.
File metadata
- Download URL: netbox4_interface_sync-4.0.2-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44dcd3940de231c4aa8de821950319e57ee7e95952ab31cacd3cb7dde532e8f8
|
|
| MD5 |
26f554de5072ede2ffb4fb51f0d33577
|
|
| BLAKE2b-256 |
983a8714c773293a7f9969dc935dca4529ad4e39f56bc1a8ed23b0555b0aced3
|