functions: Replace IBMCompatibleSystem with Compatible
The Compatible interface will be replacing the IBMCompatibleSystem
interface. Reference:
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/68125
https://gerrit.openbmc.org/c/openbmc/entity-manager/+/68128
Tested: Verified the symlinks for the PNOR files were created
successfully on a Rainier 4U system with the new Compatible interface
changes.
Change-Id: Idf2511d6616723bd21c945fe228499ae9eaf2fea
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/item_updater_main.cpp b/item_updater_main.cpp
index 0aad740..1076068 100644
--- a/item_updater_main.cpp
+++ b/item_updater_main.cpp
@@ -61,11 +61,14 @@
using namespace std::string_literals;
std::map<std::string, std::vector<std::string>> extensionMap{{
- {"ibm,bonnell"s, {".BONNELL_XML"s, ".P10"s}},
- {"ibm,everest"s, {".EVEREST_XML"s, ".P10"s}},
- {"ibm,rainier-2u"s, {".RAINIER_2U_XML"s, ".P10"s}},
- {"ibm,rainier-4u"s, {".RAINIER_4U_XML"s, ".P10"s}},
- {"ibm,rainier-1s4u"s, {".RAINIER_4U_XML"s, ".P10"s}},
+ {"com.ibm.Hardware.Chassis.Model.Bonnell"s, {".BONNELL_XML"s, ".P10"s}},
+ {"com.ibm.Hardware.Chassis.Model.Everest"s, {".EVEREST_XML"s, ".P10"s}},
+ {"com.ibm.Hardware.Chassis.Model.Rainier2U"s,
+ {".RAINIER_2U_XML"s, ".P10"s}},
+ {"com.ibm.Hardware.Chassis.Model.Rainier4U"s,
+ {".RAINIER_4U_XML"s, ".P10"s}},
+ {"com.ibm.Hardware.Chassis.Model.Rainier1S4U"s,
+ {".RAINIER_4U_XML"s, ".P10"s}},
}};
// subcommandContext allows program subcommand callbacks to add loop event