A NetBox plugin for Access List management
Project description
NetBox Access Lists Plugin
A Netbox plugin for Access List management.
Features
This plugin provides the following models:
- Access Lists
- Access List to Interface Assignment
- Access List Rules (abstract model bassis for other rules)
- Access List Standard Rules
- Access List Extended Rules
Origin
Based on the NetBox plugin tutorial by jeremystretch:
All credit should go to Jeremy. Thanks, Jeremy!
This project just looks to build on top of this framework and model presented.
Contributing
This project is currently maintained jointly by:
See the CONTRIBUTING for more information.
Compatibility
Each Plugin Version listed below has been tested with its corresponding NetBox Version.
NetBox Version | Plugin Version |
---|---|
3.2 | 1.0.1 |
3.3 | 1.1.0 |
3.4 | 1.2.2 |
Installing
For adding to a NetBox Docker setup see the general instructions for using netbox-docker with plugins.
You can install with pip:
pip install netbox-acls
or by adding to your local_requirements.txt
or plugin_requirements.txt
(netbox-docker):
netbox-acls
Configuration
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py
,
or if you use netbox-docker, your /configuration/plugins.py
file :
PLUGINS = [
"netbox_acls"
]
PLUGINS_CONFIG = {
"netbox_acls": {
"top_level_menu": True # If set to True the plugin will add a top level menu item for the plugin. If set to False the plugin will add a menu item under the Plugins menu item. Default is set to True.
},
}
Developing
VSCode + Docker + Dev Containers
To develop this plugin further one can use the included .devcontainer configuration. This configuration creates a docker container which includes a fully working netbox installation. Currently it should work when using WSL 2. For this to work make sure you have Docker Desktop installed and the WSL 2 integrations activated.
- In the WSL terminal, enter
code
to run Visual studio code. - Install the devcontainer extension "ms-vscode-remote.remote-containers"
- Press Ctrl+Shift+P and use the "Dev Container: Clone Repository in Container Volume" function to clone this repository. This will take a while depending on your computer
- If you'd like the netbox instance to be prepopulated with example data from netbox-initializers run
make initializers
- Start the netbox instance using
make all
Your netbox instance will be served under 0.0.0.0:8000, so it should now be available under localhost:8000.
Screenshots
Access List - List View
Access List (Type Extended) - Individual View
Access List (Type Standard) - Individual View
Extended Access List Rules - List View
Standard Access List Rules - List View
Access List Interface Assignments- List View
Host (device, virtual_chassis, virtual_machine) Access Lists - New Card
Host Interface (vminterface interface) Access Lists - New Card
Project details
Release history Release notifications | RSS feed
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-acls-1.2.2.tar.gz
.
File metadata
- Download URL: netbox-acls-1.2.2.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d11e46737fd3fb7b2b010dcc685d8095c47a7a9a9cd3e23cb3bcdad023cadd48 |
|
MD5 | 0c308b45b7e7e9a238f18ac57f764ded |
|
BLAKE2b-256 | 6d48e8e41ab3ec0d6a83b040e45a9cc960b7d6f76b7def9c069839be6d8e2fbf |
File details
Details for the file netbox_acls-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: netbox_acls-1.2.2-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e6437fd7dd65de36658842afde9943094cd05f5b25b82f2a1d9e8adddb685b |
|
MD5 | 9feb6329070ef9817244b056920ff4cb |
|
BLAKE2b-256 | 070480bbfcb849c875cb51f0df3a6d320b0c753e428215a2ee7872f7d83d9d1d |