PROPOSAL: OCP COMMON LINUX SWITCH DISTRIBUTION. Rob Sherwood and Mansour Karam OCP November 2013

Similar documents
OPEN NETWORK LINUX UPDATES. Rob Sherwood CTO, Big Switch Networks Open Compute Engineering Workshop: May, 2014

Floodlight and the OpenSDN Stack

Open Network Linux A Network Operating System (NOS) for OCP

TUTORIAL: WHITE BOX/BARE METAL SWITCHES. Rob Sherwood CTO, Big Switch Networks Open Network User s Group: May, 2014

Open Network Linux. A Path to an Open Source Network OS. Rob Sherwood Big Switch Networks CTO

BARE METAL SOFTWARE DEFINED NETWORKS, AND OPEN SOURCE. Rob Sherwood Big Switch Networks, CTO BANV, May 2014

SDN AND BARE METAL SWITCHES ARE LIKE PEANUT BUTTER AND JELLY: TWO GOOD THINGS THAT ARE GREAT TOGETHER!

Open Network Install Environment

Open Network Install Environment (ONIE) LinuxCon North America 2015

Embedded Linux Platform Developer

Linux Embedded devices with PicoDebian Martin Noha

OPENFLOW, SDN, OPEN SOURCE AND BARE METAL SWITCHES. Guido Appenzeller (Not representing Anyone)

CS197U: A Hands on Introduction to Unix

EXPLORING LINUX KERNEL: THE EASY WAY!

An Embedded Wireless Mini-Server with Database Support

OpenWRT - embedded Linux for wireless routers

Republic Polytechnic School of Information and Communications Technology C226 Operating System Concepts. Module Curriculum

Overview. Open source toolchains. Buildroot features. Development process

Dynamic Kernel Module Support. Matt Domsch, Software Architect Dell, Inc.

Operating Systems (Linux)

Version 1.0. File System. Network Settings

HTTP-FUSE PS3 Linux: an internet boot framework with kboot

Five standard procedures for building the android system. Figure1. Procedures for building android embedded systems

Example of Standard API

Eddy Integrated Development Environment, LemonIDE for Embedded Software System Development

Better Integration of Systems Management Hardware with Linux

Emerging Software Defined Networking & Open APIs Ecosystem

BeagleBone Black: Installing Operating Systems

Customizing Boot Media for Linux* Direct Boot

NI Real-Time Hypervisor for Windows

Preparing Your Computer for LFS101x. July 11, 2014 A Linux Foundation Training Publication

Accessing I2C devices with Digi Embedded Linux 5.2 example on Digi Connect ME 9210

Migrating to ESXi: How To

Acronis Backup & Recovery 10 Server for Linux. Quick Start Guide

The shortest path to cellular communications: Cellular Development Platform

UEFI PXE Boot Performance Analysis

Solution Guide Parallels Virtualization for Linux

Operating System Overview. Otto J. Anshus

Open Ethernet. April

KVM: A Hypervisor for All Seasons. Avi Kivity avi@qumranet.com

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

Ing. Peter Paul Witta.

Of Penguins and Wildebeest. Anthony Rodgers VA7IRL

W H I T E P A P E R. Best Practices for Building Virtual Appliances

Using AES 256 bit Encryption

LSN 10 Linux Overview

Citrix XenServer 5.6 OpenSource Xen 2.6 on RHEL 5 OpenSource Xen 3.2 on Debian 5.0(Lenny)

Desktop Linux Distribution. { Showdown } Jeff Osier-Mixon

Encrypted File Systems. Don Porter CSE 506

UEFI on Dell BizClient Platforms

Embedded Linux development with Buildroot training 3-day session

IOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center

FAME Operating Systems

How To Install Eucalyptus (Cont'D) On A Cloud) On An Ubuntu Or Linux (Contd) Or A Windows 7 (Cont') (Cont'T) (Bsd) (Dll) (Amd)

Arista Software Define Cloud Networking

Implementation of Business Linux Routers

Lesson 06: Basics of Software Development (W02D2

DTC & DTC-Xen Running a VPS business with Xen Thomas Goirand, GPLHost CEO. Xen Summit Asia at Intel 2009

Cloud^H^H^H^H^H Virtualization Technology. Andrew Jones May 2011

Qt on Raspberry Pi. Jeff Tranter Integrated Computer Solutions (ICS) Qt Developer Days

Xen Cloud Platform Update

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

A Comparison of VMware and {Virtual Server}

MBC-SAM9G35 Core Board Overview

Lecture 25 Symbian OS

Using Chroot to Bring Linux Applications to Android

Building Embedded Systems

HW (Fat001) TPM. Figure 1. Computing Node

Embedded Linux development training 4 days session

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Dual-boot Windows 10 alongside Windows 8

Creating a More Secure Device with Windows Embedded Compact 7. Douglas Boling Boling Consulting Inc.

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Stuart Yeates. c University of Oxford This document is licensed under OSS Watch

LSI SAS inside 60% of servers. 21 million LSI SAS & MegaRAID solutions shipped over last 3 years. 9 out of 10 top server vendors use MegaRAID

Intel DPDK Boosts Server Appliance Performance White Paper

Sistemi ad agenti Principi di programmazione di sistema

Providing a jump start to EFI application development and a uniform pre-boot environment

Wave Relay System and General Project Details

Development of complex KNX Devices

BROADCOM SDN SOLUTIONS OF-DPA (OPENFLOW DATA PLANE ABSTRACTION) SOFTWARE

Network connectivity controllers

Matrix 510/520 User Guide

APPLICATION NOTE. RTD Linux Support Overview. SWM Rev C

Xen and the linux console. why xencons={tty,ttys,xvc} will go away. Gerd Hoffmann

Hyper-V vs ESX at the datacenter

Dell Networking ARGOS 24/03/2016. Nicolas Roughol. Networking Sales Engineer. Tel : nicolas_roughol@dell.com

Feature Comparison: idrac 7 & 8 and idrac8 License Chart

Hardware Based Virtualization Technologies. Elsie Wahlig Platform Software Architect

Scaling the S in SDN at Azure. Albert Greenberg Distinguished Engineer & Director of Engineering Microsoft Azure Networking

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

Track One Building a connected home automation device with the Digi ConnectCore Wi-i.MX51 using LinuxLink

OpenEmbedded for medical devices

Version 3.7 Technical Whitepaper

Transcription:

PROPOSAL: OCP COMMON LINUX SWITCH DISTRIBUTION Rob Sherwood and Mansour Karam OCP November 2013

OUTLINE Background: A Linux distribukon is more than lots of packages SupporKng new plarorms can be a PITA Proposal: OCP should host its own Linux distribukon for switches DistribuKon == exiskng distro + added switch bits and config Users and developers benefit from common repository Benefits for users Benefits for developers Going forward: Big Switch willing to contribute code/scripts to bootstrap 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 2

BACKGROUND DISTRIBUTION Linux proper is just the kernel DistribuQon is everything else e.g., RedHat, Ubuntu, Slackware, Gentoo, etc. Libc, compiler, user space binaries ConfiguraKon, file system layout, startup scripts Package management, full- featured boot loader A lot of work goes into making a good distribuqon Default configurakons, daemons Q/A (lots and lots) Lots of possibiliqes for niche distribuqons e.g., embedded environments differ from server Bootloaders vs. full fledged systems 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 3

BACKGROUND PLATFORM SUPPORT SomeKmes we forget, but the boot process is horrible Server and switch plauorms have many idiosyncrasies Litany of lible devices we never think of USB, GPIO, flash, PCI, serial, RTC, EEPROM, DMA, Crypto chips MPIC - MulKple programmable interrupt controller all at plarorm- specific memory locakons x86- based standards shield us from low- level plauorm details Vendor must write a BIOS for each plarorm, e.g., ACPI standard OperaKng systems (e.g., Linux) discovery devices via BIOS But switch plauorm ecosystem is not as evolved Includes switch specific devices, like I2C, GPIOs, etc. Manual map/inventory of hardware à memory address via Device Tree Source (DTS) files 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 4

BACKGROUND RISK TOWER OF BABEL STP + MLAG Fedora Linux Kernel Device Tree #1 Initrd #1 OCP PlaRorm V1 OpenFlow daemon Std. Debian Linux Kernel Device Tree #2 Initrd #2 OCP PlaRorm V2 Quagga + hooks BusyBox Linux Kernel Device Tree #3 Initrd #3 White box vendor Stack #1 Stack #2 Stack #3 Switch Agent(s) PlaRorm Independent PlaRorm Dependent Hardware Layer 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 5

PROPOSAL: PICTORIAL VERSION STP + MLAG OpenFlow daemon Quagga + hooks Keep differenkakon in switch agents OCP PlaRorm V1 Standard Debian, tools, etc. Stock Linux Kernel + any patches Unified Device Tree Repository Unified Driver Repository OCP PlaRorm V2 White box vendor Come together around the common bits Maximize hardware abstrackon 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 6

PROPOSAL OCP SWITCH DISTRIBUTION OCP should make its own Linux- based switch distribuqon Low effort - repackage well- known distro, e.g., Debian Tuned for switches, but with full- featured tools CollecKon of the right DTS files for common switch plarorms CollecKon of the right kernel modules Running the things you want and nothing else Yes: NTP, syslog, SNMP server, No (by default): NetworkManager, avahi, etc. All switch vendors have effecqvely do this already There is lible (no?) Intellectual Property in the distribukon Vendors differenkate themselves by daemons that run on top of the distribukon 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 7

PERSPECTIVE RELATIVE TO ONIE Different tools for different use cases but maximize code reuse ~160 MB ~3MB ~16MB ONIE First boot Loader Normal Full- featured Boot Loader (w/busybox) Main Network OS Image (.swi) (w/real binaries) Github.com/ onie/onie Proposed OCP DistribuKon Common kernel and DTS files?? 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 8

BENEFITS FOR USERS Help foster an OSS ecosystem sandbox Easy OS binary to download and play with Vendor agnosqc common Linux plauorm Deploy your non- switch tools on any box - e.g., Chef/puppet/custom Manage the switch like any other server Central repository for DTS files Less frickon to support new plarorms Easy hardware validakon Possible app store for vendor- specific add- ons Deploy and swap daemons with `apt- get` Probably a long way off, but skll intereskng 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 9

BENEFITS FOR VENDORS Secondary importance, but why we re proposing this All vendors already have their own distribuqons Informal check: most are based off of Debian Wheezy No significant space for differenkakon, might as well standardize Reduce engineering effort Reduce the effort to support new plauorms Open up the ecosystem good for everyone Central repository for hardware vendors to test their drivers Normalize hardware compaqbility lists 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 10

GOING FORWARD CONTRIBUTION FROM BSN A developer workflow as much as a distribukon Contribute enqre Linux distribuqon to open source/ocp Based off of Debian Wheezy Pre- made binaries for x86 and PowerPC Tuned for embedded switches Non- BusyBox à real tools for main OS, BusyBox for loader Extra drivers for flash, GPIOs, I2C, ethernet drivers, etc. A custom kernel patches, e.g., enhanced I2C support Linux drivers and DTS files for many common plauorms Quanta LB8D, LB9, LB9A, LY2, LY2R, LY5 Accton 5652 More coming Full- featured boot loader ONIE is just for first Qme install 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 11

SWITCHLIGHT ARCHITECTURE Legend 3 rd Party Open 3 rd Party Closed BSN Open SSH Switch Light Lib C Controller Fan Control NTP Syslog SNMP CLI DistribuKon decoupled from OpenFlow Agent ASIC Driver ASIC SDK OpenFlow Agent Loxi Indigo Vswitch Driver Vswitch Kernel BSN Binary Linux Kernel ASIC x86 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 12

REFERENCES More on Device Trees hbp://www.devicetree.org/main_page hbp://www.celinux.org/elc08_presentakons/glikely- - device- tree.pdf x86 Boot Process and BIOS Standards ONIE hbp://duartes.org/gustavo/blog/post/how- computers- boot- up hbp://www.acpi.info/presentakons/acpi_overview.pdf Code: github.com/onie/onie Docs: hbp://onie.github.io/onie 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 13

CONCLUSION Linux distribuqons for switches are a fair bit of work Drivers, device trees, configurakon Full- featured loader, real tools Lots of opportunity and benefit to share code Good for users and vendors Reduces effort/frickon for community hardware support Vendor agnoskc base for sandbox Open up the ecosystem BSN is offering to seed the project with parts of the SwitchLight distribuqon (Safely decoupled from the OpenFlow daemon) 2013 BIG SWITCH NETWORKS, INC. WWW.BIGSWITCH.COM 14