/routingpolicy

Automatic Routing Policy Generation for 48 IX

Primary LanguagePythonMIT LicenseMIT


ROUTING POLICY


This repository contains code used for automatically generating routing policy for 48 IX.

How it Works

The Route Policy Server (RPS) performs the following for each 48 IX participant:

  • Generates IPv4 & IPv6 prefix-lists based on NTT's IRR database
  • Generates per-participant BGP standard, extended, and large community lists
  • Generates per-participant route-maps to implement the 48 IX Routing Policy
  • Generates per-participant BGP configs
    • Pulls the info_prefixes4 and info_prefixes6 attributes via the PeeringDB REST API, and uses them as the maximum-prefix value for the corresponding participant (if none is set, values of 200 and 20 are set for IPv4 & IPv6, respectively)
  • Combines policies for all peers, sends the net policy to 48 IX Route Servers via Route Server Agent (RSA)

Contributing

48 IX Participants may feel free to submit pull requests under the following circumstances:

  • A verified bug is being fixed
  • A feature is being added which maintains the 48 IX Connection Agreement and benefits all participants
  • Performance is improved

If you would like to contribute, please email the NOC to discuss code quality standards and development processes.