-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irr-as-set: multiple output format + tests
- Loading branch information
Showing
18 changed files
with
339 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{# | ||
This is the template used to build the RPSL AS-SET | ||
object of the route server to update the relevant | ||
IRR DBs. | ||
See instructions at the following URL on how to | ||
edit and use it. | ||
https://arouteserver.readthedocs.io/en/latest/USAGE.html#irr-as-set | ||
#} | ||
as-set: AS-AS{{ cfg.rs_as }}-RS{{ ip_ver_suffix }} | ||
descr: AS-AS{{ cfg.rs_as }} route server {{ ip_ver_descr }} routes | ||
remarks: List of ASes and AS-SETs announced by {{ ip_ver_descr }} | ||
remarks: clients to the AS{{ cfg.rs_as }} route servers. | ||
tech-c: <to be set by the user> | ||
admin-c: <to be set by the user> | ||
mnt-by: <to be set by the user> | ||
{% for member in as_sets_rpsl_objects|sort %} | ||
members: {{ member }} | ||
{% endfor %} | ||
source: <to be set by the user> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{# | ||
This is the template used to build a YAML file | ||
that can be consumed by ripeinator | ||
(https://github.com/xens/ripeinator) to update | ||
AS-SET objects using the RIPE REST-API. | ||
See instructions at the following URL on how to | ||
edit and use it. | ||
https://arouteserver.readthedocs.io/en/latest/USAGE.html#irr-as-set | ||
#} | ||
AS-AS{{ cfg.rs_as }}-RS{{ ip_ver_suffix }}: | ||
- as-set: AS-AS{{ cfg.rs_as }}-RS{{ ip_ver_suffix }} | ||
- descr: AS-AS{{ cfg.rs_as }} route server {{ ip_ver_descr }} routes | ||
- remarks: List of ASes and AS-SETs announced by {{ ip_ver_descr }} | ||
- remarks: clients to the AS{{ cfg.rs_as }} route servers. | ||
- tech-c: <to be set by the user> | ||
- admin-c: <to be set by the user> | ||
- mnt-by: <to be set by the user> | ||
{% for member in as_sets_rpsl_objects|sort %} | ||
- members: {{ member }} | ||
{% endfor %} | ||
- source: <to be set by the user> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"asn_list": [] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"asn_list": [] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"prefix_list": [] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"prefix_list": [] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"prefix_list": [] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"prefix_list": [] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.