《SNIA-SDC23-Leung-Redfish-Open-Source-Implementations.pdf》由会员分享,可在线阅读,更多相关《SNIA-SDC23-Leung-Redfish-Open-Source-Implementations.pdf(17页珍藏版)》请在三个皮匠报告上搜索。
1、1|2023 SNIA.All Rights Reserved.Virtual ConferenceSeptember 28-29,2021Survey of Redfish Open-source ImplementationsJohn Leung,Intel,Principal Engineer2|2023 SNIA.All Rights Reserved.DMTF and Redfish Service Implementations DMTF develops interfaces standards which expose manageability(e.g.Redfish)DMT
2、F policy is to be implementation neutral-thus encouraging innovation below the interface.(DMTF Alliance Partners may not have such a policy)Redfish service implementations exists as firmware and as hosted software agentsImplementationLanguageAuto-generated usingRepo ownerOpenBMCC+(firmware)Linux Fou
3、ndationSwordfish EmulatorPython(SW agent)mockup,CSDL schemaSNIARedfish Service FrameworkJavamockup,OpenAPI schemaPICMG/ASUPSMEC+(SW agent)OCPDevice ManagerGoLang(SW agent)OCP3|2023 SNIA.All Rights Reserved.OpenBMC ProjectA Linux Foundation project whose goal is to produce a customizable,open-source
4、firmware stack for Baseboard Management Controllers(BMCs).A BMC is a specialized controller embedded on the baseboard which may be operational when the rest of the baseboard is not(out-of-band)Features:Uses the Yocto Project as the underlying building and distribution generation Uses D-Bus as an int
5、er-process communication(IPC)Includes a web application for interacting with the firmware stack(WebUI)https:/openbmc.org(LF in 2018)https:/ SNIA.All Rights Reserved.Software Agent Implementation-Python Redfish Emulator(2016)Simple simulators:Mockup-Server(get)and Profile-Simulator(patch)Emulator env
6、isioned for rapidly prototyping of new interface behavior Includes code generator for emulator stubs Cloud Foundry deployable Swordfish Emulator(2018)SNIA extends modelling any resource Used to prototype managing NVMe-over-Fiber OpenFabrics Mgmt Frmwk(2021)Base from the framework is being developed
7、NVMe Redfish Service on Linux,RHEL(2023) SNIA.All Rights Reserved.Swordfish Service CapabilitiesRedfish Emulator Multiple methods of instantiation-hosted as standalone,in a cloud foundry,or as docker container Dynamic emulation of schema objects(circa 2016)Auto-generate Python code from mockupsSword
8、fish Emulator Dynamic emulation of all schema objects in all URI locations Auto-generate Python code from any valid Redfish conformant schema Supports basic auth,sessions,certificates Supports Redfish services:Account(Admin only),Event(WIP),Session Service targeted to pass SNIA conformance tests6|20
9、23 SNIA.All Rights Reserved.OpenFabrics Management Frameworkhttps:/www.openfabrics.org/openfabrics-management-framework7|2023 SNIA.All Rights Reserved.NVMe Redfish Service on Redhat RHEL LinuxStart with Swordfish emulator framework RedfishF/Swordfish structure:service,metadata Core services:account
10、service,session service,event service Stubs and template for all object types Persistent databaseAdded Startup/discovery Fills in stubs for relevant objects(removes all unneeded objects)Availability In the process of making public8|2023 SNIA.All Rights Reserved.Software Agent Implementation-JavaPICM
11、G is extending the Redfish model to support Industrial IoT PICMG Announces Significant Progress of IoT.X Family of Sensor Data Modeling and Abstraction SpecificationsRedfish Service Framework Functional Redfish Service generated from Redfish mockups and schema(OpenAPI)Static behavior is auto-generat
12、ed.Special behaviors like actions are stubbed out-when one implements the server,the actions can be coded Implemented by ASU students so that we could play with customizing the dynamic features for our new objects.https:/www.picmg.org/picmg-announces-significant-progress-of-iot-x-family-of-sensor-da
13、ta-modeling-and-abstraction-specifications/9|2023 SNIA.All Rights Reserved.Software Agent Implementation-C+OCP Rack Scale PSME(2019)1 Contribute by Intel(Pooled System Management Engine)OCP Device Manager PSME(2021)2 Contributed by Edgecore Networks(2021)-along with Device Manager Celestica fixes bu
14、ild and fixes issues with baseline profile conformance(2022)Celestica contributed a design spec for a platform which would fulfill the manageability requirements via the software ECS 1Gb Enterprise Switch 10|2023 SNIA.All Rights Reserved.PSME Redfish Service PSME executes on ONL(Open Network Linux)1
15、 Compose of PSME Server and Chassis Agent The PSME Server supports the Redfish interface and model Requests information from and invokes actions on resources The PSME Server supports the Event Service Redfish Clients may launch an event listener and subscribe for events to be sent to that event list
16、ener Supports subscriptions for the ResourceAdd,ResourceRemove,and Alert type eventsRedfish Client PSME ServerONLP API Chassis Agent(Provider)ONL Redfish API Redfish Service(PSME)1https:/ SNIA.All Rights Reserved.Chassis AgentGathers peripheral information about thermal/fan/PSU/port transceiver stat
17、istics through ONLP API1Sends to PSME ServerWhile gathering peripheral information,agent will check for posted event,and send these events to the PSME Server.Redfish Client PSME ServerONLP API Chassis Agent(Provider)ONL Redfish API Redfish Service(PSME)1Open Network Linux Platform APIs provide a com
18、mon,consistent abstraction interface for accessing important platform assets such as SFPs,PSUs,Fans,Thermals,LEDs,and ONIE storage devices.12|2023 SNIA.All Rights Reserved.Software Agent Implementation-GoLangOCP Device Manager EdgeCore Networks(2021)Contribution to OCP-bundled with Edge-cores PSME B
19、uild of source was problematic Intel(2022-2023)Cleaned up the build Added Redfish northbound interfaceLinux Foundation ODIM(Open Distributed Infrastructure Mgmt)https:/ SNIA.All Rights Reserved.Device Manager initial contributionDeveloped to manage platforms hosting Redfish Service(s)conformant to t
20、he OCP Baseline profileExposed a command line interfacePlatform ManagerManagement ControllerDevice ManagerOutput Bus(gRPC)BMCRedfishServiceBMCSwitchRedfishServiceSW Stack/NOSRedfishServiceServer/StorageRedfishServiceOther DevicesCommand Line Interface14|2023 SNIA.All Rights Reserved.Adding Redfish i
21、nterface for Device Manager OCP rack manager API(OpenRMC)required a northbound Redfish interface ODIM had a Redfish interface implementation for managing a distributed infrastructure(GoLang)Account,Event,Task,and Session base services Aggregation(group operations)and Update services(firmware)Plugin
22、architecture for connection methodsRedfish InterfacesRedfish ServicesEventAccountTaskSessionAggregationUpdateConnectionMethodsDevice ManagerIPMINETConfManaged nodeODIMOCP OpenRMC API15|2023 SNIA.All Rights Reserved.Next steps for Device Manager Conform to OpenRMC v1.0,then v1.11 Conform to Redfish C
23、onformance Suite Service-Validator Protocol-Validator Support future revisions of OpenRMCrack manager interface be specified in the OpenRMC-DM subproject2v1.0v1.0v1.1(WIP)v1.1 Reset chassis Update firmware Reset system Update firmware in rack Group operations Security flow to verify managed node Upd
24、ate RMC firmware Reset rack1Contributed OpenRMC specifications-https:/www.opencompute.org/contributions?query=openrmc%20usage2OpenRMC-DM subproject-https:/www.opencompute.org/projects/openrmc-dmOpenRMC ProfileBaseline Profile16|2023 SNIA.All Rights Reserved.Summary17|2023 SNIA.All Rights Reserved.Please take a moment to rate this session.Your feedback is important to us.