Skip to content

Commit 1efb064

Browse files
author
menckend
committed
housekeeping
1 parent 09039ec commit 1efb064

File tree

2 files changed

+30
-27
lines changed

2 files changed

+30
-27
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"makefile.configureOnOpen": true
3+
}

README.md

+27-27
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,31 @@ Netbox plugin for adding BGP RPKI elements.
99

1010
## Features
1111

12-
Implements data models and forms for Resource Public Key Infrastructure (RPKI) items. Models included are:
13-
14-
* Organization
15-
* A customer/consumer of RIR services such as RPKI (and IP address and ASN allocations)
16-
* "Child" relationship to IPAM RIR "parent" model
17-
* Parent relationship to RPKI "Customer certificate" model (children)
18-
* Fields
19-
* org-id, name, ext_url, parent_rir (foreign key to IPAM ASN)
20-
* Resource Certificate
21-
* The X.509 certificate used to sign a customer's ROAs
22-
* May be either self-hosted/managed/published (managed by customer) or managed by the RIR (as part of a "managed" RPKI service)
23-
* Child relationship to a single RPKI Organization object (parent)
24-
* Parent relationship to RPKI ROA objects (children)
25-
* Fields
26-
* 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)
27-
* Route Origination Authorization (ROA)
28-
* A statement that a specific AS number is authorized to originate a specific set of IP prefices.
29-
* Each ROA has a child->parent relationship to a single RPKI ROA object
30-
* Child relationship to RPKI Customer certificate object (parent)
31-
* Parent relationship to RPKI ROA Prefix object (children)
32-
* Fields
33-
* name, origin_as (foreign key to IPAM ASN model), valid_from, valid_to, auto_renews, signed_by (foreign key to rpki customer certificate)
34-
* ROA prefix
35-
* A specific prefix that is included in the scope of a specific ROA
36-
* Child relationship to RPKI ROA object (parent)
37-
* Fields
38-
* prefix (foreign key to IPAM Prefix model), max_length, roa_name (foreing key to rpki roa)
12+
Implements data models and forms for Resource Public Key Infrastructure (RPKI) items.
13+
14+
### Models
15+
16+
#### Organization
17+
- A customer/consumer of Regional Internet Registrar (RIR) services such as RPKI (and IP address and ASN allocations)
18+
- Fields
19+
- org-id, name, ext_url, parent_rir (foreign key to IPAM ASN)
20+
21+
#### Resource Certificate
22+
- The X.509 certificate used to sign a customer's ROAs
23+
- May be either self-hosted/managed/published (managed by customer) or managed by the RIR (as part of a "managed" RPKI service)
24+
- Fields
25+
- 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)
26+
27+
#### Route Origination Authorization (ROA)
28+
- A statement that a specific AS number is authorized to originate a specific set of IP prefices.
29+
- Each ROA has a child->parent relationship to a single RPKI ROA object
30+
- Fields
31+
- name, origin_as (foreign key to IPAM ASN model), valid_from, valid_to, auto_renews, signed_by (foreign key to rpki customer certificate)
32+
33+
#### ROA prefix
34+
- A specific prefix that is included in the scope of a specific ROA
35+
- Fields
36+
- prefix (foreign key to IPAM Prefix model), max_length, roa_name (foreing key to rpki roa)
3937

4038

4139
## Screencaps
@@ -93,3 +91,5 @@ PLUGINS_CONFIG = {
9391
"netbox_rpki": {'top_level_menu': False},
9492
}
9593
```
94+
95+
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.)

0 commit comments

Comments
 (0)