Penghui Cui
b2ef82a685
Use str as key instead of float to avoid computing problems
...
Change-Id: I9084e627e1923b27ceb3c5566306782f5ee45280
2021-10-25 15:56:52 +08:00
Jarrod Johnson
6730deaa34
Fix decode_eventdata in events
...
A partial change failed to cover a calling function.
Change-Id: I61c3d51e7ceb7cd438be7fdea9130d857a779343
2021-10-22 13:49:31 -04:00
Jarrod Johnson
e6fd1be7cc
Try to log out of a stale web session
...
Over time, confluent was inflicting multiple web
sessions, seemingly worse lately.
Change to attempt logout to avoid filling up web sessions.
Change-Id: I1b2e4e1a55bb26b9799973659c444fc15ade059d
2021-10-19 16:04:53 -04:00
Zuul
19ad8680a3
Merge "Improve tests"
2021-10-19 12:15:09 +00:00
Riccardo Pittau
2064aa2f4f
Improve tests
...
Upgrade tox version
Add basic venv environment for tox
Upgrade hacking and pycodestyle versions
Add coverage tests
Move to yoga openstack tests
Change-Id: Ic452ed0ae4075f4b9ece1e49b163b8da5343910e
2021-10-18 14:28:18 +02:00
Penghui Cui
d71188bbd2
Support extention for alert destination handling
...
Change-Id: I02582ec11a432dac0eba7750750182d6d24addd3
2021-10-14 10:06:40 +08:00
Jarrod Johnson
e00036252b
Revert to using the sensor reading
...
The senser event status is optional, so instead
apply the assertion mask to the reading
as a means of letting assertion mask hide
"don't care" threshold crossing.
Change-Id: I23eb741bc4d9edfbdeba5bcf2e2f970959c4fc8d
2021-10-12 12:35:05 -04:00
Zuul
eb10ef736f
Merge "Support alarm level definition extention"
2021-10-12 12:15:59 +00:00
Penghui Cui
0b94605ffd
Support alarm level definition extention
...
Change-Id: I38ec04e46bf5a70dc87991a8f187f5421902b6d5
2021-10-08 19:49:21 +08:00
Penghui Cui
a1c48b6f85
Support extention for set_power/get_power
...
1. support extention handle in plugins
2. add log for bug locating
3. refactor to avoid duplicate code.
Change-Id: I3aa607034d9f3f9f336df3c07f5a7968b6651718
2021-10-08 15:34:43 +08:00
Zuul
edc59e436b
Merge "Add optane dimm for XCC systems"
2021-10-06 13:20:04 +00:00
Zuul
14a53d9aa5
Merge "Add method for power capping get/set"
2021-10-06 12:15:10 +00:00
Jarrod Johnson
612d6d998d
Add optane dimm for XCC systems
...
Optane DIMMs are not normal SPD,
use the proprietary API to fetch information.
Change-Id: If4e9cca602f982c35a756f89b02eae9e35545785
2021-10-06 07:56:19 -04:00
Penghui Cui
44e155931b
add check to avoid exception and add some fields
...
Change-Id: Ie8cde288de3af96f4c68f837595afd5ad3b60520
2021-09-28 13:52:03 +08:00
Penghui Cui
7da708b906
Add method for power capping get/set
...
Change-Id: Icb1e1069d00fc7fa9412c65ac76942bdde765a0a
2021-09-28 09:33:37 +08:00
Zuul
eed3d5b74f
Merge "Add extention for get/set asset tag, fix bugs for overriding"
2021-09-27 13:11:32 +00:00
Zuul
49d21bc7da
Merge "Support getting net configuration from oem handler"
2021-09-27 13:11:31 +00:00
Zuul
c0a750ba20
Merge "Add handler for kent"
2021-09-27 13:11:30 +00:00
Zuul
de68976bdc
Merge "Add firmware version to device_id for some devices change with version"
2021-09-27 12:57:11 +00:00
luyf5
2b0a6d1ed4
Add handler for kent
...
Changes are from:
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/25e7ffb995e8fcd962a473259f8da7ea89a91c87
(111619) [manage] Unable to manage Kent/Riddler and Wild Thing
1. Add handler for kent.
Change-Id: I4e61d3a99aa1f8e144c6377a82f292ab0e8b9360
2021-09-27 17:36:51 +08:00
Penghui Cui
365dbed879
Add firmware version to device_id for some devices change with version
...
Change-Id: I73fdce5a47ca2d89e64e9d3108087d62085c0473
2021-09-26 18:00:22 +08:00
Penghui Cui
fc16c8ad07
Add extention for user operation
...
Change-Id: I17402a1617f31d020428c4d2faeae3f69e452354
2021-09-26 14:33:36 +08:00
Zuul
3d63935ca0
Merge "Support plugin loading mechanism"
2021-09-24 12:41:47 +00:00
Penghui Cui
bd3af9918e
Add extention for get/set asset tag, fix bugs for overriding
...
Change-Id: Ie56b9532acd762a137b150ee65c378a0ea1dcc22
2021-09-24 14:23:29 +08:00
Penghui Cui
ed4f25d894
Support getting net configuration from oem handler
...
Change-Id: I183d8e60ad6513250baaa0a72d5843a424af4849
2021-09-24 10:20:15 +08:00
Jarrod Johnson
023c4a92aa
Fix build id on SMMv1
...
SMMv1 was broken by the SMMv2 fix. The leading
of the result changed as well as the trailing being adaptive in SMMv2.
Change-Id: I07eb2073366f33619624e5c0eae8b0795d416ea5
2021-09-23 08:05:15 -04:00
Penghui Cui
468f1db8b8
Support plugin loading mechanism
...
Change-Id: I24d22da4ee0ef4138ecb79be0927bdafa68da533
2021-09-23 10:32:28 +08:00
Zuul
fc5ded1cf6
Merge "Change PSU Redundancy mode event data"
2021-09-20 12:13:53 +00:00
Zuul
5f2337d661
Merge "configure the destination type to PET trap first."
2021-09-20 12:13:52 +00:00
luyf5
8c63ce392e
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
2021-09-18 15:08:58 +08:00
luyf5
8a48f91c35
Change PSU Redundancy mode event data
...
Changes are from:
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/a65ff374914fe3f94410fa49cfe9f7528dbabcab (70395)[pyghmi]add PSU Redundancy sensor type and change PSU Redundancy mode event data
Change-Id: I48d0feb79fb40a7ea17b6109a16a4291cad8db97
2021-09-18 14:50:32 +08:00
luyf5
5f58618c3b
miss to add field "ControllerIndex" in drive.py
...
Changes are from:
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/f107bd2795159aef13d4024c17f15179935f4263 (64105) Fix raid drive parameter
Change-Id: I6097e14e62db83a86e4e31ff9cca8e587f252614
2021-09-18 14:38:52 +08:00
luyf5
14406a15a8
Support sensor for kent
...
Changes are from:
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/dcb59ab876fff9177449b92e1d7e823840572c5d fix the bug 45862 and bug 46082
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/aa741a6c25a0a3c3b3cb1cafda3d36c2e811a16e fix the issue #1 , #2 , #8 in the review process
Change-Id: If093ccaf7dcc55e3eb5585271a961b403ff9339f
2021-09-14 18:06:19 +08:00
Zuul
83217aa514
Merge "Add a description of the parameters"
2021-09-13 14:01:43 +00:00
Zuul
03edbbde76
Merge "workaround for kent fw defect 45862"
2021-09-13 12:36:15 +00:00
Zuul
1b449b258f
Merge "Support Kent"
2021-09-13 12:36:14 +00:00
Zuul
ec64e7dbae
Merge "Get/Set management controller identifier"
2021-09-13 12:31:28 +00:00
luyf5
3356942329
Get/Set management controller identifier
...
Changes are from
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/d09e23fea99664859bf00f3eae80d8720992d68c#dade58c051d057633b161944993db070adc93aa0 collection of M4 and Kent support - 12032015
Change-Id: Id9db78e0033d746ac7d1d52597045c8a328fa224
2021-09-13 16:16:44 +08:00
luyf5
a9c5f00f46
Support Kent
...
Changes are from:
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/d09e23fea99664859bf00f3eae80d8720992d68c#dade58c051d057633b161944993db070adc93aa0 collection of M4 and Kent support - 12032015
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/aa741a6c25a0a3c3b3cb1cafda3d36c2e811a16e fix the issue #1 , #2 , #8 in the review process
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/2cf9bab8cee7f53f85b573149105436608d7036a Fix bug 50752 [Kent2U4N_SW][LXCA]LED State on Light Path section does not correspond the real state and bug 50756 [Kent2U4N_SW][LXCA]Event name on Alerts page is not correct .
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/c11863bdc8c67797403c27d19c045b85ccdf226f Port fix in v111 to master
Change-Id: I7220b90baeb10e13f8e658505a41b358694eb8ac
2021-09-13 14:37:18 +08:00
luyf5
73d81f2a8c
workaround for kent fw defect 45862
...
Changes are from
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/dcb59ab876fff9177449b92e1d7e823840572c5d fix the bug 45862 and bug 46082
Change-Id: I333f7d47831a124c13153f90de9627602b7cf84e
2021-09-13 10:20:50 +08:00
luyf5
88c0f7b451
Support led for ts460
...
https: //gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/e7f254a39c6396b41a54c48cf6467ce9a6631d5a to fix defect 67045, add led info for ts460 in v121
Change-Id: Ie7212a8a53f216d932ecf14b9d41b37eba314f9b
2021-09-13 10:01:13 +08:00
Zuul
f17b46f986
Merge "Support RS160"
2021-09-10 15:53:58 +00:00
luyf5
ca9810ca3a
Support RS160
...
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/919828c30e8c6540f98363885aeb9b69e01b2092 153295)As an user I want to get the inventory information of RS160
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/bec53c4b29f7bade6820d5bc6cba0d2c76e80c7a Fixes problems in previous commit regarding support of RS160
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/fa25b97c891e6edef64267c60cc9fb3e23f01079 (60750) [legacy_Server][Kent2U4N] Get a wrong UUID of the Kent
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/2856c78477aa4081479ed3b55d229b5a4bd31a2a Refine the code in parse_firmware_info to get the firmware version
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/1313280d4035b4417a02b8d82b9a353ff1cfb535 (66249)[legacy_Server]Unreasonable firmware GUI diaplay for RS160
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/7ba0bf98698df7132333d87bb52da9b11cf833f6 (63296) PIT - LXCA Unable to manage RS160 (Endpoint inventory collection has failed)
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/39a52cb29895b2c4f1655b50a66a51c549a91269 (63715)[discovery_Inventory]Only get Memory information of B1 & B2 slot
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/2b52df7542e7b45f64be9a3c33d9a3de92f2d76d (64213)[discovery_Inventory][Riddler_Nov_SDV_LXCA][1.2.1-41]Motherboard LED & LXCA Light Path LED behavior are mismatch when trigger sensor
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/fa20ef890cc2119a8038a772daab77dd6cfa04ca (67305)[discovery_inventory]When memory install solt 3 and slot 4,Memory Installed Bay Number display error on LXCA Inventory Details page.
Change-Id: I291ca294ab490ce8f6913def95b2e663d6cefda2
2021-09-09 09:25:53 +08:00
luyf5
9a7cd7cf97
set pci vendorid presence to true
...
the change is from:
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/dc5176ec0ffbb88743939faa8ee1a51e7a561665 fix the bug 47217 and issue #10
Change-Id: I2a68e1579a4d32bf11a0193e5b6e76292570f053
2021-09-02 13:56:19 +08:00
Zuul
4febfff5b8
Merge "Memory part number length is 20"
2021-09-01 12:24:27 +00:00
Zuul
ddabe065b1
Merge "change chunksize from 240 to 224"
2021-09-01 12:20:44 +00:00
Zuul
77e14bc6c4
Merge "check the fruinf again as the oem process may return None"
2021-09-01 12:20:42 +00:00
Zuul
d6ff1644c7
Merge "TSMC failed to configure the trap destination"
2021-09-01 12:16:09 +00:00
Zuul
95ecacf9ca
Merge "fix remote console function for thinkserver"
2021-09-01 12:16:08 +00:00
Zuul
593c5f589e
Merge "Bug 100958 - Israel Land Authority - LXCA reporting x3650 M4 false warning"
2021-09-01 12:13:19 +00:00