From nobody Thu May 2 04:12:15 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+82951+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+82951+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1635564226; cv=none; d=zohomail.com; s=zohoarc; b=R4FGn6iG0wfkL/sAW7wCjRnseiig8EvnBondWyAsEsQ9di5VT7NXspuWNjdR+j7wSsH4Nd8suZeRjcNr0ZgtKs2kqkEOi5ppYxCaAE3IJuFREywVz0XpvQ1j7Ze3LDUa3+/axf7IB/OfR9BuH5jNxj2ns/RY85fZ/v/FJed0Qbc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635564226; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=DqfP3m0s+sxIuH7e+7dhZ7nryZ+ck/8pAr+y+4h9bFo=; b=WFI+i0amCkLWowBOUclSsOQvik3BtN/lDXQUDmxSg41O5gYJjLWux2wcVJNlSNMY5kKBMGaezBmAZ/hBVMNR+MhOaNFaa9D0SbdFBQPc/pxsWvzUbJAH5vSgB/xQAbJVJnCbvORUfrsSHK70yKt+JgkBZSBTHVZs7+s757hA4so= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+82951+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1635564226381350.7985966928036; Fri, 29 Oct 2021 20:23:46 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id OwtsYY1788612xAdmUMJpyty; Fri, 29 Oct 2021 20:23:45 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.15012.1635564216719691566 for ; Fri, 29 Oct 2021 20:23:45 -0700 X-Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19U0UTG4016663; Sat, 30 Oct 2021 03:23:23 GMT X-Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 3c0ujc8qbv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 30 Oct 2021 03:23:23 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id C5FE856; Sat, 30 Oct 2021 03:23:22 +0000 (UTC) X-Received: from SAC2XFT1JT.asiapacific.hpqcorp.net (unknown [10.43.62.133]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 67C554A; Sat, 30 Oct 2021 03:23:21 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Nickle Wang , Liming Gao Subject: [edk2-devel] [PATCH] RedfishPkg: Add more information to Readme.md Date: Sat, 30 Oct 2021 11:23:19 +0800 Message-Id: <20211030032319.193692-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: Drr-HJCXEXGrKTA_xP4YNT5Hc9uxuphg X-Proofpoint-ORIG-GUID: Drr-HJCXEXGrKTA_xP4YNT5Hc9uxuphg X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@hpe.com X-Gm-Message-State: t2j8UVb5QkrNBDnJDujjBTVEx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1635564225; bh=d7PUaZciJEcN2khCoILb4t8PGE5792t6PFUIFmn7wKo=; h=Cc:Date:From:Reply-To:Subject:To; b=U+DkOYyh0Mn19lebsdSmyiHRwLUSof7EWZyZhp4f/laZBqKO0NENLSWWm80lgJoubmp WYGN/6rXmCC/E2sb3qew12SQx7kUNR1iG+AzO5JgOApjCcB6u0KIHmGCwd9d4jqrVFOjV Z68280HpWL07fVRwwgHq/gJP6bcFYjk+sWI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1635564226941100001 Content-Type: text/plain; charset="utf-8" Add more information of network settings for EDK2 Redfish service on EmulatorPkg. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Liming Gao Reviewed-by: Nickle Wang --- RedfishPkg/Readme.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/RedfishPkg/Readme.md b/RedfishPkg/Readme.md index 4e5f59850c2..a0e9f0892c2 100644 --- a/RedfishPkg/Readme.md +++ b/RedfishPkg/Readme.md @@ -78,7 +78,9 @@ The library is incorporated with RedfishLib ***[[13]](#[0= ])*** to encode and dec =20 2. Enable below macros in EmulatorPkg.dsc ```C + NETWORK_SNP_ENABLE =3D TRUE NETWORK_HTTP_ENABLE =3D TRUE + NETWORK_IP6_ENABLE =3D TRUE SECURE_BOOT_ENABLE =3D TRUE REDFISH_ENABLE =3D TRUE ``` @@ -97,6 +99,20 @@ The library is incorporated with RedfishLib ***[[13]](#[= 0])*** to encode and dec gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePa= th|{DEVICE_PATH("MAC(000000000000,0x1)")} ``` =20 + - Assign the network adapter instaleld on the host (working machine) th= at will be emulated as the network interface in edk2 Emulator. + + ```c + # + # For Windows based host, use a number to refer to network adapter + # + gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"1" + or + # + # For Linux based host, use the device name of network adapter + # + gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0" + ``` + 5. Configure the Redfish service on the EDK2 Emulator platform =20 Execute RedfishPlatformConfig.efi under EFI shell to configure the Redf= ish service information. The EFI variables are created for storing Redfish = service information and is consumed by RedfishPlatformHostInterfaceLib und= er EmulatorPkg. --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#82951): https://edk2.groups.io/g/devel/message/82951 Mute This Topic: https://groups.io/mt/86692875/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-