commit | e5aaf047b6b41b0837ef0846cf5356c9a6bcb030 | [log] [tgz] |
---|---|---|
author | AppaRao Puli <apparao.puli@linux.intel.com> | Fri Mar 20 01:05:52 2020 +0530 |
committer | AppaRao Puli <apparao.puli@linux.intel.com> | Wed Apr 15 16:37:25 2020 +0000 |
tree | 1fa2e2da1803c849cf1da232a733a5916f847874 | |
parent | f8aa3d2704d3897eb724dab9ac596af8b1f0e33e [diff] |
Redfish EventService schema implementation Add Redfish EventService schema support for EventService - GET and PATCH methods. EventDestinationCollections - GET and POST methods. EventDestination - GET, PATCH and DELETE methods. URI's: /redfish/v1/EventService /redfish/v1/EventService/Subscriptions /redfish/v1/EventService/Subscriptions/<id> Tested: - Validated all default event config data using GET. - Validated supported/unsupported properties change. - Validated range parameters for retry and timeout. - Added new subscription using POST and validated using GET. - Modified subscription using PATCH and validated. - Validated delete subscription. - Validated negative case for eventTypes, RegistryPrefixes, mandate properties for POST etc. - Successfully ran the redfish validator tool. Counter({'metadataNamespaces': 1739, 'pass': 24, 'skipOptional': 23, 'passGet': 3, 'serviceNamespaces': 3}) Validation has succeeded. Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com> Change-Id: I220de2cb85e73124753d95b7ee311f1c30e2cce4
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.