2
0
mirror of https://opendev.org/x/pyghmi synced 2026-03-31 23:33:34 +00:00
Commit Graph

1150 Commits

Author SHA1 Message Date
Zuul
de68976bdc Merge "Add firmware version to device_id for some devices change with version" 2021-09-27 12:57:11 +00: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
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:
2fddbb49fc (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:
a65ff37491 (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:
f107bd2795 (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:
dcb59ab876 fix the bug 45862 and bug 46082
aa741a6c25 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
d09e23fea9 (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:
    d09e23fea9 (dade58c051d057633b161944993db070adc93aa0) collection of M4 and Kent support - 12032015
    aa741a6c25 fix the issue #1, #2, #8 in the review process
    2cf9bab8ce 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 .
    c11863bdc8 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
dcb59ab876 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
919828c30e 153295)As an user I want to get the inventory information of RS160
   bec53c4b29 Fixes problems in previous commit regarding support of RS160
   fa25b97c89 (60750) [legacy_Server][Kent2U4N] Get a wrong UUID of the Kent
   2856c78477 Refine the code in parse_firmware_info to get the firmware version
   1313280d40 (66249)[legacy_Server]Unreasonable firmware GUI diaplay for RS160
   7ba0bf9869 (63296) PIT - LXCA Unable to manage RS160 (Endpoint inventory collection has failed)
   39a52cb298 (63715)[discovery_Inventory]Only get Memory information of B1 & B2 slot
   2b52df7542 (64213)[discovery_Inventory][Riddler_Nov_SDV_LXCA][1.2.1-41]Motherboard LED & LXCA Light Path LED behavior are mismatch when trigger sensor
   fa20ef890c (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:
dc5176ec0f 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
luyf5
accc24cdd4 change chunksize from 240 to 224
change is from fru.py in below gitlab commit.
d09e23fea9 (dade58c051d057633b161944993db070adc93aa0) collection of M4 and Kent support - 12032015

Change-Id: Idd2197edf49f3ca3df56d21b2082db6f4dd8aa1b
2021-09-01 17:08:13 +08:00
luyf5
f61ffcac04 check the fruinf again as the oem process may return None
the change is from
d09e23fea9 (dade58c051d057633b161944993db070adc93aa0)
collection of M4 and Kent support - 12032015

Change-Id: I2546634397ebf705d125be5ff88024533a3196ba
2021-09-01 17:00:12 +08:00
luyf5
bf2c3698c6 Memory part number length is 20
https: //gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/30e9f5dc34fcf4f2965b9d79bf9ac70ae17828e0 (163201) [ipmi] [PA_Agile_SDV_Sprint17_LXCA 2.4.0-61_Reno_red]MEM part number in LXCA and in IMM web are mismatched.
Change-Id: Ie184f2fd7e9d0c3fcec74c62a475bf16eb1c056f
2021-09-01 15:46:29 +08:00
luyf5
0b7149c11b fix remote console function for thinkserver
6f9e457b5b Fix remote console function for thinkserver

Adds conn.cookies = {} to erase the cookies stored by the webclient.
We do not want to use it's cookies management mechanism, since it will
erase an authentication cookie we need to pass in a following request.

Change-Id: I26e3599caff5c6159ec798b62e972747f0a4109f
2021-09-01 15:34:43 +08:00
luyf5
5c4daa5541 TSMC failed to configure the trap destination
2fddbb49fc (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: Id581bd8204489de1d88d0bc21b74c71e8ed68de2
2021-09-01 15:27:47 +08:00
luyf5
c68c56f9d0 Bug 100958 - Israel Land Authority - LXCA reporting x3650 M4 false warning
ad17f492cc (100958) [pyghmi] Bug 100958 - Israel Land Authority - LXCA reporting x3650 M4 false warning "The Cooling Device sensor for Fan Zone 2 reported 658179 status with severity of WARNING"

Change the sdr decoding to add the assertion event mask.

Change-Id: I0ecbd90275acd2dfa79bcb8a113ad610e9dcd3d7
2021-09-01 14:40:00 +08:00
Jarrod Johnson
2f1fc1e0d9 Discard disused webclient
In some environments, this was keeping a stale file
descriptor alive.

Change-Id: Iad94c9dc6a7bb46dce6d7597e1639e127363c5b9
2021-08-31 15:48:01 -04:00
Zuul
9d548ce378 Merge "add PSU Redundancy sensor type" 2021-08-31 12:01:34 +00:00
Zuul
0b8a25d585 Merge "Edit FRU parser to get board Id" 2021-08-31 12:01:33 +00:00
Zuul
79d63c218a Merge "Fix raid drive parameter" 2021-08-31 12:01:31 +00:00
Zuul
3310389448 Merge "Accept utf8 strings in FRU data" 2021-08-31 11:57:53 +00:00
Zuul
2a98eb74c9 Merge "Fix typo in param description" 2021-08-31 11:54:03 +00:00
Zuul
8bb1dbe023 Merge "fru: add chassis type 0: Unspecified" 2021-08-31 11:53:12 +00:00
Zuul
9bcb355759 Merge "Use weak reference to return a proxy of object for gc" 2021-08-31 11:51:36 +00:00
Zuul
1f9b9a60de Merge "visualize version numbers according to format x.x.x" 2021-08-31 11:50:09 +00:00
Zuul
af547fe953 Merge "Fix expired weakref reference exception" 2021-08-31 11:41:26 +00:00
Zuul
ae4decba2a Merge "Allow Confluent to create users with KVM bit" 2021-08-31 11:40:59 +00:00
luyf5
0ef75a0e21 Use weak reference to return a proxy of object for gc
a64eb41ecd (75175)[legacy_Servers]Electrolux - M4/M5 Nodes appear offline
use weak reference to return a proxy of object for garbage collection

Change-Id: I89ea4f06c5b163e576491e74a5c62b66eb6fcc7a
2021-08-31 17:45:41 +08:00
luyf5
3163281c01 add PSU Redundancy sensor type
https: //gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/176f890d4c0efeabc9bc9c5a9f2a6a24f7f98608 (70395)[pyghmi]add psu redundanch sensor type
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: Id81e0a62f2ae4233ee6d7bc2b549c77ba62782c8
2021-08-31 17:18:17 +08:00
luyf5
4f9c415bc0 Edit FRU parser to get board Id
https: //gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/618e32b5f20fd0b3cb223a6800bae977d9c1ee6d Edit FRU parser to get board Id
Change-Id: If9d969cd21e1d6b5092cea8301af6e4ae1b1c626
2021-08-31 17:08:34 +08:00
luyf5
61613f08fb Fix raid drive parameter
https: //gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/f107bd2795159aef13d4024c17f15179935f4263 (64105) Fix raid drive parameter
Change-Id: Iabe4eff03251a2c2540e9523a4cb1310bb5440b6
2021-08-31 16:42:25 +08:00