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.web10.15012.1635564216719691566 for ; Fri, 29 Oct 2021 20:23:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Jk3UfXtK; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=09373e4eb6=abner.chang@hpe.com) 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pps0720; bh=g7pcKT6ri9Eebvdh489u63V37IjVP0u+agEVcEial1k=; b=Jk3UfXtKpXOShclCBhVVy+Evvgoa9KgRJ97RzEmuFIdw0Etpxe0IrSWOPOgLttt3Zgqi A0YrE7/BJezHG0n+qfAQvi7a6tI3cheWuNm2KgTqcHIfri/Qelijvvw6lNXXyTKPkE3p 7JlGfGJY/BHhND6TB8yyZR9xLnUhob4pfosO7TQVhhE/yHhSYEJQJlCiRy6WaMbdq8th NotA/33sSCiz7fZRhOX4MGuQoiEUld6VK/lPstTQXdq35XrJW1JsCQmKKe0P3Kr23Cit 7qlHCb4YkDNelx5CDOCJTx9TdI/tZ3YoDRMPWAhJtd4uTGK46ZgimbZ8rwhIatfanOP/ kg== 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 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) 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: [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> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 X-Proofpoint-GUID: Drr-HJCXEXGrKTA_xP4YNT5Hc9uxuphg X-Proofpoint-ORIG-GUID: Drr-HJCXEXGrKTA_xP4YNT5Hc9uxuphg 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_01,2021-10-29_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=735 priorityscore=1501 mlxscore=0 bulkscore=0 spamscore=0 suspectscore=0 phishscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110300013 Content-Transfer-Encoding: 8bit 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 = TRUE NETWORK_HTTP_ENABLE = TRUE + NETWORK_IP6_ENABLE = TRUE SECURE_BOOT_ENABLE = TRUE REDFISH_ENABLE = TRUE ``` @@ -97,6 +99,20 @@ The library is incorporated with RedfishLib ***[[13]](#[0])*** to encode and dec gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePath|{DEVICE_PATH("MAC(000000000000,0x1)")} ``` + - Assign the network adapter instaleld on the host (working machine) that 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 Redfish service information. The EFI variables are created for storing Redfish service information and is consumed by RedfishPlatformHostInterfaceLib under EmulatorPkg. -- 2.21.0.windows.1