DDIMM & ISDIMM:Method to get manufacturer ID
This commit implements the logic to get manufacturer ID for ISDIMMs
and DDIMMs and add it to the Parsed vpd map
Change-Id: If8b707448f9c2485c8cf837bb63fc6df23531355
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
diff --git a/test/utest_ddimm_parser.cpp b/test/utest_ddimm_parser.cpp
index 6674c51..364a3f1 100644
--- a/test/utest_ddimm_parser.cpp
+++ b/test/utest_ddimm_parser.cpp
@@ -26,7 +26,8 @@
{0x59, 0x48, 0x33, 0x33, 0x31, 0x54, 0x33, 0x38, 0x34, 0x30, 0x33,
0x46}},
std::pair<std::string, types::BinaryVector>{"CC",
- {0x33, 0x32, 0x41, 0x31}}};
+ {0x33, 0x32, 0x41, 0x31}},
+ std::pair<std::string, types::BinaryVector>{"DI", {0x80, 0xCE}}};
nlohmann::json l_json;
std::string l_vpdFile("vpd_files/ddr5_ddimm.dat");
@@ -49,7 +50,8 @@
{0x59, 0x48, 0x33, 0x35, 0x31, 0x54, 0x31, 0x35, 0x53, 0x30, 0x44,
0x35}},
std::pair<std::string, types::BinaryVector>{"CC",
- {0x33, 0x32, 0x37, 0x42}}};
+ {0x33, 0x32, 0x37, 0x42}},
+ std::pair<std::string, types::BinaryVector>{"DI", {0x80, 0xAD}}};
nlohmann::json l_json;
std::string l_vpdFile("vpd_files/ddr4_ddimm.dat");