Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox4_interface_sync-4.0.1.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

netbox4_interface_sync-4.0.1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file netbox4_interface_sync-4.0.1.tar.gz.

File metadata

File hashes

Hashes for netbox4_interface_sync-4.0.1.tar.gz
Algorithm Hash digest
SHA256 04cc7a85da06b97e2b8b6066d10a4b5b15011760fb590110aeebcc941ff4c098
MD5 5b488ab47fda9d7166e2cbb3492e83f2
BLAKE2b-256 b649ce8f343b3141416eef0008f7b26ceb8b273adc5655c49ac259ae42abb9f1

See more details on using hashes here.

File details

Details for the file netbox4_interface_sync-4.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox4_interface_sync-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87a77815790f47fc98def294efdd9467e4f11f7a3c218eb656089c0d5da18644
MD5 0bc150598a9b0d3043e2bf7213e01096
BLAKE2b-256 6f449f05323100453a7acd0b8ad0da05e94de01006fb0286162ce677f7e323ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page