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
      • L3Outs, External EPGs, and External Subnets
  • 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.6 0.3.0
4.5 0.3.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.3.0.tar.gz (216.8 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.3.0-py3-none-any.whl (375.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for netbox_aci_plugin-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f5e1e9e66dfa434c9eadc04a5985ae93195bab9f8138b11d6cbaad99a8426d21
MD5 15afffa9e5e6c00fe926e9c02903d0c0
BLAKE2b-256 1931ff233c1ebf4498748479bb39ac596fd15f29029d164834256d046b082314

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_aci_plugin-0.3.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_aci_plugin-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f8d2ff926a13169df6e7100c3b2119465b2a0b40f914fef7b5bef0d8bef44b0
MD5 f74c1914f66fde41fd39e1b1061d6e12
BLAKE2b-256 cd5e4f4fec6e99c563de07eaeb6128d140a83bb89e2c57c116f593d1a7a1a634

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_aci_plugin-0.3.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