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