From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4280AC433ED for ; Wed, 28 Apr 2021 16:54:36 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8EBAB6143C for ; Wed, 28 Apr 2021 16:54:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EBAB6143C Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FVl956j3lz2yyF for ; Thu, 29 Apr 2021 02:54:33 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=kRxiKQkV; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=google.com (client-ip=2a00:1450:4864:20::12d; helo=mail-lf1-x12d.google.com; envelope-from=edtanous@google.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=kRxiKQkV; dkim-atps=neutral Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FVl8g6cWGz2yjD for ; Thu, 29 Apr 2021 02:54:09 +1000 (AEST) Received: by mail-lf1-x12d.google.com with SMTP id x19so69960122lfa.2 for ; Wed, 28 Apr 2021 09:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Q0nvZC4y+TYCfPtpaO19py9c2WBqY4ByAYrMppMX1A=; b=kRxiKQkVWScuhtzTonB5YHV6oLniAerLWm4AKIYgGVTPzNuK7shuiZYxTw0n37f/S0 KpAAtuKH6PPdZx5Hp/1T09PcFJpQp+n4BDCIenfBoaJSAWhMr1Oq4uFFcHQDujs1hD9+ TNd7j3qUSuBNJusqt1g8dKuaVOn5AjlSe64rM7BzSqtGybXhxk/pvfN+iFUGN9AdUuBt V9JoYUbseIIJt2pYZB+56109JVllcU012mAsD+K6St+i6uTKcWONWbcuKicQg0haUkZU b8HTidpIq01XRYypz5v3GNuShgWpRcbr3kH/wWqgfkr4DV0u68Sy+adsHaganmEJTtm5 cw/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Q0nvZC4y+TYCfPtpaO19py9c2WBqY4ByAYrMppMX1A=; b=gVhbGNgSECbUO9fp3ym1dDykB9PhqflTSL0wFoSQLjs/Q90uBzbx3Ajha/dxyWZ/rs +bOIZzG0H/uxBPir4hCeO4qhqSuu+5P16d7gViDutEYuxaxTQVlM+M3wblDhYvWrYaja qV1Ykqsde2XHzGufRNFpVR1DJWpc4OooTh/kTRbtZXICsgb8nL076BVsbaSWBdJbxTBz pXob0/Woeyf+mUUoqK1J4G9wKyQIkulbs021sC+yAIY6pOKEAHVeIHAR+DQEBuNhcEQC bUbyNtNIlfwI7qCeCKbuz6QLWelIZsBCTCOhEu3NGC4vjE27u92w06DbehdRvWJk/iBa 6NFw== X-Gm-Message-State: AOAM53363o5ORYxwvptLKpyxqA58HNEzP9Z4fN3QSTDfVL9Kv4mQPllO v+Ss4TOCe4z6nqD/qB/cM/wyTn+YJY/wu5+jX5OlrQr4Wmg= X-Google-Smtp-Source: ABdhPJwpev5BEIZtZhhBChF8qpFcj4DoUsXs+L68R0OoVnUuIPmBaVODZ5Za0KkZ+/io9Eg8D3RUx+mt88YCzrujm8I= X-Received: by 2002:adf:dec7:: with SMTP id i7mr23137594wrn.407.1619628408879; Wed, 28 Apr 2021 09:46:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Tanous Date: Wed, 28 Apr 2021 09:46:37 -0700 Message-ID: Subject: Re: Move Inventory.Item.Board from Redfish Chassis to Redfish Assembly To: Gunnar Mills Content-Type: text/plain; charset="UTF-8" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "openbmc@lists.ozlabs.org" , Ed Tanous , Derick , "Bills, Jason M" Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On Wed, Apr 28, 2021 at 9:18 AM Gunnar Mills wrote: > > From some discussion on Discord a few weeks ago. A newer way of > thinking in Redfish is for a simple rack server to just have one Redfish > Chassis and things like boards modeled as Redfish Assemblies under the > Chassis.[1][2] Today we look for inventory item chassis and inventory > item board[3] to populate the Chassis collection.[4] I propose we move > the "Inventory.Item.Board" from Redfish Chassis to Redfish Assembly. > Does this break anyone? This will definitely break people, given that sensors can be attached to boards today, and (unless I'm mistaken) Assemblies don't have their own sensors. Is there a solution to the sensor issue baked into this proposal? > Does anyone have an inventory item board that > can't be a Redfish Assembly? > > Another option would be to only move certain inventory item boards to > Redfish Assembly, determined by a BoardType or additional more detailed > Inventory Item interfaces around boards. Unless this is needed though > would prefer the former for simplicity. I wouldn't be for this option for the same reasons you do. > > https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/39574 is adding > the Assembly schema. This would be a later commit moving > "Inventory.Item.Board". > > [1]https://redfish.dmtf.org/redfish/mockups/v1/1018 > [2]https://redfishforum.com/thread/325/fru-properties-redfish > > [3]https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Inventory/Item/Board.interface.yaml > > [4]https://github.com/openbmc/bmcweb/blob/8d1b46d7f8d39db2ba048f9e9007106ca3a28c9b/redfish-core/lib/chassis.hpp#L189 > > https://redfish.dmtf.org/schemas/v1/Chassis.v1_15_0.json > https://redfish.dmtf.org/schemas/v1/Assembly.v1_3_0.json > > Thanks, > Gunnar