summaryrefslogtreecommitdiffstats
path: root/RedfishPkg/Readme.md
diff options
context:
space:
mode:
authorAbner Chang <abner.chang@hpe.com>2021-10-30 11:20:53 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-10-30 16:09:03 +0000
commit91b772ab626913bf740e9e1b20387b25bcb2de97 (patch)
tree42198efb1bc3f0c2cf9b0cfd14810e8209caa19b /RedfishPkg/Readme.md
parente7663fdd82a2bf934c51b66f4af3e4479b131923 (diff)
downloadedk2-91b772ab626913bf740e9e1b20387b25bcb2de97.tar.gz
edk2-91b772ab626913bf740e9e1b20387b25bcb2de97.tar.bz2
edk2-91b772ab626913bf740e9e1b20387b25bcb2de97.zip
RedfishPkg: Add more information to Readme.md
Add more information of network settings for EDK2 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> Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
Diffstat (limited to 'RedfishPkg/Readme.md')
-rw-r--r--RedfishPkg/Readme.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/RedfishPkg/Readme.md b/RedfishPkg/Readme.md
index 4e5f59850c..a0e9f0892c 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.