2
0
mirror of https://opendev.org/x/pyghmi synced 2025-02-10 15:54:29 +00:00

Do not expect a reply to bmc reset

Some devices will never reply, be optimistic about the
reset making it through the network

Change-Id: I912dab9c25d4041e2e8b1b1db8dc9d26d5830ea0
This commit is contained in:
Jarrod Johnson 2022-11-30 11:26:56 -05:00
parent 0eef3fcfba
commit 2a525bb1e6

View File

@ -407,8 +407,7 @@ class Command(object):
def reset_bmc(self):
"""Do a cold reset in BMC"""
response = self.raw_command(netfn=6, command=2)
response = self.raw_command(netfn=6, command=2, retry=False)
if 'error' in response:
raise exc.IpmiException(response['error'])