mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix discovery of old SMM firmware
Older SMM firmware will not have neighbor data, ignore and move on in such a case.
This commit is contained in:
parent
2d1ba7cc9b
commit
f21db46cdd
@ -741,6 +741,8 @@ def get_smm_neighbor_fingerprints(smmaddr, cv):
|
||||
smmaddr = '[{0}]'.format(smmaddr)
|
||||
wc = webclient.SecureHTTPConnection(smmaddr, verifycallback=cv)
|
||||
neighs = wc.grab_json_response('/scripts/neighdata.json')
|
||||
if not neighs:
|
||||
return
|
||||
for idx in (4, 5):
|
||||
if 'sha256' not in neighs[idx]:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user