-
-
Notifications
You must be signed in to change notification settings - Fork 238
driver/pe6216: add support for Aten PE6216 PDU #1324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
driver/pe6216: add support for Aten PE6216 PDU #1324
Conversation
|
Thanks for taking the time to contribute to labgrid! PR looks good to me.
I can't find the 'no-wait' option in that pdf. Could you explain why you decided against using this option? |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1324 +/- ##
========================================
- Coverage 45.2% 45.2% -0.1%
========================================
Files 173 174 +1
Lines 13721 13743 +22
========================================
+ Hits 6203 6212 +9
- Misses 7518 7531 +13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
I am sorry for such a late reply. I made a mistake, it is not a I have decided against this option because it is safeguarding the DUTs against rapid switching of power, that might occur with immediate mode. I think that in more cases a lot of people would then implement such wait manually (with Probably the best and most flexible solution would be some kind of option, that could be put inside the labgrid configuration, but I am not sure if there is any support in labgrid for that right now. |
|
Hello, I would like to ask about the state of this pull request? What should I do to make it accepted? Is the problem the coverage? Could you give me some pointers about how should I approach it? I am not really sure how to test power drivers. |
b6f8d65 to
bd5960c
Compare
|
Greetings, What is the state of this PR? We could really use it. |
bd5960c to
8b52be2
Compare
|
@Bastian-Krause is there something missing for this to get merged? We have been using a fork for almost two years at this point. |
The support for Aten PDU family is not present in the `pdudameon` at the moment, hence we have to add it here. Signed-off-by: Daniel Kříž <daniel.kriz@protonmail.com> [bst: check for HTTP errors, format, document username/password, add import test] Signed-off-by: Bastian Krause <bst@pengutronix.de>
8b52be2 to
a2557a5
Compare
|
Force-pushed: rebased, add check for HTTP errors, reformatted, document that default username/password is expected, add import test, use ExecutionError instead of RuntimeError |
Description
We are using the Aten PE6216 PDU on our testfleet and we want to use labgrid for test management. This PDU is not present in labgrid power drivers or in the
pdudaemonproject, hence we have to add it.I did test it on our test fleet with few very simple tests:
(PDU takes some time to change states as it has built-in delay between changes (althrough they can be turned of with 'no-wait' option in the HTTP request))
Checklist