Giter Club home page Giter Club logo

peeringdb's Introduction

PeeringDB

Review of the Peering DB API, aggregating the NET_ID links

requirements

  • Python 3.9.0

setup

  • pip3 install -r requirements.txt

run

  • ./init.py

respond to the prompts and watch it work:

╰─ python init.py
Please enter the desired PeeringDB NET_ID [not asn] to search: 22
List of Public Peerings

AMS-IX Chicago 944 10.0GBs
DE-CIX Dallas: DE-CIX Dallas Peering LAN 1249 10.0GBs
Equinix Ashburn 1 10.0GBs
Equinix Chicago 2 10.0GBs
Equinix Dallas 3 20.0GBs
Equinix New York 12 10.0GBs
Equinix San Jose 5 10.0GBs
LINX LON1: Main 18 40.0GBs
LINX NoVA 777 10.0GBs
LONAP: LON0 53 20.0GBs
NYIIX 14 10.0GBs


Aggreate Speed Per Peering Group:
defaultdict(None, {'AMS-IX Chicago': Counter({'speed': 10000}), 'DE-CIX Dallas: DE-CIX Dallas Peering LAN': Counter({'speed': 10000}), 'Equinix Ashburn': Counter({'speed': 10000}), 'Equinix Chicago': Counter({'speed': 10000}), 'Equinix Dallas': Counter({'speed': 20000}), 'Equinix New York': Counter({'speed': 10000}), 'Equinix San Jose': Counter({'speed': 10000}), 'LINX LON1: Main': Counter({'speed': 40000}), 'LINX NoVA': Counter({'speed': 10000}), 'LONAP: LON0': Counter({'speed': 20000}), 'NYIIX': Counter({'speed': 10000})})


Total Peerings: 11
Total Number of Unique Peerings: 11
Total Aggreate Speed for All Peerings: 160.0GBs

peeringdb's People

Contributors

nathanhitchcock avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.