OPEN NETWORK LINUX UPDATES Rob Sherwood CTO, Big Switch Networks Open Compute Engineering Workshop: May, 2014
OUTLINE Mo3va3on and Code Updates: Website New hardware support Going forward X86 Support: Interface Masters and new Accton Box Three forwarding agents : OpenFlow, OF- DPA, ORC Ques3ons 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 2
MOTIVATION
ISN T NETWORKING ALREADY OPEN? Faster Throughput = More commercial value = More Proprietary All Hardware Specs Public X86 Servers ß Open Binary SDK for Packet Forwarding Closed OS, Open Control Plane APIs NPU, FPGA, SoC DC 1U ToRs, Spines Closed OS, Open APIs for Policy, Stats Mul[- chassis Routers 10 Gb/s 100 Gb/s 1 Tb/s 10 Tb/s Aggregate Throughput à 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 4
ISN T NETWORKING ALREADY OPEN? Faster Throughput = More commercial value = More Proprietary ß Open All Hardware Specs Public Binary SDK for Packet Forwarding Closed OS, Open Control Plane APIs X86 Servers NPU, FPGA, SoC DC 1U ToRs, Spines DC 1U ToRs, Spines This project Closed OS, Open APIs for Policy, Stats Mul[- chassis Routers 10 Gb/s 100 Gb/s 1 Tb/s 10 Tb/s Aggregate Throughput à 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 5
MOTIVATION: TOWER OF BABEL IS BAD STP + MLAG Fedora Linux Kernel Device Tree #1 Initrd #1 OCP Platform V1 OpenFlow daemon Std. Debian Linux Kernel Device Tree #2 Initrd #2 OCP Platform V2 Quagga + hooks BusyBox Linux Kernel Device Tree #3 Initrd #3 White box vendor Stack #1 Stack #2 Stack #3 Switch Agent(s) Platform Independent Platform Dependent Hardware Layer 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 6
PROPOSAL: COMMON LINUX PLATFORM STP + MLAG OCP Platform V1 OpenFlow daemon Standard packages, tools, etc. Stock Linux Kernel + any patches Unified Device Tree Repository Unified Driver Repository OCP Platform V2 Quagga + hooks White box vendor Keep differentiation in switch agents Come together around the common bits Maximize hardware abstraction 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 7
OPEN SOURCE: OPEN NETWORK LINUX A Linux distribu[on for bare metal switches Open- sourced commercial code, build scripts, drivers from Switch Light Part of Open Compute Project (OCP) Project goals: Improve percep[on/de- risk bare metal Crowd source larger Switch Light HCL Distribu3on dynamically rebuilt on Emdebian PlaWorm driver API/abstrac3on: SFPs, P/S, Fans, LED, temp sensors Switch hardware has more variety then servers needs new drivers/tools Device tree source files for plaworms that need it (PPC Yes, x86 No) 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 8
UPDATES
WEBSITE IS UP Documenta[on Install Build Troubleshoo[ng FAQ Mailing list Pointers to video tutorials S[ll a work in progress Two posi[ons open! 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 10
ONL SUPPORTED HARDWARE New: Five Accton/ Edge- Core and One DNI/Agema boxes Next target will be x86- based plaeorms 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 11
EXAMPLE HARDWARE PURCHASING Streamlined Procurement Transparent Pricing 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 12
FORWARDING AGENTS
WHAT IS A FORWARDING AGENT? An applica3on that ini3alizes/manages the packet processing hardware (e.g., ASIC) Currently, ONL ships with no forwarding agent! Hard: all code that touches hardware is under NDA Solu[on: top half/bofom half driver model Releasing soon (details next slides) OpenFlow forwarding agent (based on Indigo2) OF- DPA forwarding agent library build your own Open Route Cache (ORC) toy router forwarding agent 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 14
OPENFLOW FORWARDING AGENT Legend Open Network Linux BSN Open BSN Closed 3 rd Party Closed Source ZTN Loader SSH LibC on Debian Wheezy Base Distribu[on ONL Linux Kernel Fan Control NTP Syslog SNMP I2C Big Network Controllers GPIO Device Trees ASIC SDK ASIC 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 15 CLI Indigo Indigo/ASIC Driver OpenFlow Agent Loxi Switch Light is our Indigo OpenFlow Agent running on Open Network Linux on x86 or ASIC- based hardware.
DIY Forwarding Agent: OF- DPA Indigo driver OF- DPA SDK Chip open closed OF- DPA API 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 16
OPEN ROUTE CACHE ( ORC ) FORWARDING AGENT Turn ONL into a toy router First: If you re working on something similar let s collaborate Monitors Linux soeware rou3ng table updates Via RTNetlink very common Copies new interfaces, routes, neighbor entries into hardware Result: hardware accelerated rou[ng Compa3ble with: Quagga, Xorp, Bird, etc. Manual (`route add `)/programma[c (via netlink) Code quality: Not Produc3on! 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 17
CONCLUSION
CONCLUSIONS ONL is an ONIE- compa3ble NOS for OCP hardware Increasing number of boxes supported Lots of progress: website, new plaworm New forwarding agents coming soon OpenFlow, OF- DPA, and ORC OFTest Appliance maybe coming soon Feedback welcome but patches are preferred Addi3onal Ques3ons? 2014 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 19