GabrielBrascher opened a new pull request #4175:
URL: https://github.com/apache/cloudstack/pull/4175


   ## Description
   <!--- Describe your changes in detail -->
   
   This PR adds support for the OOBM Redfish protocol, implementing a Java 
client to send HTTP requests to Redfish supported systems.
   
   Implementation overview:
   - Redfish Java client: a Java Client for Redfish that makes Redfish actions 
available to the HA workflow via an OOB driver.
   - OOB Redfish driver: a new Out-of-band driver was created for Redfish, 
allowing to integrate the Redfish Client with the CloudStack Out-of-band 
management implementation.
   
   <!-- For new features, provide link to FS, dev ML discussion etc. -->
   <!-- In case of bug fix, the expected and actual behaviours, steps to 
reproduce. -->
   
   Fixes: 3624
   
   **Thanks note:** this implementation counted with the help from our friends 
at [Yourhosting](https://www.yourhosting.nl/).
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ## Screenshots (if appropriate):
   Configure OOBM with Redfish driver
   
![image](https://user-images.githubusercontent.com/5025148/85565017-1fa1a380-b605-11ea-97d0-786d9eb976da.png)
   Check OOBM host tab
   
![image](https://user-images.githubusercontent.com/5025148/85565051-26c8b180-b605-11ea-9a5c-aa393ec44fa3.png)
   Test powering On and Off hosts. Host status is properly shown
   
![image](https://user-images.githubusercontent.com/5025148/85567065-eff39b00-b606-11ea-94b2-7809aa5504be.png)
   
   ## How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   <!-- see how your change affects other areas of the code, etc. -->
   We have been able to test on Dell and Supermicro machines and it works fine:
   
   1. via the CloudStack UI, enable redfish oob driver for host n05
   2. verified that ACS can retrieve the redfish system ID and system power 
state
   3. powering Off node works as expected, host state transition worked well 
and the host was indeed powered off
   4. powering On also worked as expected, CloudStack host state transition as 
expected, host is indeed up again
   
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md)
 document -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to