whitebox solutions with open source · stratum on whitebox switches stratum integration overview...

17
Whitebox Solutions with Open Source: ONF-Stratum Name: David Fermor Tiffany Chiang Krishna Kolakaluri Date: Dec 4 th 2018

Upload: others

Post on 03-Feb-2021

14 views

Category:

Documents


0 download

TRANSCRIPT

  • WhiteboxSolutionswithOpenSource:ONF-Stratum

    Name: David Fermor Tiffany Chiang Krishna Kolakaluri

    Date: Dec 4th 2018

  • DNINETWORKINGROADMAP

    ODM

    Disaggregated

    SDN

    Open Solutions

    + +

    ++….

    +

  • PLATFORMMANAGERARCHITECTURE

    BriefintroductiononthePlatformmanagerarchitectureforStratum

    TiffanyChiangKrishnaKolakaluri

  • SwitchAgentArchitecturalComponents

    Remote or Local Controller(s)

    P4 Runtime gNMI gNOI

    Switch Broker Interface

    TableManager

    Node/ChipManager

    ChassisManager

    ChipAbstractionManagersE.g.ACL,L2,L3,PacketI/O,

    Tunnel

    PlatformManager

    SwitchSDK PlatformAPI

    SwitchChipDrivers PlatformDrivers

    SwitchChips Peripherals

    Stratumsw

    itchagen

    t

    user

    kernel

    hardware

    Shared(HWagnostic)ChipSpecificPlatformSpecificChipandPlatformSpecific

  • PlatformManager(Phal)

    •  ManagesplatformperipheralssuchasSFP’s,Fans,TemperatureSensors,Powersupplies,etc.o  Phal:AbstractclasswhichdefinesaninterfaceforPlatformHardware

    AbstractionLayer(PHAL)o  LeverageOpenNetworkLinuxPlatform(ONLP)APIstoimplement

    platformfunctionalities•  CodeContributors:Google(initialcodecontribution),Delta,Inventec,and

    ONF

    Reference:https://github.com/opennetworkinglab/stratum/blob/master/stratum/docs/phal.md

  • PhalFunctions

  • PhalComponents

    ConfigMonitoringService

    Kernel(ONL)

    MiscHW

    VendorXSwitchInterface

    SwitchChip

    StratumSwitchAgent

    ONLP

    ONLPAPIs

    gNMIAPIs

    ChassisManager

    PlatformManager

    OnlPhal

    ONLPConfigurator

    PhalDB

    Adapter

    ONLPAPIWrapper

    SFPDataSource FanDataSource LEDDataSource…

    EventHandler

    - Phal interface function implementation

    -  Provides event notifications of ONLP device changes

    -  Handles only SFP present status today

    -  Each data source manages one or more system hardware attributes.

    -  Responsible for providing system and hardware information

    -  Implements the ONLP API calls

  • PhalComponents

    ConfigMonitoringService

    Kernel(ONL)

    MiscHW

    VendorXSwitchInterface

    SwitchChip

    StratumSwitchAgent

    ONLP

    ONLPAPIs

    gNMIAPIs

    ChassisManager

    PlatformManager

    OnlPhal

    ONLPConfigurator

    PhalDB

    Adapter

    ONLPAPIWrapper

    SFPDataSource FanDataSource LEDDataSource…

    EventHandler

    - A database describing the attributes of the System/HW

    -  Defines the outward facing interfaces to the Phal DB

    -  A class that inspects the system, creates the Data Sources/Attributes within the Phal DB.

  • PhalEventNotificationExample1. OnlPhalinitializesOnlpEventHandlerandregisters

    eventcallback.2. ChassisManagersubscribesSFPeventsbycalling

    RegisterTransceiverEventWriter()function.3. OnlpEventHandlerperiodicallypollsSFPpresence

    statusfromONLPthroughONLP API Wrapper.4. OnlpEventHandlerdetectsanewSFPwasjustplugged

    in.5. OnlpEventHandlerinvokesthecallbackfunction

    providedbyOnlPhal.6. OnlPhalnotifieseventsubscribersbywritingtheeventto

    theeventchannel.7. ChassisManagerhandlestheeventandretrievesSFP

    detailinformationbycallingGetFrontPanelPortInfo()function.

    ConfigMonitoringService

    HW (SFP)

    VendorXSwitchInterface

    OnlPhal

    ONLP

    ONLP API Wrapper

    ChassisManager

    OnlpEventHandler

    SFPDataSource

    Subscribe SFP Event

    Initialize and

    register callback

    Poll SFP

    status

    Invoke the

    callback

    Publish event

    SFP Plugged

    in

    Retrieve SFP Info

  • CODESTATUSANDCONTRIBUTIONSPhalInterface RegisterTransceiverEvent, UnregisterTransceiverEvent GetFrontPanelPortInfo, Phal initialization Implement remaining functions OnlPhal

    EventHandler

    DataSource

    PhalDB

    Adapter

    ONLP Configurator

    ONLP API Wrapper

    EventHandler SFP Event Polling and Notification Other event notifications

    SFP Data Source

    SFP Data Source FAN, LED, PSU, Thermal, etc. Data Sources

    Attribute DB and Attributes Add any missing features

    Wrapper Class GetSfpBitmap, GetSfpInfo, GetOidInfo, etc. Implement remaining ONLP APIs

    Google Code Base Current Implementation Future

  • OpportunityforCommunityContribution

    •  ImplementDataSourcestoaccessotherONLPdevices:fan,PSU,LED,andthermalsensor

    •  CompletePhalDB:theAttributeDatabase•  ImplementAdapter•  ImplementONLPConfigurator•  ImplementremainingAPIsinONLPAPIWrapper•  EnhanceBuildprocess:buildingStratumimagewithONLPlibraryfor

    variousplatforms

  • CodeContributions

  • WHITEBOXINTEGRATIONOurexperienceonintegratingStratumtoDeltaplatforms

  • StratumonWhiteboxSwitches

    StratumintegrationoverviewwithDeltaWhiteboxswitchAG9064v1:1.  DevelopedsupportforAG9064v1inONLPv2.2.  InstalledONLandbuilttheBarefootSDEandinstalledontheplatform.3.  BuiltStratumbinarywithBarefootintegratedcode.4.  TestedStratumwithONOScontrollerinafabrictopologyusingfabric.p4.

  • StratumDemo

    Pleasecometoourboothtoseethelivedemo!

  • Q&A

  • More product information, please visit www.agemasystems.com To learn more about Delta, please visit www.deltaww.com or scan the QR code

    English Traditional Chinese

    Simplified Chinese