[edk2-devel] [PATCH] edk2-staging/EmulatorPkg: Enable network when REDFISH_ENABLE is TRUE

Abner Chang abner.chang at hpe.com
Fri Oct 29 08:40:46 UTC 2021


This patch is sent in behalf of Nickle Wang who is the author of this change.

Reviewed-by: Abner Chang <abner.chang at hpe.com>

> -----Original Message-----
> From: devel at edk2.groups.io [mailto:devel at edk2.groups.io] On Behalf Of
> Abner Chang
> Sent: Friday, October 29, 2021 4:07 PM
> To: devel at edk2.groups.io
> Cc: Wang, Nickle (HPS SW) <nickle.wang at hpe.com>; Liming Gao
> <gaoliming at byosoft.com.cn>; Andrew Fish <afish at apple.com>; Ray Ni
> <ray.ni at intel.com>
> Subject: [edk2-devel] [PATCH] edk2-staging/EmulatorPkg: Enable network
> when REDFISH_ENABLE is TRUE
> 
> Enable edk2 network settings when edk2 Redfish foundation is enabled
> 
> Signed-off-by: Nickle Wang <nickle.wang at hpe.com>
> Cc: Abner Chang <abner.chang at hpe.com>
> Cc: Liming Gao <gaoliming at byosoft.com.cn>
> Cc: Andrew Fish <afish at apple.com>
> Cc: Ray Ni <ray.ni at 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
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82927): https://edk2.groups.io/g/devel/message/82927
Mute This Topic: https://groups.io/mt/86672060/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list