From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.19955.1635608071147094447 for ; Sat, 30 Oct 2021 08:34:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Xs1r8VMg; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=09378b6772=nickle.wang@hpe.com) Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19U4c56L013566; Sat, 30 Oct 2021 15:34:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pps0720; bh=MXNzVrqF7sV7rXGgTcPNk72moH+S7SX830yULBMPUEc=; b=Xs1r8VMgELM/KorvuNaayecInE1HZLQNopjwcGRdfVnQvnIIGv8eJdptJd9kRmpi/H/C GgZVks1sBfTsTiNdaT5B3WlTwt7abKJizi4tE02obNGFHykbHYBn5pRGP+OVIiElLA8j hM93TMtLkrnEIHJgbr943LiAd0t8QwUf7+9v5YWVj8aedS+3AZ7cPAfJJiMkfyZ1L4Lu QC4TL8t0gdjx/mptflQOQCXitQK6s/Nxhi8LEB8QEegsqvaiELkdywxv+bbIQHss3cFq bUE/2pmYLaloDmcm3+JDYh9sMhSfaImQCAxqOZdnNAOJhOvx38+oAH0XRcXZ8ReQxtoG Kw== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 3c0w5y3892-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 30 Oct 2021 15:34:15 +0000 Received: from G4W9119.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.210.20.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id EB82E65; Sat, 30 Oct 2021 15:34:14 +0000 (UTC) Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sat, 30 Oct 2021 15:34:14 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (15.241.52.10) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Sat, 30 Oct 2021 15:34:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bHGXT8YdyfAMv6hDT/3h3WvUHWbVukmpXLko9JnmlaiV7CfudmXYE20NM9PflnacEsB0Y0DGPfWETq9TMz/42dGFXwdHVo3xk+WXlz/bxbLLIWofbE0YxTN71zu9ElYZrinX+fPWmfU2abOwZUaE+BgJuCyuF9MkNTuW8pOwZKkbH/bw98BPSKjfjkPGDi5yDcugeeL2sj8OmxuaJ9dr7WJ1MkKJlA7XA+sabdi6IgvN7NGVWW0SwYFIKc6D/QUha82opWu7WnA8cqXslXOfiBwsyr9eqgCoWEZesJVaACnZVZ9UGzqTzjXJ7xAVyTv0eZmL80nEd0WNTRWXkpXl5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MXNzVrqF7sV7rXGgTcPNk72moH+S7SX830yULBMPUEc=; b=P70cU83jGsygbkVyFnRB4dVwUim8hsSgT7p0b1JgvBqFie44oE5+wDNORcy3ZQleRHUlCwGKyUc2li2NzfkRF7A9JSj1Yg8ue9GK6Zhx9F0IsJsUTqq+p+RBqMyslIj+2vZMEZMI6z3AA/wfjtaxdy6y7sc08sJI/y+3qey9rxdPMkGc6L6xBn29JO79fE8XBxu3Y3mRRUB95relz78DvJarKCf4fG1T1NqdgMJQ8l9upLA3aq+o44iHZkEomPoUbzRPBQEzU6au+1vOfR8tgUJqUFriwPJPVc4QmOFQcVOqG3NMGf5dazasnyON7k02CRcFNoqvi+ldPh58MIL0rg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::7) by DF4PR8401MB1049.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Sat, 30 Oct 2021 15:34:12 +0000 Received: from DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM ([fe80::b41f:195:c98b:d0eb]) by DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM ([fe80::b41f:195:c98b:d0eb%5]) with mapi id 15.20.4649.018; Sat, 30 Oct 2021 15:34:12 +0000 From: "Nickle Wang" To: "Chang, Abner (HPS SW/FW Technologist)" , "devel@edk2.groups.io" CC: Liming Gao Subject: Re: [PATCH] RedfishPkg: Add more information to Readme.md Thread-Topic: [PATCH] RedfishPkg: Add more information to Readme.md Thread-Index: AQHXzT2E0poAQc4RJkmq3tF7Y7Q3RKvrrKPv Date: Sat, 30 Oct 2021 15:34:12 +0000 Message-ID: References: <20211030032319.193692-1-abner.chang@hpe.com> In-Reply-To: <20211030032319.193692-1-abner.chang@hpe.com> Accept-Language: en-US, zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 61500fcc-ad8b-eaf2-a06b-40b30c218df6 authentication-results: hpe.com; dkim=none (message not signed) header.d=none;hpe.com; dmarc=none action=none header.from=hpe.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5e993e93-4299-420e-edf4-08d99bbab96c x-ms-traffictypediagnostic: DF4PR8401MB1049: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bW2wFy0ywjRw6LhCsvMb7icEEYaxMvDvxgAQApGBXZESEYGaSkDp8Z9SYAAE/Y5ZkJCyOILcjWge06nwCZjdih23/XY/QYHcuAp3ClZxARvQtL/YPmWJXH7EOe9x/Xvs2nIPz3i44kuaA8/d3bjttJgzWC80zFzkqmFSB137BJUMEnIu6Bvw5h9opxXvlpG9gQ5ahpcEql143kauVOG2ZhEIdSHijrpGKOWSK52aAVx1doSGBJ5qPwjg/xK2FhkR073AOStaHi0gYZyZxCmOl0LVO7SKhZ/PdspljUkQUqZS9ylqQ1Rd5VmKewyX76s7yiKDFwXIWMpvB08dpgRs3wHHdh1cIdSqwExaDI7wZs0tHgDZJ/845iXzRPjbeXdpx8UXJwtdwSHde3uXBF1NksZGm1CxohAYwbCq40jRIfRUkNi7yTcBL7EryUwDMzG04WhekacutqL04hbg9D99/VBNDR+/07PyxOjhGQQEPw5y23ziWRQUQ4FnjF0GwTcAW2sid0VDtJJkOqiPaCsaN5Be+BeDVtIPPTF+LZA7LSsxP92HSS0IOjWxEnczUPl4gqg0JJGKws7VCvdSMQEHbfCyPBsrJ3FeLCkc9M5i3LZXkk8slGcPsbDwtp9WlPDfLfpi2yjvxzUYwBdvYPj1uosOem9LUxEZu6QFxKVeTP5akooJUFcSMQsL8e5VVykGMh7mTzfPxstM1rtTQpx+zQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(66446008)(508600001)(19627405001)(122000001)(76116006)(66556008)(66476007)(64756008)(7696005)(53546011)(66946007)(91956017)(8936002)(52536014)(4326008)(6506007)(86362001)(5660300002)(82960400001)(316002)(55016002)(38070700005)(186003)(71200400001)(33656002)(8676002)(38100700002)(9686003)(110136005)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dftKwmCHUOc9cSPwDw0cyCoCv2n0miwMK3za0/Gbko6KtZUdljHxR6n0tUlI?= =?us-ascii?Q?i2zgDmUOUMmLg+kK9zVSGnb7Pt8+236OdoEvUDWQ+7jB6x2zJGSZ02EtC73a?= =?us-ascii?Q?7YjvU6gir+J1uQZFvNioEXNI3/MSziuFhdnQi4le+vlkwovmbzdnA/Tui2/0?= =?us-ascii?Q?fEqyszsE69M+nIOjze9GJN/31A6Cn99+PAxqlFflchs3C3XFrr1lxztxOSf7?= =?us-ascii?Q?+Kea1TcEPBvQuOJzWmnbTrxdrjw3csFpRG1v4wq58OSne1yYjYU9/O/kNSrO?= =?us-ascii?Q?WrwwPS3bRO8fJeWVvCu7U64zRHIHxsg1gGwGFRfvkFU58HAcI2YU6gpsbQlZ?= =?us-ascii?Q?HrrMth38kG9aZ7QBOTUnOrpQzyWDHNYnzqoATHB/3Bg3A9vGBTVP747W429O?= =?us-ascii?Q?jKx1KEPTpkXHoNJ8uB0yyhjF/eYbbkn6GmLFlRU0WQnhfChqTXI7Xqc4WGGu?= =?us-ascii?Q?QxWvEEW3O7nfCnnpQqk1VhTJaHHakpmZqycfGbTrDv7msxwxGuc8/dch7PJc?= =?us-ascii?Q?W+sfwzfApHkYsUplZ8ORmII9I4yair0m9jv/xR4UCB4ugU6QhVUrfTIdD2S0?= =?us-ascii?Q?y387kzJ43LCzsRCCaMn2/46/iZHmNzCpA1D5UdBvvODOr+xFmhpMJJzx5NdP?= =?us-ascii?Q?u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jayaGf8UPRhI0f4dhixE+Gj?= =?us-ascii?Q?Vn9ZdnDRohy/uu0rrcGvGgEXHbHBLJeFOim4YXsoESeifLU7Uawr2aYQirkD?= =?us-ascii?Q?yOenB4WUC9qKyahwHubNmVvkYktAm6fj5ORXCFowE3SrrTYdxGZcpFIYPd2T?= =?us-ascii?Q?3srX0eexm7CJTqDvMj5U+8vRsF0=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 5e993e93-4299-420e-edf4-08d99bbab96c X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2021 15:34:12.5822 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JpoFiOtxKk8UY5d/OtDLwEmwSHCAvJjdyKJ6l7x8gAdVtEJfrxPnWYiYgFSNjoA90KDaBD6th+cLCTHvW3P5VA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB1049 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: FXHHl9gciZ4u124Pc9wWnhywO1sdZMDb X-Proofpoint-GUID: FXHHl9gciZ4u124Pc9wWnhywO1sdZMDb X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-30_04,2021-10-29_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 spamscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=999 bulkscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110300089 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DF4PR8401MB0812E0BACE6C695FC674E453FF889DF4PR8401MB0812_" --_000_DF4PR8401MB0812E0BACE6C695FC674E453FF889DF4PR8401MB0812_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Nickle Wang Thanks, Nickle ________________________________ From: Chang, Abner (HPS SW/FW Technologist) Sent: Saturday, October 30, 2021 11:23 To: devel@edk2.groups.io Cc: Chang, Abner (HPS SW/FW Technologist) ; Wang, Nick= le (HPS SW) ; Liming Gao Subject: [PATCH] RedfishPkg: Add more information to Readme.md Add more information of network settings for EDK2 Redfish service on EmulatorPkg. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Liming Gao --- 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 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)")} ``` + - 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 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. -- 2.21.0.windows.1 --_000_DF4PR8401MB0812E0BACE6C695FC674E453FF889DF4PR8401MB0812_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Reviewed-by: Nickle Wang <nickle.wang@hpe.com>

Thanks,
Nickle

From: Chang, Abner (HPS SW/= FW Technologist) <abner.chang@hpe.com>
Sent: Saturday, October 30, 2021 11:23
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>= ;; Wang, Nickle (HPS SW) <nickle.wang@hpe.com>; Liming Gao <gaolim= ing@byosoft.com.cn>
Subject: [PATCH] RedfishPkg: Add more information to Readme.md
 
Add more information of network settings for EDK2<= br> Redfish service on EmulatorPkg.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
---
 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
 
    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.PcdRedfishRestExServiceDevi= cePath.DevicePath|{DEVICE_PATH("MAC(000000000000,0x1)")}
    ```
 
+   - Assign the network adapter instaleld on the host (working m= achine) that will be emulated as the network interface in edk2 Emulator. +
+   ```c
+    #
+    # For Windows based host, use a number to refer to netw= ork adapter
+    #
+    gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L&quo= t;1"
+    or
+    #
+    # For Linux based host, use the device name of network = adapter
+    #
+    gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L&quo= t;en0"
+   ```
+
    5. Configure the Redfish service on the EDK2 Emulator pl= atform
 
    Execute RedfishPlatformConfig.efi under EFI shell to con= figure the Redfish service information. The EFI variables are created for s= toring Redfish service information and is  consumed by RedfishPlatform= HostInterfaceLib under EmulatorPkg.
--
2.21.0.windows.1

--_000_DF4PR8401MB0812E0BACE6C695FC674E453FF889DF4PR8401MB0812_--