2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-08 12:40:48 +00:00

Recognize variation in DeviceDescrption.json to see SMM3

This commit is contained in:
Jarrod Johnson
2026-02-02 10:17:32 -05:00
parent 0975bd9e62
commit 99063eb049
@@ -491,7 +491,7 @@ def check_fish(urldata, port=443, verifycallback=None):
data['services'] = ['lenovo-xcc'] if 'xcc-variant' not in peerinfo else ['lenovo-xcc' + peerinfo['xcc-variant']]
return data
except (IndexError, KeyError):
if 'type' in peerinfo and peerinfo['type'].lower() == 'lenovo-smm3':
if 'type' in peerinfo and peerinfo['type'].lower() in ('lenovo-smm3', 'smm3'):
del peerinfo['xcc-variant']
data['uuid'] = peerinfo['enclosure-uuid']
data['services'] = ['lenovo-smm3']