metal/mtce-common/src/daemon
Eric MacDonald 4d2383818f Add bmc protocol select to maintenance
This update adds BMC Info Query command handling and
info logging to maintenance.

Example of the logs produced by the BMC Query are

  compute-2 manufacturer is Intel Corporation
  compute-2 model number:<str>  part number:<str>  serial number:<str>
  compute-2 BIOS firmware version is SE5C620.86B.00.01.0013.030920180427
  compute-2 BMC  firmware version is unavailable
  compute-2 power is on
  compute-2 has 2 processors
  compute-2 has 192 GiB of memory

Please note that the default protocol remains IPMI even
if Redfish support is detected. This is because the
power/reset/netboot control implementation for Redfish
has not yet been implemented.

Test Plan:

PASS: Verify redfish BMC info query logging.
PASS: Verify IPMI remains the default selected protocol.

Regression:

PASS: Verify sensor monitoring and alarming still works.
PASS: Verify power-off command handling.
PASS: Verify power-on command handling.
PASS: Verify reset command handling.
PASS: Verify reboot command handling.
PASS: Verify reinstall (netboot) command handling.

Change-Id: I654056119018a1751a70495e3df8b541d9e00b93
Story: 2005861
Task: 35826
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2019-09-08 14:14:15 -04:00
..
Makefile Set SHELL in Makefiles that use bash constructs 2018-12-07 14:09:48 -06:00
daemon_common.h Fix maintenance cluster-host messaging 2019-07-18 14:54:45 -04:00
daemon_config.cpp Properly handle Barbican IPv6 address in MTCE 2019-08-12 15:14:00 -04:00
daemon_debug.cpp Refactor infrastructure network in mtce code 2019-04-18 09:32:41 -04:00
daemon_files.cpp Add bmc protocol select to maintenance 2019-09-08 14:14:15 -04:00
daemon_ini.cpp fix compilation warnings in c/cpp files 2018-10-23 07:38:33 +00:00
daemon_ini.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
daemon_main.cpp Update the init parameters for opts 2019-05-30 11:00:41 +08:00
daemon_option.h Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
daemon_signal.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00