Matt Griswold, 20C/United IX Greg Hankins, Alcatel-Lucent IX (PTT) Fórum 9 - São Paulo, Brazil IX (PTT) Fórum 9 2015/12/08
Agenda PeeringDB Introduction Organization Update PDB 1.0 vs. PDB 2.0 Automation Examples
PeeringDB Overview PeeringDB is the de facto reference database for peering information on the Internet Contains location information and contacts for ◦ Networks ◦ Exchange points ◦ Facilities A PeeringDB entry for your network makes it easy for people to find you, and helps you establish peering Required for peering with certain networks, for example ◦ Apple ◦ Facebook ◦ Microsoft
Statistics Networks 8,293 Exchange Points 617 Facilities 1,863 Exchange Point Presences 25,508 Facility Presences 14,444 Several new registrations from Brazil each week!
Network Example
Exchange Point Example
Access to PeeringDB PDB 1.0 is available at www.peeringdb.com ◦ Current production version PDB 2.0 is in beta at beta.peeringdb.com ◦ New version with many new features
Registration If you aren’t registered in PeeringDB, you can register at www.peeringdb.com/registration/register.php We use basic verification for new accounts and require current whois information ◦ Please update your whois information ◦ Please register from a company email address Many new registrations from Brazil have mismatched information ◦ Email address != company email address ◦ Email address != whois email address ◦ Company name != whois company name
Mailing Lists and Contacts PeeringDB Announce: lists.peeringdb.com/cgi- bin/mailman/listinfo/pdb-announce PeeringDB Governance: lists.peeringdb.com/cgi- bin/mailman/listinfo/pdb-gov PeeringDB Technical: lists.peeringdb.com/cgi- bin/mailman/listinfo/pdb-tech PeeringDB User Discuss: lists.peeringdb.com/cgi- bin/mailman/listinfo/user-discuss Support questions: support@peeringdb.com Administrative questions: admin@peeringdb.com Sponsorship info: sponsorship@peeringdb.com
Agenda PeeringDB Introduction Organization Update PDB 1.0 vs. PDB 2.0 Automation Examples
Organization Until now, PeeringDB has been run by an informal group of admins using donated infrastructure PeeringDB needs funds for ◦ Operations ◦ Software development ◦ Feature requests and enhancements Many organizations have offered donations to support PeeringDB Unable to handle finances or contracts
Elections Voting for the PeeringDB initial Board of Directors just finished on November 30th, 2015 Initial Board of Directors ◦ Patrick W. Gilmore (Markley Group) - Vice President ◦ Matt Griswold (20C) ◦ Aaron Hughes (6connect) - President ◦ Arnold Nipper (DE-CIX) ◦ Job Snijders (NTT) First board meeting takes place today Forming United States 501(c)(6) nonprofit corporation All governance info is available at gov.peeringdb.com
Agenda PeeringDB Introduction Organization Update PDB 1.0 vs. PDB 2.0 Automation Examples
PDB 1.0 Old, auto-generated code, unmaintainable Schema issues ◦ One network per user, requires multiple registrations ◦ No data validation, lots of typos MySQL is the only "API" ◦ Insecure, doesn't scale Exposes contact information to potential spammers
PDB 2.0 New, clean, shiny Python Completely redesigned schema RESTful API All data is cleaned and validated Contact info has permissions ◦ Guest login won’t see contact details
PDB 2.0 Everything is permissioned and editable ◦ Data centers and IXPs can update their own info ◦ Multiple networks can be associated with one login ◦ Manage users and permissions Documented APIs at docs.peeringdb.com/api_specs Many new features planned after release Beta version is live now at beta.peeringdb.com
Agenda PeeringDB Introduction Organization Update PDB 1.0 vs. PDB 2.0 Automation Examples
API Specs All operations are supported ◦ Read ◦ Write ◦ Create Each data type has an associated tag ◦ net ◦ org ◦ ix
API Specs To list all networks: curl -X GET https://<username>:<password>@beta. peeringdb.com/api/net To view a specific network: curl -X GET https://<username>:<password>@beta. peeringdb.com/api/net/20
Python Library Python seems to be the go-to language for network people Very early in life cycle ◦ Expect more tests and features in the near future More languages and libraries will show up ◦ PHP will probably be next Available at github.com/peeringdb/peeringdb-py
Python Library Advantages ◦ Local (not dependent on servers being up, etc.) ◦ Custom indexes can be built ◦ Custom fields can be added ◦ Database engine can be chosen (MySQL, Postgres, SQLite) To install: pip install peeringdb
Python Library T o configure a local database: peeringdb configure T o keep in sync after configuration: peeringdb sync
Python Library T o output YAML: peeringdb get net20 T o output JSON: peeringdb get -O json net20
Django PeeringDB PeeringDB models and local synchronization for Django Available at github.com/peeringdb/django- peeringdb Easy to integrate in a common web framework Multiple database options Used by peeringdb-py to sync data
United IX Example Customer signs up Backend system queries PeeringDB Auto populates IXP Manager data ◦ NOC info ◦ Max prefix ◦ Very easy to generate peering router configuratoin
Companies Using PDB 2.0 Apple ◦ Couchbase database sync ◦ Not available to the public Netflix ◦ Redis database sync ◦ Available at github.com/netflix/peeringdb-py
Questions?
Recommend
More recommend