Removed company prefix from 'intel-pfr' name
Removed 'Intel' Prefix from D-Bus path and
interface related to PFR as it is generic feature.
Different OEM's can have their own way of implementing
the PFR feature but the D-Bus interface for exposing properties
like Provisioning and locking status should be implementation
agnostic. So remove 'Intel' Prefix from D-Bus path and interface
names in Intel PFR manager implementation.
Tested:
Verified using redfish URI '/redfish/v1/Systems/system'
along with dependent patch in bmcweb and observed correct
response on PFR enabled platform.
RESPONSE:
........
"Oem": {
"OpenBmc": {
"FirmwareProvisioning": {
"Locked": true,
"Provisioned": true
}
}
}
.....
Change-Id: Id70ea5b54427d8d884147204f9028d7d9b2da99e
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/service/src/mainapp.cpp b/service/src/mainapp.cpp
index f044d8a..103ab22 100644
--- a/service/src/mainapp.cpp
+++ b/service/src/mainapp.cpp
@@ -275,10 +275,10 @@
auto conn = std::make_shared<sdbusplus::asio::connection>(io);
stateTimer = std::make_unique<boost::asio::steady_timer>(io);
initTimer = std::make_unique<boost::asio::steady_timer>(io);
- conn->request_name("xyz.openbmc_project.Intel.PFR.Manager");
+ conn->request_name("xyz.openbmc_project.PFR.Manager");
auto server = sdbusplus::asio::object_server(conn);
- // Create Intel PFR attributes object and interface
+ // Create PFR attributes object and interface
pfrConfigObject = std::make_unique<intel::pfr::PfrConfig>(server, conn);
pfrVersionObjects.clear();