Skip to main content

Nautobot BGP Models Plugin

Project description

Nautobot BGP Models Plugin

A plugin for Nautobot extending the core models with BGP-specific models.

New models enable modeling and management of BGP peerings, whether or not the peer device is present in Nautobot.

The initial development of this plugin was sponsored by Riot Games, Inc.

Data Models

Navigate to Data Models for detailed descriptions on additional data models provided in the plugin.

Use Cases

To make the start with the plugin easier, we provide two example use cases for common OS platforms: Cisco and Juniper.

Cisco Configuration Modeling and Rendering

Navigate to Cisco Example Use Case for detailed instructions how to consume BGP Models plugin on Cisco devices.

Juniper Configuration Modeling and Rendering

Navigate to Juniper Example Use Case for detailed instructions how to consume BGP Models plugin on Juniper devices.

Installation

The plugin is available as a Python package in PyPI and can be installed with pip:

pip install nautobot-bgp-models

The plugin is compatible with Nautobot 1.3 and higher

To ensure Nautobot BGP Models Plugin is automatically re-installed during future upgrades, create a file named local_requirements.txt (if not already existing) in the Nautobot root directory (alongside requirements.txt) and list the nautobot-bgp-models package:

# echo nautobot-bgp-models >> local_requirements.txt

Once installed, the plugin needs to be enabled in your nautobot_config.py

# In your configuration.py
PLUGINS = ["nautobot_bgp_models"]
PLUGINS_CONFIG = {
    "nautobot_bgp_models": {
        "default_statuses": {
            "AutonomousSystem": ["active", "available", "planned"],
            "Peering": ["active", "decommissioned", "deprovisioning", "offline", "planned", "provisioning"],
        }
    }
}

In the default_statuses section, you can define a list of default statuses to make available to AutonomousSystem and/or Peering. The lists must be composed of valid slugs of existing Status objects.

Screenshots

Menu

Autonomous System

Peering List

Peering

Peer Endpoint

Peer Group

Contributing

Pull requests are welcomed and automatically built and tested against multiple version of Python and multiple version of Nautobot through TravisCI.

The project is packaged with a light development environment based on docker-compose to help with the local development of the project and to run the tests within TravisCI.

The project is following Network to Code software development guideline and is leveraging:

  • Black, Pylint, Bandit and pydocstyle for Python linting and formatting.
  • Django unit test to ensure the plugin is working properly.

Questions

For any questions or comments, please check the FAQ first and feel free to swing by the Network to Code slack channel (channel #networktocode). Sign up here

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

nautobot-bgp-models-0.7.0b1.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

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

nautobot_bgp_models-0.7.0b1-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

Details for the file nautobot-bgp-models-0.7.0b1.tar.gz.

File metadata

  • Download URL: nautobot-bgp-models-0.7.0b1.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for nautobot-bgp-models-0.7.0b1.tar.gz
Algorithm Hash digest
SHA256 2d7ed3439d2851fb6072bc139429bef32b6f74e4323a8201c4b6e7ed68a1c2ed
MD5 1e7a4c6e82c31ba77126a0868e551d78
BLAKE2b-256 27a665d9aba26a7d6705ce3824e038df9550761bfff2dff2d2aff509f69b1a3c

See more details on using hashes here.

File details

Details for the file nautobot_bgp_models-0.7.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for nautobot_bgp_models-0.7.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 7acd6ed7f2442c4c9ef1c2b9a2ed2be82a35cd679dc1824e63cd0e12e34d1acc
MD5 30f549b546116e9a8629253e54bd037b
BLAKE2b-256 1a03fc7ebc0cbfbefcbe4abe4020be6144e047b2119fc36baa9a69e9a1de7669

See more details on using hashes here.

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