pyghmi 1.5.76__py3-none-any.whl → 1.5.77__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyghmi/ipmi/oem/lenovo/config.py +4 -0
- {pyghmi-1.5.76.dist-info → pyghmi-1.5.77.dist-info}/METADATA +1 -1
- {pyghmi-1.5.76.dist-info → pyghmi-1.5.77.dist-info}/RECORD +9 -9
- pyghmi-1.5.77.dist-info/pbr.json +1 -0
- pyghmi-1.5.76.dist-info/pbr.json +0 -1
- {pyghmi-1.5.76.dist-info → pyghmi-1.5.77.dist-info}/AUTHORS +0 -0
- {pyghmi-1.5.76.dist-info → pyghmi-1.5.77.dist-info}/LICENSE +0 -0
- {pyghmi-1.5.76.dist-info → pyghmi-1.5.77.dist-info}/WHEEL +0 -0
- {pyghmi-1.5.76.dist-info → pyghmi-1.5.77.dist-info}/entry_points.txt +0 -0
- {pyghmi-1.5.76.dist-info → pyghmi-1.5.77.dist-info}/top_level.txt +0 -0
pyghmi/ipmi/oem/lenovo/config.py
CHANGED
@@ -351,6 +351,7 @@ class LenovoFirmwareConfig(object):
|
|
351
351
|
readonly = 'true'
|
352
352
|
possible = []
|
353
353
|
current = None
|
354
|
+
currentidxes = []
|
354
355
|
default = None
|
355
356
|
reset = False
|
356
357
|
name = setting.find("mriName").text
|
@@ -381,6 +382,7 @@ class LenovoFirmwareConfig(object):
|
|
381
382
|
instbynum[xid] = x
|
382
383
|
defidx += 1
|
383
384
|
current = [instbynum[idx].text for idx in sorted(instbynum)]
|
385
|
+
currentidxes = list(sorted(instbynum))
|
384
386
|
default = onedata.get('default', None)
|
385
387
|
if default == '':
|
386
388
|
default = None
|
@@ -442,6 +444,8 @@ class LenovoFirmwareConfig(object):
|
|
442
444
|
if current and len(current) > 1:
|
443
445
|
instidx = 1
|
444
446
|
for inst in current:
|
447
|
+
if currentidxes:
|
448
|
+
instidx = currentidxes.pop(0)
|
445
449
|
optname = '{0}.{1}'.format(optionname, instidx)
|
446
450
|
options[optname] = dict(
|
447
451
|
current=inst,
|
@@ -20,7 +20,7 @@ pyghmi/ipmi/oem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
pyghmi/ipmi/oem/generic.py,sha256=-5mIxczwkvOdRy2NSPbSgPerQ5AMez-KhC8AkOrwkL0,18614
|
21
21
|
pyghmi/ipmi/oem/lookup.py,sha256=Ex00OEEolsdWCVhyP0QDGzOxHGEA7sKI8a8fW4kJPD8,3653
|
22
22
|
pyghmi/ipmi/oem/lenovo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
|
-
pyghmi/ipmi/oem/lenovo/config.py,sha256=
|
23
|
+
pyghmi/ipmi/oem/lenovo/config.py,sha256=gxFl5Z-RSDyEvbmcQ_RI2xbaW7gdSWm_ysJeXxV0P_0,26325
|
24
24
|
pyghmi/ipmi/oem/lenovo/cpu.py,sha256=POZMP9n2S1v6r8iNStkCOVEiQYs3ut3RqL_9x-kgOFw,1651
|
25
25
|
pyghmi/ipmi/oem/lenovo/dimm.py,sha256=L8k1aBgtvxqyubDBNKdDkz80pDE8Sck1eMLcMz1GhFI,1875
|
26
26
|
pyghmi/ipmi/oem/lenovo/drive.py,sha256=MmVgaosEwJXcwi1kKYGnY-dbrx4Zp55941qWMvprUMA,2055
|
@@ -64,11 +64,11 @@ pyghmi/tests/unit/ipmi/test_sdr.py,sha256=vb3iLY0cnHJ2K_m4xgYUjEcbPd_ZYhYx-uBowB
|
|
64
64
|
pyghmi/util/__init__.py,sha256=GZLBWJiun2Plb_VE9dDSh4_PQMCha3gA7QLUqx3oSYI,25
|
65
65
|
pyghmi/util/parse.py,sha256=6VlyBCEcE8gy8PJWmEDdtCyWATaKwPaTswCdioPCWOE,2120
|
66
66
|
pyghmi/util/webclient.py,sha256=782_yMuy_LuN9E2vh2EJ-R64X_EyvLLRuurE__jfn20,15371
|
67
|
-
pyghmi-1.5.
|
68
|
-
pyghmi-1.5.
|
69
|
-
pyghmi-1.5.
|
70
|
-
pyghmi-1.5.
|
71
|
-
pyghmi-1.5.
|
72
|
-
pyghmi-1.5.
|
73
|
-
pyghmi-1.5.
|
74
|
-
pyghmi-1.5.
|
67
|
+
pyghmi-1.5.77.dist-info/AUTHORS,sha256=-0iHKtdQwAJfAGKcruCnvcQXrXuE_LgBZ3P15DJI1xY,2044
|
68
|
+
pyghmi-1.5.77.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
69
|
+
pyghmi-1.5.77.dist-info/METADATA,sha256=vGNVD3HFcrVNpj1IgdCPFTsS165Zmw0JLCSxagRV1ag,1137
|
70
|
+
pyghmi-1.5.77.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
71
|
+
pyghmi-1.5.77.dist-info/entry_points.txt,sha256=-OpJliDzATxmuPXK0VR3Ma-Yk_i4ZhfIIB-12A26dSI,168
|
72
|
+
pyghmi-1.5.77.dist-info/pbr.json,sha256=bMLCDGwW8QTeMX-sRWFYm0VDMdoXgjoox4GwcdTx5hA,46
|
73
|
+
pyghmi-1.5.77.dist-info/top_level.txt,sha256=aDtt6S9eVu6-tNdaUs4Pz9PbdUd69bziZZMhNvk9Ulc,7
|
74
|
+
pyghmi-1.5.77.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
{"git_version": "4bbf63c", "is_release": true}
|
pyghmi-1.5.76.dist-info/pbr.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"git_version": "345fd8b", "is_release": true}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|