opiproject / pydpu

Python library and cli to communicate with DPUs and IPUs
Apache License 2.0
5 stars 8 forks source link

feat: add redfish basic comamnds #140

Closed glimchb closed 9 months ago

glimchb commented 9 months ago

example:

$ docker run --rm --network=host a690eb4652e9 --address 10.246.87.241 redfish --username root --password 0openBmc test
[]
2023-11-16T17:44:10+00:00
[{'@odata.id': '/redfish/v1/AccountService/Accounts/root'}]

Signed-off-by: Boris Glimcher Boris.Glimcher@emc.com

codecov[bot] commented 9 months ago

Codecov Report

Attention: 75 lines in your changes are missing coverage. Please review.

Comparison is base (eb1319c) 35.72% compared to head (ffcd95c) 35.24%.

Files Patch % Lines
pydpu/dpuredfish/systems.py 19.04% 34 Missing :warning:
pydpu/dpuredfish/managers.py 24.00% 19 Missing :warning:
pydpu/dpuredfish/accounts.py 27.77% 13 Missing :warning:
pydpu/cli.py 52.63% 9 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #140 +/- ## ========================================== - Coverage 35.72% 35.24% -0.48% ========================================== Files 22 25 +3 Lines 1744 1847 +103 ========================================== + Hits 623 651 +28 - Misses 1121 1196 +75 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.