Update to the new sdbusplus namespace format
The sdbusplus namespace format was updated in [1]. This updates the
local namespaces to the new format.
[1]: https://github.com/openbmc/sdbusplus/commit/5011340e14da7fc04f8b20721c4631f778200edd
Change-Id: Ic6b874fb86d2ff2192d8067871bd2170696f2b8c
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
diff --git a/src/dimm.cpp b/src/dimm.cpp
index 6102627..bb68d13 100644
--- a/src/dimm.cpp
+++ b/src/dimm.cpp
@@ -33,10 +33,10 @@
#endif
using DeviceType =
- sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::DeviceType;
+ sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::DeviceType;
using EccType =
- sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::Ecc;
+ sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::Ecc;
static constexpr uint16_t maxOldDimmSize = 0x7fff;
void Dimm::memoryInfoUpdate(void)
@@ -142,13 +142,13 @@
EccType Dimm::ecc(EccType value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::ecc(
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::ecc(
value);
}
uint16_t Dimm::memoryDataWidth(uint16_t value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
memoryDataWidth(value);
}
@@ -172,7 +172,7 @@
size_t Dimm::memorySizeInKB(size_t value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
memorySizeInKB(value);
}
@@ -202,7 +202,7 @@
std::string Dimm::memoryDeviceLocator(std::string value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
memoryDeviceLocator(value);
}
@@ -221,7 +221,7 @@
DeviceType Dimm::memoryType(DeviceType value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
memoryType(value);
}
@@ -241,13 +241,13 @@
std::string Dimm::memoryTypeDetail(std::string value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
memoryTypeDetail(value);
}
uint16_t Dimm::maxMemorySpeedInMhz(uint16_t value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
maxMemorySpeedInMhz(value);
}
@@ -268,13 +268,13 @@
std::string Dimm::manufacturer(std::string value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Decorator::server::
+ return sdbusplus::server::xyz::openbmc_project::inventory::decorator::
Asset::manufacturer(value);
}
bool Dimm::present(bool value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::server::Item::present(
+ return sdbusplus::server::xyz::openbmc_project::inventory::Item::present(
value);
}
@@ -288,7 +288,7 @@
std::string Dimm::serialNumber(std::string value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Decorator::server::
+ return sdbusplus::server::xyz::openbmc_project::inventory::decorator::
Asset::serialNumber(value);
}
@@ -305,31 +305,31 @@
std::string Dimm::partNumber(std::string value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Decorator::server::
+ return sdbusplus::server::xyz::openbmc_project::inventory::decorator::
Asset::partNumber(value);
}
std::string Dimm::locationCode(std::string value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Decorator::server::
+ return sdbusplus::server::xyz::openbmc_project::inventory::decorator::
LocationCode::locationCode(value);
}
uint8_t Dimm::memoryAttributes(uint8_t value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
memoryAttributes(value);
}
uint16_t Dimm::memoryConfiguredSpeedInMhz(uint16_t value)
{
- return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Dimm::
+ return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::
memoryConfiguredSpeedInMhz(value);
}
bool Dimm::functional(bool value)
{
- return sdbusplus::xyz::openbmc_project::State::Decorator::server::
+ return sdbusplus::server::xyz::openbmc_project::state::decorator::
OperationalStatus::functional(value);
}