Skip to main content

NetBox plugin for Cisco ACI

Project description

NetBox ACI Plugin

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 VRFs (Contexts).

PyPI Python versions Docs License

Status: Alpha – Interfaces and data models may change.

Documentation: https://pheus.github.io/netbox-aci-plugin/

Table of Contents

Features

  • Represent core ACI constructs in NetBox:
    • Fabrics
      • Fabrics
      • Pods
      • Nodes
    • Tenants
      • Tenants
      • Application Profiles
      • Endpoint Groups (including uSeg EPGs)
      • Endpoint Security Groups
      • Bridge Domains
      • VRFs (Contexts)
      • Contracts, Contract Subjects, and Contract Filters
  • Consistent UI patterns with NetBox core (tables, filtersets, detail views)
  • Ready for automation via NetBox’s REST API
  • Designed to coexist with your existing NetBox data model

Compatibility

The following table details the tested plugin versions for each NetBox version:

NetBox Version Plugin Version
4.5 0.2.0
4.4 0.1.0
4.3 0.1.0

Installation

Via PyPI

Activate your NetBox virtual environment and install:

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

Docker

If you deploy NetBox with Docker and use plugin_requirements.txt, add:

netbox-aci-plugin

Rebuild/restart your NetBox container(s) so the plugin is installed and discovered. For more on Docker usage, see the netbox-docker plugin documentation.

Quickstart

  1. Install the plugin (see Installation).
  2. Start NetBox and verify Plugins → NetBox ACI appears in the UI.
  3. Create a Fabric to host Tenant policies.
  4. Add a Tenant, then an Application Profile and EPGs.
  5. Configure Contracts, Subjects, and Filters; associate them with EPGs.
  6. Define Bridge Domains and VRFs to complete the model.

Tip: Use NetBox’s API to populate objects at scale once your model is set.

Configuration

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 Fabric "Fabric1" during migration
        "create_default_aci_fabric": True,
        # 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,
    },
}

Apply database migrations and restart NetBox:

source /opt/netbox/venv/bin/activate
cd /opt/netbox
python3 netbox/manage.py migrate
# restart your NetBox services (e.g., systemd or container restart)

Status

This project is in alpha. While core functionality is usable, bugs and missing features may remain. Use in testing or non‑critical environments; exercise caution in production.

Release notes

See the changelog.

Licensing

GNU General Public License v3.0 or later.

See LICENSE for the full text.

Credits

  • Built for the NetBox ecosystem – thanks to the NetBox community.
  • Not affiliated with or endorsed by Cisco Systems, Inc.
  • Based on the NetBox plugin tutorial:

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

Contributing

We follow an issue‑first workflow:

  1. Open an issue (bug or feature request).
  2. A maintainer triages and accepts it; a contributor is assigned.
  3. Open a PR that links the accepted, assigned issue.

See CONTRIBUTING.md and our PR/issue templates for details.

Security

Please do not file public issues for vulnerabilities. See SECURITY.md.

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_aci_plugin-0.2.0.tar.gz (169.7 kB view details)

Uploaded Source

Built Distribution

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

netbox_aci_plugin-0.2.0-py3-none-any.whl (297.8 kB view details)

Uploaded Python 3

File details

Details for the file netbox_aci_plugin-0.2.0.tar.gz.

File metadata

  • Download URL: netbox_aci_plugin-0.2.0.tar.gz
  • Upload date:
  • Size: 169.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for netbox_aci_plugin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 22f2fe7ff0347eef868bc58ad076b309c011bf9c373617f51f7488c78f3671f7
MD5 010c47a30594811a15120a9fd680279e
BLAKE2b-256 6bb76e69c90efd4a285a28c66442ca5320138f643596f54235f7b65868b324fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_aci_plugin-0.2.0.tar.gz:

Publisher: publish.yaml on pheus/netbox-aci-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file netbox_aci_plugin-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_aci_plugin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7445660b1341a3b7bdfc252657da98b54e8bdc97b80b59e78bd202fcfde86c6d
MD5 85c4d86e9db8f804fbe11f4a8f4fa37f
BLAKE2b-256 d39194ea67dcc151d0d681a996385e6eb216655f581ae6e394fe5ba1d498d463

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_aci_plugin-0.2.0-py3-none-any.whl:

Publisher: publish.yaml on pheus/netbox-aci-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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