* [PATCH] edk2-staging/EmulatorPkg: Enable network when REDFISH_ENABLE is TRUE
@ 2021-10-29 8:07 Abner Chang
0 siblings, 0 replies; only message in thread
From: Abner Chang @ 2021-10-29 8:07 UTC (permalink / raw)
To: devel; +Cc: nickle.wang, Liming Gao, Andrew Fish, Ray Ni
Enable edk2 network settings when edk2 Redfish foundation is enabled
Signed-off-by: Nickle Wang <nickle.wang@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
---
EmulatorPkg/EmulatorPkg.dsc | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc
index ba11d249ec8..68371c96860 100644
--- a/EmulatorPkg/EmulatorPkg.dsc
+++ b/EmulatorPkg/EmulatorPkg.dsc
@@ -42,6 +42,16 @@
#
DEFINE REDFISH_ENABLE = TRUE
+!if $(REDFISH_ENABLE) == TRUE
+ #
+ # Allow HTTP connection for Redfish profile simulator.
+ #
+ DEFINE NETWORK_SNP_ENABLE = TRUE
+ DEFINE NETWORK_IP6_ENABLE = TRUE
+ DEFINE NETWORK_HTTP_ENABLE = TRUE
+ DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
+!endif
+
[SkuIds]
0|DEFAULT
--
2.21.0.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-29 8:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-29 8:07 [PATCH] edk2-staging/EmulatorPkg: Enable network when REDFISH_ENABLE is TRUE Abner Chang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox