commit | 4d64ce347e01fe4aa849e79504024eb98bbdc7aa | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Fri Mar 29 16:34:56 2019 -0500 |
committer | Ed Tanous <ed.tanous@intel.com> | Tue Apr 02 15:36:26 2019 +0000 |
tree | f62013da0b6aae720ef5a8c33edd2abe8175782d | |
parent | 21087210733a5dd654490153df22d3e0825f3ffe [diff] |
Fix AllowableValues failProp error The RedfishServiceValidator throws the following error: "ERROR - Locked@Redfish.AllowableValues[0]: Expected string value, got type class 'bool'" From http://redfish.dmtf.org/schemas/DSP0266_1.0.html#allowable-values "6.5.4.7.2. Allowable values The property representing the action may be annotated with the "AllowableValues" annotation in order to specify the list of allowable values for a particular parameter. The set of allowable values is specified by including a property whose name is the name of the parameter followed by "@Redfish.AllowableValues", and whose value is a JSON array of strings representing the allowable values for the parameter." Moved AllowableValues[0] to a string. Tested: Ran RedfishServiceValidator and no longer observe the error. Change-Id: I167416fe62449dd428f549c486069db0de7676b0 Signed-off-by: Gunnar Mills <gmills@us.ibm.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 prime256v1
algorithm. The certificate
C=US, O=Intel BMC, CN=testhost
,SHA-256
algorithm.The crow project has had a number of additions to make it more useful for use in the OpenBmc Project. A non-exhaustive list is below. At the time of this writing, the crow project is not accepting patches, so for the time being crow will simply be checked in as is.