Skip to main content

A Netbox plugin that supports Virtual Circuit management

Project description

NetBox Virtual Circuit Plugin

A plugin for NetBox that supports Virtual Circuit management.

Definitions

A Virtual Circuit is a circuit created by routing two or more VLANs together.

Each Virtual Circuit is identified by a name, a numeric ID (0-32767), along with a context. Each Virtual Circuit must be assigned one of the following operational statuses:

  • Pending Configuration
  • Configured
  • Pending Deletion
  • Configuration Error

When a VLAN is assigned to a Virtual Circuit, it can not exist in another Virtual Circuit without first being removed.

Installing

Since the plugin is published on PyPI, simply issue:

pip install netbox-virtual-circuit-plugin

to download and install it.

To enable to plugin, add the plugin's name to the PLUGINS list in configuration.py like so:

PLUGINS = ['netbox_virtual_circuit_plugin'] # Note that the name here use underscore, not hyphen.

Don't forget to restart NetBox to load the new plugin.

For more information about installing plugins, refer to NetBox's documentation .

Using

Once the plugin is installed correctly as instructed above, one can find the Virtual Circuit section under Plugins navigation tab via NetBox UI that is ready to use with correct admin permission.

As for REST API use cases, the 2 group endpoints are exposed at:

  • /api/plugins/virtual-circuit/virtual-circuits
  • /api/plugins/virtual-circuit/vlans

While the former one is for creating/retrieving/modifying/deleting Virtual Circuits, the later one is for assigning and managing Virtual-Circuit-to-VLAN connections. For more information, refer to /api/docs as it also conforms to Swagger Specification for hosted visual documentations.

Developing

Plugins are essentially self-contained Django apps which integrate with NetBox to provide custom functionality. For more information, see NetBox documentation.

Contributing

If you experience a bug, would like to ask a question, or request a feature, open a new issue and provide as much context as possible. All contributions, questions, and feedback are welcomed and appreciated.

License

NetBox Virtual Circuit Plugin is licensed under GPLv3. See LICENSE for more info.

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-virtual-circuit-plugin-0.1.3.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file netbox-virtual-circuit-plugin-0.1.3.tar.gz.

File metadata

  • Download URL: netbox-virtual-circuit-plugin-0.1.3.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for netbox-virtual-circuit-plugin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 292c9162fe667a731b92b27b5afc9825213f9250c72951ec4943b407ab9cb201
MD5 b7b35694a5e3e7db92ce419befa1b4d5
BLAKE2b-256 6fb1613915ba1f5bf90def462f644b282f4c5682d4b75ea14e37d5086d6a1ea9

See more details on using hashes here.

File details

Details for the file netbox_virtual_circuit_plugin-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: netbox_virtual_circuit_plugin-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for netbox_virtual_circuit_plugin-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e6efd75516c648b34f395af0c7b11325a18bf9f2fa078a34e6ef6e012263a04
MD5 7eee47c270b121fa7d1425d91e7c8333
BLAKE2b-256 aa73dfbaebe0c7df0638e5d321965cd583010ee09042b42e3b3b79cadad12f8a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page