Add Activation interface to HSBP version object

Add activation interface to HSBP version object to represent the
'active' state of firmware.

Tested:
Flashed and check HSBP object for activation status.

Tested:
1. Verified in Redfish using below URL.
GET: https://<BMC-IP>/redfish/v1/UpdateService/FirmwareInventory/
     J85894_HSBP_1
Response:
{
  "@odata.context": "/redfish/v1/$metadata#SoftwareInventory.
                     SoftwareInventory",
  "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/
                J85894_HSBP_1",
  "@odata.type": "#SoftwareInventory.v1_1_0.SoftwareInventory",
  "Description": "HSBP image",
  "Id": "J85894_HSBP_1",
  "Name": "Software Inventory",
  "Status": {
    "Health": "OK",
    "HealthRollup": "OK",
    "State": "Enabled"
  },
  "Updateable": false,
  "Version": "00.02.01"
}

Change-Id: I28e2c36594e2d1c889b3a31391f57212b045a741
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
1 file changed
tree: c52fbaac0321d4fb1eee2f138bd621a9c835868e
  1. callback-manager/
  2. hsbp-manager/
  3. .gitignore
  4. CMakeLists.txt
  5. LICENSE
  6. MAINTAINERS
  7. README.md
README.md

s2600wf-misc