obmcutil: add more info to state subcommand
Adds new subcommand to request the OS state.
Adds bootprogress and osstate to the output of state/status subcommands.
Tested: The output of `obmcutil state` must look like:
```
CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.Ready
CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.Off
CurrentHostState : xyz.openbmc_project.State.Host.HostState.Off
BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified
OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive
```
Change-Id: I59937986317fe2ac487d355a627de1070ba813f8
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
1 file changed