services/Registry.md
... ...
@@ -3,20 +3,22 @@ This process is used to remove inactive objects based on MRT data and the git co
3 3
The process is to be executed on a regular basis (yearly).
4 4
5 5
A maintainer is classified as "inactive" if the following conditions have been fulfilled:
6
-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.)
6
+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 any 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.)
7 7
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.)
8 8
9 9
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.
10 10
11 11
## Process
12 12
13
-Using **registry_wizard (written for v0.3.11)**:
13
+Using **registry_wizard (written for v0.4.11)**:
14 14
15
-1. Generate a list of active ASNs based on MRT data:
15
+1. Download the MRT files from the Global Route Collector (GRC):
16
+`wget -r -np -nH --cut-dirs=1 -A "*.mrt.bz2" --reject "*:*" http://collector.dn42/`
17
+2. Generate a list of active ASNs based on MRT data:
16 18
`./registry_wizard /path/to/registry mrt_activity parse /path/to/mrt/files --cutoff-time <value> --list > active_list.txt`
17
-2. Based on the list of active ASNs and through referencing the registry git commit log, generate a list of inactive ASNs:
19
+3. Based on the list of active ASNs and through referencing the registry git commit log, generate a list of inactive ASNs:
18 20
`./registry_wizard /path/to/registry mrt_activity active_asn_to_inactive --list_file /path/to/active_list.txt --cutoff-time <value> > inactive_list.txt`
19
-3. Generate the removal commands to remove inactive objects based on the previous list:
21
+4. Generate the removal commands to remove inactive objects based on the previous list:
20 22
`./registry_wizard /path/to/registry remove aut-num --list_file /path/to/list.txt --enable_subgraph_check`
21 23
22 24
ASNs can be excluded from removal by removing them from the list produced in the second step.