Skip to main content
rtrsub - RTR Substitution
=========================

*WARNING: NOT SUITABLE FOR PRODUCTION USE - PROOF OF CONCEPT*

A substitute for the RTR protocol: generate configuration blobs for your
routers instead of using the RTR protocol to interact with RPKI.

Templates are in jinja2 format. Thanks to the template approach, you can adopt
this tool to any platform or routing policy configuration style.

Review the [bird.j2](../master/template-examples/bird.j2) for an example.

The dictionary available to the template is called `data`. Layout of the
dictionary is as following:

```
{
'151.232.23.0/24': {
'origins': [59587]
},
'31.5.128.0/17': {
'origins': [6830]
},
'84.218.240.0/20': {
'origins': [2119]
}
... etc etc ...
}
```

```
hanna:rtrsub job$ rtrsub -h
usage: rtrsub [-h] [-c CACHE] --afi AFI [-t TEMPLATE] [-o OUTPUT] [-v]

optional arguments:
-h, --help show this help message and exit
-c CACHE Location of the RPKI Cache in JSON format
(default: http://localcert.ripe.net:8088/export.json)
--afi AFI [ ipv4 | ipv6 | mixed ]
-t TEMPLATE Template file (default: STDIN)
-o OUTPUT Output file (default: STDOUT)
-v Display rtrsub version
hanna:rtrsub job$
```

```
Vurt:rtrsub job$ python rtrsub/cli.py --afi ipv4 -t template-examples/bird.j2 -o example-output.conf
Vurt:rtrsub job$
```

or

```
Vurt:rtrsub job$ python rtrsub/cli.py --afi ipv4 < template-examples/bird.j2 > example-output.conf
Vurt:rtrsub job$
```

Copyright (c) 2016 Job Snijders <job@instituut.net>

Release files for rtrsub 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rtrsub 0.1.1
File Size Uploaded
rtrsub-0.1.1.tar.gz 4.5 kB Details

Release files / rtrsub-0.1.1.tar.gz

Download URL rtrsub-0.1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
58fff2fc7744cc41c63736a8aa99c58e98ada3622e5dd6df2de277d7ee9d3fe6
BLAKE2b-256 checksum
How to use checksums
179bcdcf2d4df26c17c34afbb5e95fa464c3a214b37089048c0580053b5e7263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.1.0

1 release file

1.0.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

This release

0.1.1 This release

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page