psu-ng: Store power supply model name

Store the model name for each power supply so that the monitor app can
perform checks such as verifying that all power supplies are of the same
model and if that model is supported by the system.

Tested: Called the new get name interface from the monitor app and
        verified it was populated for each of the present power supplies.

Change-Id: I79a0e4d3d45a8f3d2dfb6733806d4319ad4cb30c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/phosphor-power-supply/power_supply.cpp b/phosphor-power-supply/power_supply.cpp
index cedc184..02fe779 100644
--- a/phosphor-power-supply/power_supply.cpp
+++ b/phosphor-power-supply/power_supply.cpp
@@ -296,6 +296,7 @@
         {
             ccin = pmbusIntf->readString(CCIN, Type::HwmonDeviceDebug);
             assetProps.emplace(MODEL_PROP, ccin);
+            modelName = ccin;
         }
         catch (ReadFailure& e)
         {