public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Abner Chang" <abner.chang@hpe.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"Chang, Abner (HPS SW/FW Technologist)" <abner.chang@hpe.com>
Cc: "Wang, Nickle (HPS SW)" <nickle.wang@hpe.com>,
	Liming Gao <gaoliming@byosoft.com.cn>,
	Andrew Fish <afish@apple.com>, Ray Ni <ray.ni@intel.com>
Subject: Re: [edk2-devel] [PATCH] edk2-staging/EmulatorPkg: Enable network when REDFISH_ENABLE is TRUE
Date: Fri, 29 Oct 2021 08:40:46 +0000	[thread overview]
Message-ID: <CS1PR8401MB11442156DCF7CAFCA00BFBEEFF879@CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <16B271EB4C8B5C6D.26512@groups.io>

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

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

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Abner Chang
> Sent: Friday, October 29, 2021 4:07 PM
> To: devel@edk2.groups.io
> Cc: Wang, Nickle (HPS SW) <nickle.wang@hpe.com>; Liming Gao
> <gaoliming@byosoft.com.cn>; Andrew Fish <afish@apple.com>; Ray Ni
> <ray.ni@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@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
> 
> 
> 
> 
> 


           reply	other threads:[~2021-10-29  8:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <16B271EB4C8B5C6D.26512@groups.io>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CS1PR8401MB11442156DCF7CAFCA00BFBEEFF879@CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox