[Redfish] Making LimitException OCP Compliant

Setting PowerLimit.LimitException Attribute value to "NoAction" in Power
Schema as its default value to make it OCP compliant.

Tested:
1. Tested using GET:
- https://bmc-ip/redfish/v1/Chassis/Baseboard/Power
  "PowerLimit": {
       "LimitException": "NoAction"
  }

2. Ran the Redfish validator and no new issues found.

Signed-off-by: Joshi-Mansi <mansi.joshi@linux.intel.com>
Change-Id: Ie8768ba250d29d23b791fcd60d749ab6081238b2
diff --git a/redfish-core/lib/power.hpp b/redfish-core/lib/power.hpp
index 5a62400..37a22da 100644
--- a/redfish-core/lib/power.hpp
+++ b/redfish-core/lib/power.hpp
@@ -304,6 +304,11 @@
                     nlohmann::json& value =
                         sensorJson["PowerLimit"]["LimitInWatts"];
 
+                    // LimitException is Mandatory attribute as per OCP Baseline
+                    // Profile – v1.0.0, so currently making it "NoAction"
+                    // as default value to make it OCP Compliant.
+                    sensorJson["PowerLimit"]["LimitException"] = "NoAction";
+
                     if (enabled)
                     {
                         // Redfish specification indicates PowerLimit should be