Conversation
|
Could you list the commands that you used to test this so that I can attempt to replicate? It would help a lot if I knew what the intended way to use this was. This is the standard process we are trying to move towards that was outlined in OpenCHAMI/roadmap#95. Thanks, sorry to be a stickler here... |
|
Taking this to Tamarindo, I am seeing: Did you run this on Tamarindo? |
|
On second thought, I don't think this is specific to this PR, I think something might have gotten jumbled in the interim. Let me look into it more... |
|
How did you get this to query the PDUS from a remote machine? I finally fixed the build issue and am now seeing: Which makes sense, given |
|
Looks like you need to add |
Signed-off-by: Michael Buchmann <michael.buchmann@hpe.com>
e593778 to
b93956f
Compare
|
@mbuchmann-hpe and @bmcdonald3 What's the status of this one? |
|
Just getting back from vacation, but I think Mike decided he was going to close this one in favor of #45. I don't think we want this one open anymore, but I'm unable to close PRs here. @mbuchmann-hpe is that correct? Could you close this PR if so? |
Summary and Scope
Adds JAWS PDU Support:
ServerTech PDUs do not use Redfish, but instead uses the JSON API Web Service (JAWS).
Instead of creating an interface which converts Redfish calls to JAWS, it was decided to add support for PCS to call JAWS directly.
Added the file jaws.go which takes care of the JAWS calls and monitoring of the PDU.
The URIs must be setup correctly in SMD (HSM) to detect these PDUs and make the correct calls.
Testing
Tested locally using the SMD setup on Tamarindo and the PDU from another local system. Able to detect PDUs, query and store power status and power on/off outlets.
Test Procedure
Using a ServerTech PDU, add the PDU to SMD/HSM. PCS should automatically discover the PDU and start to monitor it for power status.
Test using the following curl (these assume PCS is running on localhost:28007 and the PDU is x3000m0)
Risks and Mitigations
Changes where carefully done to leave all current functionality in tact.
Environment variables must be set to enable the PDU monitoring (see Dockerfile).