Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-fontugne authored Feb 8, 2024
1 parent c840930 commit 29837f7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions iyp/crawlers/ihr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ Data inferred by IIJ's Internet Health Report, including:
- country's AS dependency
- prefixes' RPKI and IRR status

#### Country's AS dependency
The way to retrieve the country AS dependency values shown on IHR website (e.g. https://ihr.iijlab.net/ihr/en-us/countries/JP) is as follow.
For eyeball ranking nodes get `hege` and `weight` values from the corresponding RANK relationship and then:
- Population Total = 100*`hege`
- Population Direct = `weight`
- Population Indirect = 100*`hege`-`weight`

For AS ranking nodes get `hege` values from the corresponding RANK relationship and then:
- AS Total = 100*`hege`

The values are not exactly the same as the ones shown on the IHR website because the IHR website averages results over three days.



## Graph representation

### AS inter-dependency - `local_hegemony.py`
Expand Down

0 comments on commit 29837f7

Please sign in to comment.