Dbus: Change interfaces for Scheduled Host Transition

During tests, find the property of RequestedTransition is too similar
to RequestedHostTransition, which is hard to distinguish.
Current log:
 $ curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/state/host0
 {
   "data": {
     "AttemptsLeft": 3,
     "BootProgress": "xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified",
     "CurrentHostState": "xyz.openbmc_project.State.Host.HostState.Running",
     "OperatingSystemState": "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive",
     "RequestedHostTransition": "xyz.openbmc_project.State.Host.Transition.On",
     "RequestedTransition": "xyz.openbmc_project.State.Host.Transition.On",
     "ScheduledTime": 0
   },
   "message": "200 OK",
   "status": "ok"
 }
After changing the code:
 $ curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/state/host0
 {
   "data": {
     "AttemptsLeft": 3,
     "BootProgress": "xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified",
     "CurrentHostState": "xyz.openbmc_project.State.Host.HostState.Running",
     "OperatingSystemState": "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive",
     "RequestedHostTransition": "xyz.openbmc_project.State.Host.Transition.On",
     "ScheduledTransition": "xyz.openbmc_project.State.Host.Transition.On",
     "ScheduledTime": 0
   },
   "message": "200 OK",
   "status": "ok"
 }

Change-Id: I652db7d85ed2e596e8a5fabe8f10f136bc03be10
Signed-off-by: Carol Wang <wangkair@cn.ibm.com>
1 file changed
tree: c025a14a8263e8cc1bd8fca5a107f335c85a2977
  1. org/
  2. xyz/
  3. .gitignore
  4. bootstrap.sh
  5. configure.ac
  6. generate_makefile.sh
  7. generate_yaml_makefile.sh
  8. LICENSE
  9. MAINTAINERS
  10. Makefile.am
  11. Makefile.interfaces.in
  12. Makefile.yaml.in
  13. phosphor-dbus-interfaces.pc.in
  14. README.md
README.md

phosphor-dbus-interfaces

YAML descriptors of standard dbus interfaces

Only the xyz/openbmc_project interfaces are built by default.

Enable the OpenPower D-Bus interfaces with:

--enable-openpower-dbus-interfaces