NetBox plugin for BGP RPKI support.
Project description
NetBox RPKI Plugin
Netbox plugin for adding BGP RPKI elements.
- Free software: Apache-2.0
- Documentation
- Repository
- Python Package
Features
Implements data models and forms for Resource Public Key Infrastructure (RPKI) items. Models included are:
- Organization
- A customer/consumer of RIR services such as RPKI (and IP address and ASN allocations)
- "Child" relationship to IPAM RIR "parent" model
- Parent relationship to RPKI "Customer certificate" model (children)
- Fields
- org-id, name, ext_url, parent_rir (foreign key to IPAM ASN)
- Customer 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)
- Child relationship to a single RPKI Organization object (parent)
- Parent relationship to RPKI ROA objects (children)
- 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
- Child relationship to RPKI Customer certificate object (parent)
- Parent relationship to RPKI ROA Prefix object (children)
- 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
- Child relationship to RPKI ROA object (parent)
- Fields
- prefix (foreign key to IPAM Prefix model), max_length, roa_name (foreing key to rpki roa)
Screencaps
Compatibility
NetBox Version | Plugin Version |
---|---|
4.1 | 0.0.2 |
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},
}
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
Built Distribution
File details
Details for the file netbox_rpki-0.0.2.23.tar.gz
.
File metadata
- Download URL: netbox_rpki-0.0.2.23.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1752a2b8505c91b0d7bfb80652f72aed58169dc0f1cbe1e3d74f32cf5c30fe39 |
|
MD5 | f3ce2604c54068ca43aa0e2fd345df6f |
|
BLAKE2b-256 | 1087109b5407ca913f40c0a80dde76153196b6dc830c62f92320232eedf6f64f |
Provenance
The following attestation bundles were made for netbox_rpki-0.0.2.23.tar.gz
:
Publisher:
publish-pypi.yaml
on menckend/netbox_rpki
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
netbox_rpki-0.0.2.23.tar.gz
- Subject digest:
1752a2b8505c91b0d7bfb80652f72aed58169dc0f1cbe1e3d74f32cf5c30fe39
- Sigstore transparency entry: 147612992
- Sigstore integration time:
- Predicate type:
File details
Details for the file netbox_rpki-0.0.2.23-py3-none-any.whl
.
File metadata
- Download URL: netbox_rpki-0.0.2.23-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fc7dc6e6108863f8833d5fae11e10a4318b89969d924567d497619494bc7d58 |
|
MD5 | a3332db99bee8bb929f1722579e1eb19 |
|
BLAKE2b-256 | ffea06987eeed9d75d013b244519357d7c7240cdfbb6ddd983fdeb3e151663b5 |
Provenance
The following attestation bundles were made for netbox_rpki-0.0.2.23-py3-none-any.whl
:
Publisher:
publish-pypi.yaml
on menckend/netbox_rpki
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
netbox_rpki-0.0.2.23-py3-none-any.whl
- Subject digest:
0fc7dc6e6108863f8833d5fae11e10a4318b89969d924567d497619494bc7d58
- Sigstore transparency entry: 147612995
- Sigstore integration time:
- Predicate type: