summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Yugang <yugang.chen@linux.intel.com>2019-10-30 03:28:45 +0300
committerChen, Yugang <yugang.chen@intel.com>2019-10-31 01:59:11 +0300
commitcda29d96173253dbf8d806ae7ff3f46bfa178483 (patch)
treecfdefc1631a69257c442c43f6d7ca2dd96e29ac3
parenteb3be7affc678af30e5aba6225218935d5fad4eb (diff)
downloadprovingground-cda29d96173253dbf8d806ae7ff3f46bfa178483.tar.xz
Move NMI source Property from intel-dbus-interface to phospher-dbus-interfaces
System needs to keep the NMI signal event source by this Property, this interface is used to support the access the Property with default value. it's convenient for other repos to use it by moving from "com.intel" to "xyz.openbmc_project". Tested it's tested in system for IPMI OEM command - get/set NMI source Change-Id: I2df4e577eff30b4a82b2face0c6dead2a20a6e2d Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>
-rw-r--r--settings/include/defaults.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/settings/include/defaults.hpp b/settings/include/defaults.hpp
index 387993f..451a83a 100644
--- a/settings/include/defaults.hpp
+++ b/settings/include/defaults.hpp
@@ -203,12 +203,13 @@ inline void loadSettings(sdbusplus::asio::object_server &objectServer,
"OCOTPolicy",
"com.intel.Control.OCOTShutdownPolicy.Policy.NoShutdownOnOCOT");
- setting =
- &settings.emplace_back(objectServer, "/com/intel/control/NMISource",
- "com.intel.Control.NMISource");
+ setting = &settings.emplace_back(
+ objectServer, "/xyz/openbmc_project/Chassis/Control/NMISource",
+ "xyz.openbmc_project.Chassis.Control.NMISource");
- setting->addProperty("BMCSource",
- "com.intel.Control.NMISource.BMCSourceSignal.None");
+ setting->addProperty(
+ "BMCSource",
+ "xyz.openbmc_project.Chassis.Control.NMISource.BMCSourceSignal.None");
setting->addProperty("Enabled", false);