commit | c6f4e01779afb7a6eb25be15003829b46f81ba4c | [log] [tgz] |
---|---|---|
author | Agata Olender <agata.olender@intel.com> | Wed Mar 11 15:19:07 2020 +0100 |
committer | Agata Olender <agata.olender@intel.com> | Tue Mar 31 07:43:47 2020 +0000 |
tree | a1f7e6a3d4dde75b8d4d1c940cd54cb1d1f480c6 | |
parent | 988fb7b26942a8ddbaa6be4ce34aa4efe4044b43 [diff] |
Add handling of additional parameters of Insert Media action. Add handling for new parameters: * Inserted - indicates if virtual media is inserted in the virtual device, current implementation supports only True value, * TransferMethod - the transfer method to use with the image, current implementation supports only Stream method, * transferProtocolType - the network protocol to use with the image, current implementation supports CIFS and HTTPS. Protocol type should be consistent with image URI prefix. Make writeProtected param optional. Tested manually from parameters validation perspective: - valid values for new params, - invalid values for new params, - presence of optional params. Change-Id: I135cb5ac181a442578d70821468214d0a8bcf0f6 Signed-off-by: Agata Olender <agata.olender@intel.com>
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D
flags that correspond to options in bmcweb/CMakeLists.txt
and then compiling. For example, cmake -DBMCWEB_ENABLE_KVM=NO ...
followed by make
. The option names become C++ preprocessor symbols that control which code is compiled into the program.
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server. The keys are generated by the secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.