Registry / devops / nautobot-bgp-models

nautobot-bgp-models

JSON →
library3.1.1pypypi✓ verified 79d ago

Nautobot app that provides data models and views for modeling BGP configurations including Autonomous Systems, BGP Routing Instances, Peer Endpoints, Peerings, Address Families, and Communities. Current version 3.1.1 supports Python >=3.10,<3.15 and Nautobot 3.x. Released approximately every 2-3 months.

pip install nautobot-bgp-models
INSTALL
IMPORT
SIG · NAUTOBOT-BGP-MODEL
N
nautobot-bgp-models
devopspythonv3.1.1
Install
23.2s avg
Import
Disk
436MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 451.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 23.2s · import 0.000s · 455MB
436MB installed
● package 436MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NautobotAppConfig
from nautobot_bgp_models import NautobotAppConfig
from nautobot_bgp_models.jobs import BGPConfigToNetworkJob
NautobotBGPModelsConfig
from nautobot_bgp_models import NautobotBGPModelsConfig
config
from nautobot_bgp_models import config

Basic usage: import models and create an AutonomousSystem.

from nautobot_bgp_models.models import AutonomousSystem, Peering from nautobot.core.models.generics import PrimaryModel # Example: creating an Autonomous System object asn = AutonomousSystem.objects.create( asn=64500, description="Example AS", status_id=1 # Active status ) print(f"Created ASN: {asn}")
Debug
Known issues
breakingNautobot 3.x required for nautobot-bgp-models >= 3.0.0. Versions 2.x require Nautobot 2.x. Check compatibility before upgrading.
fix
Ensure Nautobot is upgraded to 3.0 or later before installing nautobot-bgp-models >= 3.0.0.
affects: >=3.0.0
deprecatedPython 3.9 support dropped in v2.4.0. Python 3.14 support added in v3.1.0.
fix
Use Python 3.10+ for v2.4.0 through v3.1.0. Python 3.14 supported from v3.1.0.
affects: >=2.4.0
gotchaPeerEndpoint validation requires a RoutingInstance when local_ip is assigned to an Interface (until v2.3.2 removed this requirement for non-interface IPs).
fix
Upgrade to v2.3.2+ or ensure RoutingInstance is set when local_ip is not on an interface.
affects: <2.3.2
gotchaThe app must be added to PLUGINS in your Nautobot configuration. Missing this will result in models not being available.
fix
Add 'nautobot_bgp_models' to PLUGINS list in nautobot_config.py.
affects: all
Upgrade
Version history
3.1.1latest on PyPI · released Apr 10, 2026
Audit
Dependencies
nautobotrequiredCore Nautobot framework required; app is a Nautobot plugin.
Agent activity
2 hits · last 30 days
node
2
Resources
nautobot-bgp-models — pip install nautobot-bgp-models · libregistry