Change the CapabilitiesFlags property into booleans

Each bit in CapabilitiesFlags dbus property is a chassis
capability. Setting a capability overwrites other capabilities.
Read-and-update of the property results in race condition/confusion.
To tackle this, added a boolean property for each of chassis
capability. The new properties will be read and updated in ipmi
command handling code.

The original CapabilitiesFlags property will be deprecated once the
changes are made to use new boolean properties in all the repos.

Tested:

Tested this code along with the changes in ipmi-host to use these
new properties.

root@intel-obmc:~# ipmitool raw 0x00 0x00
 07 22 44 66 88 aa

Signed-off-by: Karthick Sundarrajan <karthick.sundarrajan@intel.com>
Change-Id: I4d7f416749ee23f0843e87db5f39683c23f7c004
1 file changed
tree: 65da34de84c4746246016a027ba752eb32a45c63
  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