Interface for defining PFR related properties
Defined new interface for providing PFR related properties.
The Platform Firmware Resiliency(PFR) in NIST SP 800-193 provides
technical guidelines and recommendations supporting resiliency of
platform firmware and data against potentially destructive attacks.
More details are captured in below design document.
https://github.com/openbmc/docs/blob/master/designs/redfish-resource-supplement-for-pfr.md
Tested:
Tested the build with bitbake phosphor-dbus-interfaces.
Tested full functionality from redfish, with associated changes.
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Change-Id: I2ccd0435a2023bae078a1efabc391baf85c4213a
diff --git a/xyz/openbmc_project/PFR/Attributes.interface.yaml b/xyz/openbmc_project/PFR/Attributes.interface.yaml
new file mode 100644
index 0000000..4d94ed1
--- /dev/null
+++ b/xyz/openbmc_project/PFR/Attributes.interface.yaml
@@ -0,0 +1,21 @@
+description: >
+ Provides the object attributes needed for resiliency of platform
+ firmware, recommended by NIST SP 800-193.
+
+properties:
+ - name: Provisioned
+ type: boolean
+ description: >
+ Indicates platform firmware provisioned state. Provisioned
+ platform may provide resiliency features.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+
+ - name: Locked
+ type: boolean
+ description: >
+ Indicates the platform firmware provisioning locked state.
+ Once the provisioning is locked, it can't be re-provisioned.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4