Lines Matching defs:model
236 const std::string* model = std::get_if<std::string>(&(propIt->second));
237 if (model == nullptr)
276 supportedConfigs.emplace(*model, supportedPsuConfig);
822 std::string model{};
823 if (!validateModelName(model, additionalData))
833 // power supply model configuration. Since all configurations need to be
839 if (config.first != model)
1048 std::string model{};
1050 if (!validateModelName(model, additionalData))
1055 auto config = supportedConfigs.find(model);
1059 // if the supported configuration indicates that this system model
1122 std::string& model, std::map<std::string, std::string>& additionalData)
1124 // Check that all PSUs have the same model name. Initialize the model
1128 model.clear();
1137 if (model.empty())
1139 model = psuModel;
1143 if (psuModel != model)
1145 if (supportedConfigs.find(model) != supportedConfigs.end())
1147 // The base model is supported, callout the mismatched PSU. The
1149 additionalData["EXPECTED_MODEL"] = model;
1156 // The base model is not supported, but the mismatched PSU is,
1159 additionalData["ACTUAL_MODEL"] = model;
1164 // The base model and the mismatched PSU are not supported or
1167 additionalData["EXPECTED_MODEL"] = model;
1172 model.clear();
1214 // We know it was previously present if it has a non-empty model name.