No project description provided
Project description
Netbox Roles And Groups Plugin
A plugin designed to faciliate the storage of site, circuit, device type and device specific software within NetBox
Compatibility
NetBox Version | Plugin Version |
---|---|
3.2+ | 0.5.0 |
Installation
A working installation of Netbox 3.2+ is required. 3.4+ is recommended.
Package Installation from PyPi
Activate your virtual env and install via pip:
$ source /opt/netbox/venv/bin/activate
(venv) $ pip install netbox-rolesandgroups
To ensure the Netbox software plugin is automatically re-installed during future upgrades, add the package to your local_requirements.txt
:
# echo netbox-rolesandgroups >> local_requirements.txt
Enable the Plugin
In the Netbox configuration.py
configuration file add or update the PLUGINS parameter, adding netbox-rolesandgroups
:
PLUGINS = [
'netbox-rolesandgroups',
]
(Optional) Add or update a PLUGINS_CONFIG parameter in configuration.py
to configure plugin settings. Options shown below are the configured defaults:
PLUGINS_CONFIG = {
'netbox-rolesandgroups': {
"enable_navigation_menu": True,
"enable_system_roles": True,
"enable_system_rolegroups": True,
"system_roles_location": "left",
"system_rolegroups_location": "left",
}
}
Apply Database Migrations
Apply database migrations with Netbox manage.py
:
(venv) $ python manage.py migrate
Restart Netbox
Restart the Netbox service to apply changes:
sudo systemctl restart netbox
Re-index Netbox search index (Upgrade to 3.4 only)
If you are upgrading from Netbox 3.2 or above to Netbox 3.4, any previously inserted software may not show up in the new search feature. To resolve this, re-index the plugin:
(venv) $ python manage.py reindex netbox-rolesandgroups
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
Built Distribution
File details
Details for the file netbox_rolesandgroups-0.2.3.tar.gz
.
File metadata
- Download URL: netbox_rolesandgroups-0.2.3.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-94-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 765b66ee271067808c233a97a2c066738d01472318441234e6f8ff13ac8f940a |
|
MD5 | f938072b5b90a03391a354118a33cbd1 |
|
BLAKE2b-256 | 5491b8f5c8bc2bc3cdd7a7674efc6eff7da121a0102b886bad8fac5e42b4004f |
File details
Details for the file netbox_rolesandgroups-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: netbox_rolesandgroups-0.2.3-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-94-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5846721ef40517461d6e8765fa00d17b487be46ba475a370f208a474dcab3194 |
|
MD5 | f82c7b3e2eead417cfcfbb5fe3db72bd |
|
BLAKE2b-256 | 185335f02fd387bcf365e4998da55659299d71053ab6c7fe25dca7e61e83959a |