Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 1.99 KB

README.md

File metadata and controls

73 lines (46 loc) · 1.99 KB

NetBox ChangeLog Diff Plugin

NetBox plugin for more detailed changlog diffs

Features

The features the plugin provides should be listed here.

Compatibility

NetBox Version Plugin Version
4.1.x 0.2.0
4.0.5 0.1.0

Minium version is 4.0.5 of netbox. Otherwise no changelog diff's will show up

Screenshot

gif1

Installing

For adding to a NetBox Docker setup see the general instructions for using netbox-docker with plugins.

to install from pip:

pip install netbox-changelog-diff-plugin

or by adding to your local_requirements.txt or plugin_requirements.txt (netbox-docker):

git+https://github.com/ITJamie/netbox-changelog-diff-plugin

Enable the plugin in /opt/netbox/netbox/netbox/configuration.py, or if you use netbox-docker, your /configuration/plugins.py file :

PLUGINS = [
    'netbox_changelog_diff_plugin'
]

PLUGINS_CONFIG = {
    "netbox_changelog_diff_plugin": {
        # can be json or yaml, yaml is more readable
        "change_log_format": "yaml", 
        # will hide the native changelog diff's if `True` and only show new ones
        "hide_native_diff": False
    },
}

Credits

Diff function based on https://github.com/wagoodman/diff2HtmlCompare

Based on the NetBox plugin tutorial:

This package was created with Cookiecutter and the netbox-community/cookiecutter-netbox-plugin project template.