summaryrefslogtreecommitdiffstats
path: root/obmc
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2017-11-21 15:15:14 -0600
committerAndrew Geissler <geissonator@yahoo.com>2017-11-21 15:17:50 -0600
commit7c08c35781b5da36d9195c942745c19fc297df68 (patch)
tree3872d10b36d1b14d5e96aaf5648b9cc5345aa798 /obmc
parent2b0543482c73eff66dc9f0cf126af3a86feb48c7 (diff)
downloadpyphosphor-7c08c35781b5da36d9195c942745c19fc297df68.tar.gz
pyphosphor-7c08c35781b5da36d9195c942745c19fc297df68.zip
Change default of PowerSupplyRedundancy to enabled
By default, systems should be in redundant mode so the power management system properly handles power supply failures. When this setting is disabled, the OCC will disable GPU throttling and will not enforce a n level power cap. Partially Resolves openbmc/openbmc#2665 Change-Id: I7850d962172d3a0209ef5fee8d39b5c57e6ef5c0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'obmc')
-rw-r--r--obmc/sensors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obmc/sensors.py b/obmc/sensors.py
index 2153371..5700922 100644
--- a/obmc/sensors.py
+++ b/obmc/sensors.py
@@ -110,7 +110,7 @@ class OperatingSystemStatusSensor(VirtualSensor):
class PowerSupplyRedundancySensor(VirtualSensor):
def __init__(self, bus, name):
VirtualSensor.__init__(self, bus, name)
- super(PowerSupplyRedundancySensor, self).setValue("Disabled")
+ super(PowerSupplyRedundancySensor, self).setValue("Enabled")
## override setValue method
@dbus.service.method(
OpenPOWER on IntegriCloud