mirror of
https://opendev.org/x/pyghmi
synced 2026-05-16 19:34:21 +00:00
configure the destination type to PET trap first.
Changes are from: https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/2fddbb49fca2b24a7fbc5a3a715f7c5e7121074e (101993) [trap_register] TSMC failed to configure the trap destination on sd350 Configure the destination type to PET trap first, in case the type is email. In the case of email, TMM will reject to accept the ip as the destination. Change-Id: Id2c17c78597c6982cb0cf57b9b45eb06da19ea68
This commit is contained in:
@@ -1226,6 +1226,8 @@ class Command(object):
|
||||
currtype[1] |= 0b10000000
|
||||
else:
|
||||
currtype[1] &= 0b1111111
|
||||
# set PET trap destination
|
||||
currtype[1] &= 0b1111000
|
||||
if acknowledge_timeout is not None:
|
||||
currtype[2] = acknowledge_timeout
|
||||
if retries is not None:
|
||||
|
||||
Reference in New Issue
Block a user