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
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
RPKI ROAs
Compatibility
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_rpki-0.1.2.tar.gz.
File metadata
- Download URL: netbox_rpki-0.1.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bc16f8fc7f5409d50d7118accf8f70e80e9da1940829c27e85345ab2373e4e1
|
|
| MD5 |
dfbc0c2bc739e8a44eeb0b256a174ec0
|
|
| BLAKE2b-256 |
03fe26c2664d08a6e5a91235734b58e112a75c16703368f97675cfd1b408b4f0
|
Provenance
The following attestation bundles were made for netbox_rpki-0.1.2.tar.gz:
Publisher:
publish-pypi.yaml on menckend/netbox_rpki
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_rpki-0.1.2.tar.gz -
Subject digest:
7bc16f8fc7f5409d50d7118accf8f70e80e9da1940829c27e85345ab2373e4e1 - Sigstore transparency entry: 163067338
- Sigstore integration time:
-
Permalink:
menckend/netbox_rpki@851361208123e6ec72d4c22186b21b36cb0c3f1d -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/menckend
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@851361208123e6ec72d4c22186b21b36cb0c3f1d -
Trigger Event:
push
-
Statement type:
File details
Details for the file netbox_rpki-0.1.2-py3-none-any.whl.
File metadata
- Download URL: netbox_rpki-0.1.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d42e6f29edcf390323ecdc05890fcb03bb56d809f2f9998320800c9e975f4cb5
|
|
| MD5 |
95fc1be0b1c7cf38ff70a4e4f2045008
|
|
| BLAKE2b-256 |
3340bd097e7ae37a4dc8b5630b6baaa570fa0acc8b8e5f45c9c48c95c8b9bd4e
|
Provenance
The following attestation bundles were made for netbox_rpki-0.1.2-py3-none-any.whl:
Publisher:
publish-pypi.yaml on menckend/netbox_rpki
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_rpki-0.1.2-py3-none-any.whl -
Subject digest:
d42e6f29edcf390323ecdc05890fcb03bb56d809f2f9998320800c9e975f4cb5 - Sigstore transparency entry: 163067339
- Sigstore integration time:
-
Permalink:
menckend/netbox_rpki@851361208123e6ec72d4c22186b21b36cb0c3f1d -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/menckend
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@851361208123e6ec72d4c22186b21b36cb0c3f1d -
Trigger Event:
push
-
Statement type: