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=-0.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 3D5B2C433E0 for ; Sat, 13 Feb 2021 18:19:17 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 890D764E38 for ; Sat, 13 Feb 2021 18:19:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 890D764E38 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=tanous.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DdJXy4qNnzDwlL for ; Sun, 14 Feb 2021 05:19:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=tanous.net (client-ip=2607:f8b0:4864:20::b32; helo=mail-yb1-xb32.google.com; envelope-from=ed@tanous.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=tanous-net.20150623.gappssmtp.com header.i=@tanous-net.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=eoLalCQ0; dkim-atps=neutral Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (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 4DdJWZ2kPjzDvVF for ; Sun, 14 Feb 2021 05:17:58 +1100 (AEDT) Received: by mail-yb1-xb32.google.com with SMTP id f4so2921778ybk.11 for ; Sat, 13 Feb 2021 10:17:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tanous-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ohZ+lpR+ljq3QbM6P79xrpXgq0DbTkZ/uvcGgG307mY=; b=eoLalCQ02oYTqpPRkDZgUgYUMlLnp9ORIxAWPNg8zbyhgQ7S6yrsnWw5ap2+Q7Tq/f 6Xgcb5y29aa6rGjPawBiXPXrHgX3AuC5kx2d2uR2jO5mr+gJ0jcRKHeVRyvj4FQzEh94 WHdRgEsDsjHVtx3M+3QjoRPwE57ZIgzzp1+WhuBydF7qZO+WDIaskvGc+tAJxRDxmrwo 4rQsBPHYhOpNRnkhLd+sPYifw/VQFFFVQ1DGo80QbkfrwlXFDe/sFjarwxSQXMTbPz7W OjAF+QUuzmjTd5MKeCzzNz13cYiVx0PmQwG1T7SmaoI3CVe/hGcX8J7SJ0kytNhWyswI r9jg== 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=ohZ+lpR+ljq3QbM6P79xrpXgq0DbTkZ/uvcGgG307mY=; b=IQu32iddrH+XIM4pgtSZ01WBnrzZ4dnyEIqylY8naCGwhclyJ+j5pExAtkaZaxiqYF setyC5ThAFq2Ha0gWkM4FlLbycFtvANUzTsU0MFGDVOCw4FFMFcfKTF2eSO6bLhcBbK6 eSA3jaXHpvqEA6TTe5zno6VjUK2C2QjDUhEE2XvjkJKZJ0ZtrtO270xIl8YqOm03Sh4h YPGVUB+ahYTyMXJ211JnyBK66abkK/uQYrtTFPAU8jF//j1MA0xhiKGmAqoYBlz6XN/2 YBQM1KhyJNyylUtwtSh3ES4M9Am0ka42LDME6n1TGG2TbGV/JG1LMwzbWNcis8lChjJd Xpow== X-Gm-Message-State: AOAM531sdGnkeKEyClnZtmai73HfD05r5zrGv9cssgaoHMr7lUwM3nSj 7i7uZ2JMmkQqOZKbcA/9dGtfbcx3LEZlFdgBfPuMaA== X-Google-Smtp-Source: ABdhPJzcNTr77yePM5HlBkm45cP231IR5y+a/2LdPHV3o7lZUO2U4wddUATFsFw3Ns05cZDCuaieDOgm43L4LsDzEmk= X-Received: by 2002:a25:c407:: with SMTP id u7mr11800022ybf.449.1613240274198; Sat, 13 Feb 2021 10:17:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ed Tanous Date: Sat, 13 Feb 2021 10:17:43 -0800 Message-ID: Subject: Re: Redfish v1/Systems/system/EthernetInterfaces To: "Udupa.Ashwini ISV" Content-Type: multipart/alternative; boundary="0000000000007b36da05bb3bc580" 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" Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" --0000000000007b36da05bb3bc580 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Feb 13, 2021 at 10:11 AM Udupa.Ashwini ISV < udupa.ashwini@inventec.com> wrote: > > > Hi, > > > > I am new to OpenBmc and Redfish. > I saw in bmcweb/Redfish.md, that below Redfish is targeted for OpenBmc: > /redfish/v1/Systems/system/EthernetInterfaces > > > > But, in redfish-core/lib/systems.hpp, I don=E2=80=99t see EthernetInterfa= ces and I > don=E2=80=99t see it on my server Redfish too. > What upstream system are you trying this on? If your platform isn=E2=80=99= t upstream, can you point at the code review where you=E2=80=99re adding it? If you don=E2=80=99t have either, take note that it=E2=80=99s really diffic= ult to help debug or make suggestions for platforms that we can=E2=80=99t see the code = for. Its only present in Managers/bmc/EthernetInterfaces. > > > > How do I add Systems/system/EthernetInterfaces Redfish support? What > changes do I need to make? > > > > Regards, > > Ashwini > > > --=20 -Ed --0000000000007b36da05bb3bc580 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Feb 13, 2021 at 10:11 AM Udupa.Ashwini I= SV <udupa.ashwini@inventec= .com> wrote:

=C2=A0

Hi,

=C2=A0

I am new to OpenBmc and Redfish.

I saw in bmcweb/Redfish.md, that below = Redfish is targeted for OpenBmc:

/redfish/v1/Systems/system/EthernetInte= rfaces

=C2=A0

But, in redfish-core/lib/systems.hpp, I don=E2=80=99= t see EthernetInterfaces and I don=E2=80=99t see it on my server Redfish to= o.


What upstream system are you trying this on?=C2=A0 If your platform isn= =E2=80=99t upstream, can you point at the code review where you=E2=80=99re = adding it?

If you don=E2= =80=99t have either, take note that it=E2=80=99s really difficult to help d= ebug or make suggestions for platforms that we can=E2=80=99t see the code f= or.

Its only present in Managers/bmc/EthernetInterfaces.=

=C2=A0

How do I add Systems/system/EthernetInterfaces Redfi= sh support? What changes do I need to make?

=C2=A0

Regards,

Ashwini

=C2=A0

--
-Ed
--0000000000007b36da05bb3bc580--