2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-28 11:57:34 +00:00

Change bmc restart type to graceful

Generally speaking, this is all BMCs know to do anyway.
Some make the distinction and refuse the Force variant,
so go for the Graceful.

Change-Id: I093261e46b8ce7305d8be9938e45579cfc367110
This commit is contained in:
Jarrod Johnson 2019-07-10 13:41:22 -04:00
parent 4097248917
commit cfb50d0598

View File

@ -731,7 +731,7 @@ class Command(object):
def reset_bmc(self):
self._do_web_request(self._bmcreseturl,
{'ResetType': 'ForceRestart'})
{'ResetType': 'GracefulRestart'})
def set_identify(self, on=True, blink=None):
self._do_web_request(