Skip to main content

Syncing Device Interfaces with the Interfaces from Device Type for NetBox

Project description

netbox-interface-synchronization

Overview

This plugin allows you to compare and synchronize interfaces between devices and device types in NetBox . 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 netbox-interface-synchronization

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 = [
    'netbox_interface_synchronization'
]

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 = {
    'netbox_interface_synchronization': {
        '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

netbox_interface_synchronization-4.0.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for netbox_interface_synchronization-4.0.1.tar.gz
Algorithm Hash digest
SHA256 423cc0ba6a8bd8da15a2697bdf7060d501b4707277d7735fed0722aaac50011c
MD5 c10c6eed37315e23b3ce17b30e49201d
BLAKE2b-256 444626dd683c245355a2fba12fe703bf5af1fc7ad3760808ff69a5fb6607b298

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netbox_interface_synchronization-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41fcbe54d3955f072164945091adc0ea761dc11e9026f400cd0b8fc2a62aa397
MD5 ab5ffc22d5fba22f41b252eac893ae0a
BLAKE2b-256 bfc8f38114a3610cdc723085045c89613bd2db68f3449e11c783214252d64e90

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