-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pdu controller] refactoring snmp pdu controller (#3041)
Description of PR Refactoring the SNMP PDU controller code. Summary: Approach What is the motivation for this PR? Clean up the SNMP PDU control code to be a generic SNMP controller controls the whole PDU. How did you do it? Making PDU controller more generic. It should manage the whole PDU controller instead of just for a single DUT. For PDU models that know has lane concept. Make lane ID part of the outlet ID. And outlet ID is the portion of OID that can uniquely identify an outlet on the particular PDU. Label match is still supported by a passed in hostname. Add support to query output power wattage Signed-off-by: Ying Xie [email protected] How did you verify/test it? Ran all test cases invoked pdu controller and tested with devutils
- Loading branch information
Showing
3 changed files
with
135 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.