Managing Network Devices with Redfish & YANG

Similar documents
Introduction and Overview of Redfish

Introduction and Overview of Redfish. John Leung DMTF - VP of Alliances Intel Principal Engineer

HTTP GET

John Leung Intel Corporation - Data Center Group - Principal Engineer OCP Incubation Committee Representative to the HW Management Project

YANG Device Profile for Redfish Network Management. Joe White, David Black, John Leung Distributed Management Task Force

A Modern Interface for Managing Compute, Storage and Network 12 th International Conference on Network and Service Management - October 2016

Introduction to Redfish. Jeff Hilland President, DMTF DT Manageability, Hewlett Packard Enterprise December, 2017

DMTF Technologies and Alliances Update Hemal Shah, DMTF Senior VP of Technology & TC Chair Broadcom Limited John Leung, DMTF VP of Alliances Intel

Introduction to Swordfish: Scalable Storage Management

M a n a g i n g C l o u d H a r d w a r e. Alfie Lew, Inspur John Leung, Intel Sai Dasari, Facebook

Scalable Platform Management Forum. Forum Status 10/30/2014

O C P : O C P P r o f i l e f o r S e r v e r P l a t f o r m s

Tutorial. A New Standard for IP Based Drive Management. Mark Carlson SNIA Technical Council Co-Chair

Redfish Ecosystem For Storage

Gone Fishing with Swordfish: Extending Data Center Control to the World of Storage

Swordfish Deep-Dive: Scalable Storage Management

Dip your Toe in the Water: A Swordfish Introduction

Automated Out-of-Band management with Ansible and Redfish

Redfish Technical Overview. December, 2017

Overview of Swordfish: Scalable Storage Management

Overview of DMTF Information and Data Models ETSI NFV m-sdo Workshop, January 13, 2015 Presenter: Hemal Shah, Broadcom Corporation VP of Technology

The information in this presentation represents a Work In Progress publication of the DMTF. DMTF WIP Document - DSP-IS0005_0.2a

Redfish & RDE For Storage Jeff Hilland President, DMTF Distinguished Technologist Manageability, Hewlett Packard Enterprise

Emulation of Automated Control of Large Data Centers At Scale Using Containers

DMTF Standards for OCP Platforms Management

Redfish Release History. DMTF Scalable Platforms Management Forum

End-to-End Interoperable Management: The Standards Requirement for Modern IT

OCP Baseline Hardware Management (Redfish Profile) v1.0.0

SwordfIshJS - A SwordfIsh JS Library Vinod Eswaraprasad, Sowmya B Wipro Technologies

DMTF Management Initiatives for Academics

Intel Rack Scale Design PSME REST

Using Ansible and Redfish to automate systems management. Jose Delarosa May 9, 2018

Looking for a Swiss knife for storage ecosystem management? A comparative study of SMI-S, Redfish and Swordfish

Redfish 2017 Release 3. DMTF Scalable Platforms Management Forum December 2017

Redfish API Reference Guide v1.0

Redfish Release History. DMTF Scalable Platforms Management Forum December 2017

Redfish Resource and Schema Guide

Intel. Rack Scale Design: A Deeper Perspective on Software Manageability for the Open Compute Project Community. Mohan J. Kumar Intel Fellow

Redfish Release History. DMTF Redfish Forum April 2018

Looking for a Swiss knife for storage ecosystem management? A comparative study of SMI-S, Redfish and Swordfish

Intel Rack Scale Design Rack Management Module (RMM)

idrac 8/7 v Redfish API Reference Guide

Redfish: The next generation of server management automation

Redfish Composability White Paper

Redfish White Paper. Document Identifier: DSP2044. Date: Version: Document Class: Informative. Document Status: Published

Redfish White Paper. Document Identifier: DSP2044. Date: Version: Document Class: Informative. Document Status: Published

Fishing with Open Source Tools for SNIA Swordfish Don Deel NetApp, Inc.

idrac9 with Lifecycle Controller Version Redfish API Guide

PLDM for Redfish Device Enablement Deep Dive v1.1. Bill Scherer, Hewlett Packard Enterprise 10 April 2018

idrac9 with Lifecycle Controller Version Redfish API Guide

idrac8/7 with Lifecycle Controller Version Redfish API Reference Guide

Redfish Device Enablement Proposals Work-In-Progress

Redfish APIs on Next Generation Cray Hardware CUG 2018 Steven J. Martin, Cray Inc.

Intel Virtual Gateway. Take Control of Your Data Center

Intel Rack Scale Design Pod Manager

Dell EMC DSS 9000 RackManager. User Guide

Redfish OpenAPI Support (Work-In-Progress) Mike Raineri (Dell), Redfish Forum Co-Chair June 2018

Cloud Standards: Vincent Franceschini CTO Intelligent Data Fabrics, Hitachi Data Systems Chairman Emeritus, SNIA

idrac9 with Lifecycle Controller Version Redfish API Guide

Redfish API Schema Readme

Intel Rack Scale Design (Intel RSD) Conformance and Software Reference Kit

Redfish Tasks. Jeff Hilland HPE

Oslo 30 October 2018

Firmware in the datacenter: Goodbye PXE and IPMI. Welcome HTTP Boot and Redfish!

EVERYTHING YOU WANTED TO KNOW ABOUT STORAGE, BUT WERE TOO PROUD TO ASK Part Cyan Storage Management. September 28, :00 am PT

Redfish Interoperability Profiles

Intel Rack Scale Design Conformance and Software Reference Kit

Telecommunications and Networks Work Group Charter (TNWG) July24, 2010 Version 2.0 Final

Redfish and OData White Paper

Open Software Defined Data Center. DMTF Incubator Whitepaper

Redfish Interoperability Profiles. DMTF Scalable Platforms Management Forum DSP2072 v1.0 (December 2017)

Platform Management Component Intercommunications (PMCI) Architecture. White Paper

Optimizing the Usability of YANG Models for Network Automation

Intel Rack Scale Architecture Integration with Orchestration solutions

BMC Development. Home Grown. Outsourced. Open. Control of features. Fast bug fixes. Control of security updates. Cheaper to develop

The Transformation of Media & Broadcast Video Production to a Professional Media Network

Provisioning Intel Rack Scale Design Bare Metal Resources in the OpenStack Environment

Enabling the Autonomic Data Center with a Smart Bare-Metal Server Platform

Transforming Management for Modern Scale-Out Infrastructure

Nathan Tracy OIF Technical Committee Chair ECOC 2016 Market Focus September 20, 2016

Cloud Computing. Theory and Practice. 22 March 2012 Phil Mustaphi, Colin Ashford, Larkland Morley

Intel Rack Scale Design (Intel RSD) Pooled System Management Engine (PSME)

WBEM Web-based Enterprise Management

Jeff Autor Distinguished Technologist, Hewlett Packard Enterprise Co-Chair, Scalable Platforms Management Forum, DMTF

Redfish Release History DMTF Redfish Forum August 2018

<Insert Picture Here> Managing Oracle Exadata Database Machine with Oracle Enterprise Manager 11g

UEFI Manageability and REST Services

Lifecycle Controller Version Remote Services Quick Start Guide

THE INSIDE-OUT APPROACH. Enabling an Open, Scalable Data Center IoT

Redfish 2018 Release 3. DMTF Redfish Forum December 2018

Lenovo XClarity Administrator Quick Start Guide Configuring Servers Using Lenovo XClarity Administrator

OpenDCRE Next-Generation Data Center Management. Andrew Cencini & Steven White VP Engineering / Chief Architect Vapor IO

Side-by-side comparison of the features of Dell EMC idrac9 and idrac8

Redfish ACD (Advanced Communication Devices) Jeff Hilland HPE

NVM Express TM Management Interface

Redfish Resource and Schema Guide

Discovery in the WBEM Architecture (Infrastructure Discovery)

COMPLETE AGENT-FREE MANAGEMENT OF POWEREDGE SERVERS

Mohan J. Kumar Intel Fellow Intel Corporation

UEFI What is it? Spring 2017 UEFI Seminar and Plugfest March 27-31, 2017 Presented by Dong Wei (ARM) presented by. Updated

Transcription:

Managing Network Devices with Redfish & YANG 13 th International Conference on Network and Service Management Nov 2017 Matsuki Yoshino DMTF Board member Hitachi Ltd John Leung DMTF - VP of Alliances Intel Corporation - Principal Engineer

Disclaimer The information in this presentation represents a snapshot of work in progress within the DMTF. This information is subject to change. The Standard Specifications remain the normative reference for all information. For additional information, see the Distributed Management Task Force (DMTF) Web site.

What is the Distributed Management Task Force? An Industry Standards Organization Developing manageability standards for 25 years (est. 1992) Membership includes 65 companies and industry organizations With active chapters in China and Japan Allied with 14 standard development organizations (alliance partners) 80+ universities and research organizations (academic alliance members) Focused on manageability standards For the management of on-platform, off-platform, network services and datacenter infrastructure Recognized nationally (ANSI/US) and internationally (ISO/IEC)

DMTF Alliance Partners (15) American Society of Heating, Refrigerating and Air Conditioning Engineers (ASHRAE) China Communications Standards Association (CCSA) China Electronics Standardization Institute (CESI) Cloud Standards Customer Council (OMG-CSCC) ETSI-Network Function Virtualization (ETSI-NFV) The Green Grid (TGG) Open Compute Project (OCP) Open Data Center Alliance (ODCA) Open Data Center Committee (ODCC) Open Grid Forum (OGF) The Open Group (TOG) OpenStack Foundation Storage Networking Industry Association (SNIA) TeleManagement Forum (TMF) Unified Extensible Firmware Interface Forum (UEFI) 11/24/2017 5

Activities of Japan Regional Marketing Task Force Presentations Present DMTF technologies at exhibitions / international conferences DMTF booth at Japan IT week autumn 2014 DMTF presentation at Japan IT week autumn 2014 Document translation Translate informational documents that could be useful for marketing Release Japanese documents on the DMTF Japanese web site Japanese caption for YouTube Redfish school series video Japanese web site http://dmtf.org/jp 6

Management Domains Infrastructure Management Services Management Off-platform Manageability (out-of-band and in-band) On-platform Manageability 11/24/2017 Admin technology CIM, Redfish SMBIOS, MCTP CIM = Common Information Model SMBIOS = System Mgmt BIOS MCTP = Mgmt Component Transport Protocol 7

Redfish an scalable interface for the Datacenter A RESTful interface For off-platform management of compute, storage, network and DCIM Leverages existing Internet standards and tool chains Usable by professions and amateurs Resource models for management Common hardware platform mgmt tasks Eg. Power, thermal, cooling, inventory, reboot, update firmware, telemetry, etc. Extensible to other management domains and for proprietary differentiation Compute Storage Network YANG Aug 2015 Aug 2016 Internet Draft 2017 On-Platform DCIM* (facilities) *DCIM = Data Center Infrastructure Management BIOS

Redfish: Why a New Interface? Market shifting to scale-out solutions Datacenters have a sea of simple servers and multi-node servers Customers exhausting the functionality of current manageability interfaces Customers asked for a modern interface A single simple interface for managing all datacenter platforms and devices An interface which uses cloud/web protocols, structures, security models and tool chains Schemas to allow introspect of interface and programmatic enablement HTTP Python code Output HTTP GET https://<ip_addr>/redfish/v1/systems/cs_1 rawdata = urllib.urlopen( https://<ip_addr>/redfish/v1/systems/cs_1 jsondata = json.loads(rawdata) print( jsondata[ SerialNumber ] ) 1A87CA442K

The Redfish Standard Redfish includes An interface definition Model schema Redfish interface (RESTful) HTTP/HTTPS - protocol Client HTTP/S describes OData CSDL 2 JSON format of content JSON convert Redfish models schema Schema format for JSON DMTF develops the models for platforms and compute/servers Redfish Service describes JSON schema Other organization may create models for their management domain 1 OData is an OASIS Standard 2 CSDL = Common Schema Definition Language

Redfish Capabilities Chassis Information Identification and asset information State and status Temperature sensors and fans Power supply, power consumption and thresholds Set power thresholds Compute Manageability Reboot and power cycle server Configure BIOS settings Change boot order and device Update BIOS and firmware Memory and NVDIMMs Local network interface Local storage State and status Management Infrastructure View / configure BMC network settings Manage local BMC user accounts Configure serial console access (e.g. SSH) Discovery Physical hierarchy (rack/chassis/server/node) Compute service (servers) Management hierarchy (rack mgr, tray mgr, BMC) Security Use HTTPS Map roles to privileges Access and Notification Subscribe to published events Inspect Logs Access via host interface Composition Specific composition Enumerated composition

Compute and Platform Model (DMTF-Redfish) HTTP GET /redfish/v1/systems/cs_1/processors/2 Service Root /redfish/v1 Root Collection Resource /redfish/v1/systems Single Resource Tasks Collection of Systems "Logical view"./systems/<id> Computer System Processors Memory Disks Compute Sessions Computer Systems NICs Accounts /redfish/v1/chassis Events Registries Collection of Chassis "Physical view"./chassis/<id> Chassis Power Thermal Schemas /redfish/v1/managers Managed By Platform HW Mgmt Collection of Managers "Mgmt hierarchy"./managers/<id> BMC LogService NW protocol

JSON response (example) Redfish is hyper-text Cannot presume a resource hierarchy Schema contains the enumerations, descriptions Simple properties Complex properties Subordinate resources Associated resources Actions { } "@odata.context": "/redfish/v1/$metadata#computersystem.computersystem", "@odata.id": "/redfish/v1/systems/cs_1", "Id": "CS_1", "Name": "My Computer System", "SystemType": "Physical", "AssetTag": "free form asset tag", "Manufacturer": "Manufacturer Name", "Model": "Model Name", "SerialNumber": "2M220100SL", "PartNumber": 78899498CLF-7", "Description": "Description of server", "UUID": "00000000-0000-0000-0000-000000000000", "HostName": "web-srv344", "IndicatorLED": "Off", "PowerState": "On", "BiosVersion": "P79 v1.00 (09/20/2013)", "Status": { "State": "Enabled", "Health": "OK", "HealthRollup": "OK" }, "Boot": {... }, "ProcessorSummary": {... }, "MemorySummary": {... }, "TrustedModules": [ {... } ], "Processors": { "@odata.id": "/redfish/v1/systems/cs_1/processors" }, "Memory": { "@odata.id": "/redfish/v1/systems/cs_1/memory" }, "EthernetInterfaces": { "@odata.id": "/redfish/v1/systems/cs_1/ethernetinterfaces" }, "SimpleStorage": { "@odata.id": "/redfish/v1/systems/cs_1/simplestorage }, "LogServices": { "@odata.id": "/redfish/v1/systems/cs_1/logservices" }, "SecureBoot": { "@odata.id": "/redfish/v1/systems/cs_1/secureboot" }, "Bios": { "@odata.id": "/redfish/v1/systems/cs_1/bios" }, "PCIeDevices": [ {"@odata.id": "/redfish/v1/chassis/cs_1/pciedevices/nic"} ], HTTP GET "PCIeFunctions": [ {"@odata.id": "/redfish/v1/chassis/cs_1/pciedevices/nic/functions/1" }], "Links": { "Chassis": [ { "@odata.id": "/redfish/v1/chassis/ch_1" } ], "ManagedBy": [ { "@odata.id": "/redfish/v1/managers/mgr_1" } ], "Endpoints": [ { "@odata.id": "/redfish/v1/fabrics/pcie/endpoints/hostrootcomplex1" } ], }, "Actions": { "#ComputerSystem.Reset": { "target": "/redfish/v1/systems/cs_1/actions/computersystem.reset", "@Redfish.ActionInfo": "/redfish/v1/systems/cs_1/resetactioninfo" } } 13

Storage Model (Swordfish) Reuses chassis model Adds StorageServices & StorageSystems 14

Network Model status of manageability Complex and disparate toolsets, protocols and systems Resource intensive and time consuming Proprietary vendor implementations Poor portability of skillsets across compute, storage and networking Lack of interoperability with rest of infrastructure

Proposal: Redfish models based on YANG models YANG is a model driven approach to network management Basis for general network industry manageability IETF YANG is the standard for network management modeling IEEE Adopted YANG as modeling language Other consortiums and bodies have also adopted YANG for network models (e.g. OpenConfig, OpenDaylight, etc.) Large body of existing work Extensive coverage from multiple SDOs Many vendor proprietary YANG models Many man-years of work by industry experts across all networking feature sets DMTF wants to leverage the networking industry's expertise

Why use Redfish for Managing Network? Completes the converged infrastructure management API story Switches have platform components common to servers and storage Rapid expansion of open Network Operating System (NOS) solutions NFV will need common manageability for compute and networking Orchestrator systems can use a common interface for inventory and control Allows partnerships with networking standard orgs Specify a prescriptive baseline of YANG models for network switch Reduce overlap and clarify manageability domains

Network Switch Model Convert from YANG models Phase 1 - convert a small set of YANG models to Redfish models Proves the process, and validates the converter dmtf.org/sites/default/files/standards/documents/dsp-is0004_0.9a.zip Phase 2 additional YANG models Ethernet Switch (Phase 1) RFC7223 (Interfaces) RFC7224 (IANA Interface types) RFC7277 (IPv4 and IPv6) RFC7317 (system, system_state, platform, clock, ntp) Convert Implement Redfish Client YANG YANG-to- Redfish converter OData CSDL Redfish Service Ethernet Switch

The NetworkDevice Resource The attachment point for Redfish models mapped from the YANG models Service Root /redfish/v1/networkdevices/sw_15 LogService Managers ietf_interfaces ietf_system YANG Chassis SWCh_5 SW_Mgr Network Devices SW_15 system system_state Interfaces_state ntp dns Collection Interfaces Interfaces Singleton interface interface ipv4 ipv6 statistics ipv4 ipv6

Converting YANG to Redfish YANG outline (RFC7223) +--rw interfaces +--rw interface* [name] +--rw name string +--rw description? string +--rw type identityref +--rw enabled? boolean +--rw link-up-down-trap-enable? enumeration +--ro interfaces-state +--ro interface* [name] +--ro name string +--ro type identityref +--ro admin-status enumeration Redfish resource (GET response, JSON) { } "Id": "ethernet1", "Name": "ethernet1", "Description": "Ethernet interface on slot 1", "type": "iana_if_type:ethernetcsmacd", "enabled": "true", "link_up_down_trap_enable": "true" YANG model RFC7223 <CODE BEGINS> module ietf-interfaces {... } <CODE ENDS> Translate (mapping) YANG-to-Redfish Mapping Spec./ietf_interfaces.xml./ietf_interfaces.interfacesCollection.xml./ietf_interfaces.interfaces.xml CSDL describes JSON payloads "@odata.context": " ", "@odata.type": "#interface_v1_0_0.interfaces", "@odata.id": "/redfish/v1/networkdevices/switch1/ietf_interfaces/interfaces/ethernet1" Redfish CSDL

Presentations, Internet Drafts & models Presentation to IETF 98 to Routing Working Group (RTGWG) and Operations and Management Area WG (OPSAWG) https://datatracker.ietf.org/meeting/98/materials/slides-98-rtgwg-yang-device-profile-forredfish-network-management-draft-wbl-rtgwg-baseline-switch-model-draft-wbl-rtgwgyang-ci-profile-bkgd Internet-draft Redfish for Networking https://tools.ietf.org/html/draft-wbl-rtgwg-yang-ci-profile-bkgd-00 Internet-draft Baseline Ethernet Switch https://tools.ietf.org/html/draft-wbl-rtgwg-baseline-switch-model-00 YANG-to-Redfish Mapping Specification (WIP) http://www.dmtf.org/sites/default/files/standards/documents/dsp0271_0.5.6.pdf Redfish Ethernet Switch model proposal (WIP, Phase 1) http://www.dmtf.org/sites/default/files/standards/documents/dsp- IS0004_0.9a.zip (mockup & CSDL) WIP = work-in-progress 21

Redfish Tool chains http://github/dmtf 1. Tools to enable Redfish modeling 2. Tools to enable Redfish clients Ability for early client development DMTF extending charter to allow contribution to external repositories Redfish files DMTF open source Working Service Tests Service Conformance Service Validator Client Redfish Lib Redfish Tool Mockup Creator YANG (RFC) YANG to Redfish Converter JSON (mockup) Mockup Server (GET) Profile Simulator Interface Emulator (PATCH, POST) Redfish Service Implementation CSDL Validator OData CSDL CSDL to JSON-schema Converter jsonschema Document Generator Redfish Documentation

Public Redfish Collateral Youtube videos Open source tools Community Forum Developer's Hub Specs, presentation Redfish Forum (SPMF) youtube.com/dmtforg github.com/dmtf redfishforum.com redfish.dmtf.org dmtf.org/standards/redfish dmtf.org/standards/spmf

Summary With Redfish models of YANG, the data center can Manage network devices with the same interface managing compute, storage and facilities equipment, as the infrastructure converges Leverage modern tool chains to enable manageability If you are interested Use the Redfish interface for out-of-band manageability in your research Provide feedback on issues your discover Contribute to and influence Redfish advances 24

Thank you 25