commit | e768657651358ed91561cc35439f04b82678f55f | [log] [tgz] |
---|---|---|
author | Sunitha Harish <sunharis@in.ibm.com> | Wed Jul 15 02:32:44 2020 -0500 |
committer | Sunitha Harish <sunithaharish04@gmail.com> | Thu Aug 20 03:50:38 2020 +0000 |
tree | fea872fbebe6be9c68af2e6082e4675155b64b35 | |
parent | 92ccb88d9adff2da45bddd292c7d944c2755b2c8 [diff] |
EventService : Send event for the Task Lifecycle The commit implements the Push style events when a Task goes through its life cycle. Tested by: (Used https://github.com/DMTF/Redfish-Event-Listener) 1. Create a subscription by passing "ResourceTypes" as ["Task"] POST -D headers.txt https://${bmc}/redfish/v1/EventService/Subscriptions -d '{"Destination" : "https://<host:port>, "ResourceTypes":["Task"], "Protocol":"Redfish"}' 2. Run a command which starts the Task 3. Verify if the task state changes are reported as events Signed-off-by: Sunitha Harish <sunharis@in.ibm.com> Change-Id: I4cea83f221e6f4f40cfbdc3da3e95cd920744316
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.