Chassis and Host state string

The Chassis and Host state is a full Dbus string.

Example :
xyz.openbmc_project.State.Host.HostState.Off
xyz.openbmc_project.State.Host.HostState.Running
xyz.openbmc_project.State.Chassis.PowerState.Off
xyz.openbmc_project.State.Chassis.PowerState.On

With this change, the state is pruned off to return the states
as On/Off/Running.

Resolves openbmc/openbmc-test-automation#288

Change-Id: Ie6b41dd8353e32deca015f98852eb86b82a3a92b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed