Skip to main content

This plugin allows you to compare and synchronize component names and types between devices and device types in NetBox 4+

Project description

netbox-interface-synchronization

Overview

4.5.8 - MINOR UPDATE

Module Bays are now synchronizable.


This plugin allows you to compare and synchronize component names and types between devices and device types in NetBox.

It can be very useful for finding and correcting inconsistencies between components when changing the device type.

Compatibility

Tested with Netbox 4.5.8 This plugin is not compatible with Netbox 2 or 3 but should work with any version of Netbox 4.3.1 or greater

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

Usage

To sync the components, edit the device and set the new device type and save the device. Then find the "Sync Components" button at the bottom of the page: Device page Mark the required actions with the checkboxes and click "Apply". Interface comparison

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.5.8.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for netbox_interface_synchronization-4.5.8.tar.gz
Algorithm Hash digest
SHA256 91b9b607b76e1c8a917623dd2c442acf074d32ce21e106c287ded7a34faf867d
MD5 e745f726253d1cfad6de86a3b772be19
BLAKE2b-256 fa66a9962aa2a3e00004cd0eeed055de12cea2eec1303b0c88fdc80070fb507e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netbox_interface_synchronization-4.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3f1b965a36923d1cac7c1c03a178bf538383f78c4287106fb5be4e57d23ec942
MD5 4813d83f6d93acfb2103fcc3e633b3bc
BLAKE2b-256 2a0e8140eb7875be5fdcbde44158291ba0130251deeec0b046b036182eaf1bc5

See more details on using hashes here.

Supported by

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