Skip to main content

SDN Internet Router

Project description

SDN Internet Router (sir)

The SDN Internet Router, abbreviated SIR, is an agent that you can add to your router. The agent exposes information that your router can’t expose by itself like the BGP table, traffic per BGP prefix or traffic per ASN. This data is then provided both via a WebUI and an API.

The agent is vendor agnostic as it gathers data using both BGP and netflow/sflow/ipfix. This means it can be attached to any router or switch that supports those protocols.


The agent will expose a Web UI and an API that will allow you do things like:

  • Retrieve Top ASN’s based in bandwidth usage.
  • Retrieve Top prefixes based in bandwidth usage.
  • Simulate what would happen if you had top N prefixes only in your FIB instead of the full routing table.
  • Store and retrieve arbitrary data.
  • Get raw BGP from your router.
  • Get raw flow data from your router.
  • Look for all the prefixes that traverses or originates in a particular ASN.
  • Check all the prefixes in the router that allows you to reach certain prefixes or IP.

You can read the full list of features in the following [link](


This agent will give you some visibility about your network. You can use this data to better choose your network equipment, to do traffic engineering, capacity planning, peering decisions… anything you want. You can see some use cases in the following [link](

Here is a list of links where you can get tools and apps that leverages on SIR:

  • [pySIR]( - This is a python API that helps you interact with the API. It implements all the API calls that the API supports. It’s just a convenient of coding without taking care of the requests or having to handle errors.
  • [sir_apps]( - A collection of apps that takes advantage of SIR API to perform several operations.


You can find the documentation on [Read the Docs](

If you have any questions or you want to chat about SIR feel free to join the IRC channel #sdn_sir on freenode.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
SIR-0.17.tar.gz (80.3 kB) Copy SHA256 hash SHA256 Source None Aug 19, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page