1
mirror of https://git.dn42.dev/wiki/wiki.git synced 2024-11-23 07:43:29 +01:00

services/Registry.md

This commit is contained in:
Kioubit 2024-10-17 18:36:25 +03:00
parent 13cc941553
commit d75c3ae37f
2 changed files with 6 additions and 5 deletions

View File

@ -37,6 +37,7 @@
* [Distributed Wiki](/services/Distributed-Wiki)
* [Certificate Authority](/services/Certificate-Authority)
* [Route Collector](/services/Route-Collector)
* [Registry](/services/Registry)
* Internal
* [Internal services](/internal/Internal-Services)

View File

@ -3,10 +3,10 @@ This process is used to remove inactive objects based on MRT data and the git co
The process is to be executed on a regular basis.
A maintainer is classified as "inactive" if the following conditions have been fulfilled:
1. All of the ASNs the maintainer has been directly or indirectly associated with (in any way and by following all references, whether through mnt-by, admin-c, tech-c, etc or through an ORG) have not been observed originating a prefix in the global routing table at any point within the last three years. (Determined by analyzing the daily MRT RIB dumps provided by the DN42 Global Route collector)
2. The maintainer has not edited any of the ASNs they are associated with in the registry within the last three years. (Determined by analyzing the git commit history)
1. All of the ASNs the maintainer has been directly or indirectly associated with (in any way and by following all references, whether through mnt-by, admin-c, tech-c, etc. or through an ORG) have not been observed originating a prefix in the global routing table at any point within the last three years. (Determined by analyzing the daily MRT RIB dumps provided by the DN42 Global Route collector.)
2. The maintainer has not edited any of the ASNs they are associated with in the registry within the last three years. (Determined by analyzing the git commit history.)
Maintainers that are not affiliated with an ASN (whether directly or indirectly or through other maintainers) are also considered inactive regarless of whether they fulfill the above conditions.
Maintainers that are not affiliated with an ASN (whether directly or indirectly or through other maintainers) are also considered inactive regardless of whether they fulfill the above conditions.
## Process
@ -14,10 +14,10 @@ Using **registry_wizard v0.3.10**:
1. Generate a list of active ASNs based on MRT data
`./registry_wizard /path/to/registry mrt_activity parse /path/to/mrt/files --cutoff-time <value> --list > active_list.txt`
2. Based on the list of active ASNs and through consultation of the registry, generate a list of inactive ASNs.
2. Based on the list of active ASNs and through referencing the registry git commit log, generate a list of inactive ASNs.
`./registry_wizard /path/to/registry mrt_activity active_asn_to_inactive --list_file /path/to/active_list.txt --cutoff-time <value> > inactive_list.txt`
3. Generate the removal commands to remove inactive objects based on the previous list
`./registry_wizard /path/to/registry remove aut-num --list_file /path/to/list.txt --enable_subgraph_check`
ASNs can be excluded from removal by removing them from the list produced in the second step.
Manual review of a few resources affiliated with "DN42-MNT" will be required as they cannot be removed in an automated way (For example resources associated with an inactive maintainer that used to host the DN42 anycast DNS will be affiliated with DN42-MNT and will require manual removal).
Manual review of a few resources affiliated with "DN42-MNT" will be required as they cannot be removed in an automated way (for example, resources associated with an inactive maintainer that used to host the DN42 anycast DNS will be affiliated with DN42-MNT and will require manual removal).