Skip to content

Conversation

@ohporter
Copy link
Contributor

@ohporter ohporter commented Dec 19, 2025

Description

Add a new power driver for Sentry PDUs that use sequential OID mapping. This supports single-bank models like CW-16V1 which number ports sequentially (1.1.1 through 1.1.16) rather than using the multi-bank scheme (6 banks of 8 outlets) used by models like CW-24VDD.

Documentation now describes both backends and explains when to use each one.

Verified on a Sentry CDU CW-16V1.

Checklist

  • Documentation for the feature
  • Tests for the feature
  • The arguments and description in doc/configuration.rst have been updated
  • PR has been tested

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.2%. Comparing base (2f0bdf1) to head (97ec4a9).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1789     +/-   ##
========================================
+ Coverage    45.1%   45.2%   +0.1%     
========================================
  Files         172     173      +1     
  Lines       13618   13647     +29     
========================================
+ Hits         6144    6173     +29     
  Misses       7474    7474             
Flag Coverage Δ
3.10 45.2% <100.0%> (+0.1%) ⬆️
3.11 45.2% <100.0%> (+0.1%) ⬆️
3.12 45.2% <100.0%> (+0.1%) ⬆️
3.13 45.2% <100.0%> (+0.1%) ⬆️
3.14 45.2% <100.0%> (+0.1%) ⬆️
3.9 45.2% <100.0%> (+0.1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Add a new power backend for Sentry PDUs that use sequential OID mapping
(1.1.1 through 1.1.16) instead of the multi-bank mapping used by the
existing sentry backend. This is suitable for single-bank models like
the CW-16V1.

The original sentry backend remains unchanged for multi-bank models
like CW-24VDD and 4805-XLS-16.

Includes unit tests with 100% coverage for the new backend.

Signed-off-by: Matt Porter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant