Skip to main content

NetBox plugin for BGP RPKI support.

Project description

NetBox RPKI Plugin

Netbox plugin for adding BGP RPKI elements.

Features

Implements data models and forms for Resource Public Key Infrastructure (RPKI) items.

Models

Organization

  • A customer/consumer of Regional Internet Registrar (RIR) services such as RPKI (and IP address and ASN allocations)
  • Fields
    • org-id, name, ext_url, parent_rir (foreign key to IPAM ASN)

Resource Certificate

  • The X.509 certificate used to sign a customer's ROAs
  • May be either self-hosted/managed/published (managed by customer) or managed by the RIR (as part of a "managed" RPKI service)
  • Fields
    • name, issuer, subject, serial, valid_from, valid_to, auto_renews, public_key, private_key, publication_url, ca_repository, self_hosted, rpki_org (foreign key to rpki organization)

Route Origination Authorization (ROA)

  • A statement that a specific AS number is authorized to originate a specific set of IP prefices.
  • Each ROA has a child->parent relationship to a single RPKI ROA object
  • Fields
    • name, origin_as (foreign key to IPAM ASN model), valid_from, valid_to, auto_renews, signed_by (foreign key to rpki customer certificate)

ROA prefix

  • A specific prefix that is included in the scope of a specific ROA
  • Fields
    • prefix (foreign key to IPAM Prefix model), max_length, roa_name (foreing key to rpki roa)

Screencaps

RPKI Organizations/Certificates/Resources

image

image

image

image

RPKI ROAs

image

image

Compatibility

netbox-plugin.yaml

Installing

For adding to a NetBox Docker setup see the general instructions for using netbox-docker with plugins.

Install using pip:

pip install netbox_rpki

or by adding to your local_requirements.txt or plugin_requirements.txt (netbox-docker):

netbox_rpki

Enable the plugin in /opt/netbox/netbox/netbox/configuration.py, or if you use netbox-docker, your /configuration/plugins.py file :

PLUGINS = [
    'netbox_rpki'
]

PLUGINS_CONFIG = {
    "netbox_rpki": {'top_level_menu': False},
}

Run python -m manage.py migrate from the .../netbox/netbox/ directory in your netbox installation. (or include the manag.py migrate command in Dockerfile-Plugins if using netbox-docker.)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_rpki-0.1.3.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

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

netbox_rpki-0.1.3-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file netbox_rpki-0.1.3.tar.gz.

File metadata

  • Download URL: netbox_rpki-0.1.3.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for netbox_rpki-0.1.3.tar.gz
Algorithm Hash digest
SHA256 136804ec6c5d6e96e22cdf55b1b44e548a69d93d00a9b972f91f7ab120fe8719
MD5 65f4012d187938711083fef29f4cb428
BLAKE2b-256 6577e0ff7811b28b082fa019091f126fa50ccaf54bd5ea4cfe18632f677a6a57

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_rpki-0.1.3.tar.gz:

Publisher: publish-pypi.yaml on menckend/netbox_rpki

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_rpki-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: netbox_rpki-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for netbox_rpki-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d00b411a1cd8b00b6ed5d1e0d340c5f02e0c53f6ee92f142e1c2d612f2e9e68
MD5 3f31994e3e7f0d91efa0e8bbc8b0011f
BLAKE2b-256 5db3bae07e3b84a9b98018c11a5a3459c7c41c651703bc3df393e6ac46861fff

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_rpki-0.1.3-py3-none-any.whl:

Publisher: publish-pypi.yaml on menckend/netbox_rpki

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