The NetBox plugin for Cisco ACI allows NetBox to document ACI specific objects like Tenants (TN), Application Profiles (AP), Endpoint Groups (EPG), Endpoint Security Groups (ESG), Bridge Domains (BD) and Contexts (CTX) / Virtual Routing and Forwarding (VRF).
Documentation: https://pheus.github.io/netbox-aci-plugin/
- Tenants
- Application Profiles
- Endpoint Groups
- uSeg Endpoint Groups
- Endpoint Security Groups
- Bridge Domains
- VRF
- Contracts
- Contract Subjects
- Contract Filters
The following table details the tested plugin versions for each NetBox version:
NetBox Version | Plugin Version |
---|---|
4.4 | 0.1.0 |
4.3 | 0.1.0 |
For instructions specific to NetBox Docker setups, see the netbox-docker plugin documentation.
Activate your NetBox Python virtual environment and run:
source /opt/netbox/venv/bin/activate
pip install netbox-aci-plugin
Important: When using NetBox's upgrade.sh, the virtual environment is
deleted and recreated.
To ensure that the ACI plugin is reinstalled during an upgrade,
add it to your local_requirements.txt
(for local installations) or
plugin_requirements.txt
(for container-based installations).
netbox-aci-plugin
Enable the plugin by editing the NetBox configuration file.
For local installations, update /opt/netbox/netbox/netbox/configuration.py
;
for Docker setups, modify /configuration/plugins.py
:
PLUGINS = [
'netbox_aci_plugin'
]
PLUGINS_CONFIG = {
"netbox_aci_plugin": {
# create default ACI Tenants "common", "infra", "mgmt" during migration
"create_default_aci_tenants": True,
# create default ACI Filters "arp", "icmp", "ip" during migration
"create_default_aci_contract_filters": True,
},
}
After configuration, apply the changes by running the database migrations:
source /opt/netbox/venv/bin/activate
cd /opt/netbox
python3 netbox/manage.py migrate
This project is in alpha. While core functionality is stable, bugs and missing features may still be present. Use in testing or non-critical environments, and proceed with caution in production.
See the changelog.
GNU General Public License v3.0 or later.
See LICENSE to see the full text.
Based on the NetBox plugin tutorial:
This package was created with Cookiecutter and the
netbox-community/cookiecutter-netbox-plugin
project template.