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


   ### Description: 
   
   CloudStack API does support to enable/disable Storage pools via command 
[updateStoragePool](https://cloudstack.apache.org/api/apidocs-4.14/apis/updateStoragePool.html);
 however, neither the _legacy UI_ neither CloudStack Primate adds such action 
button.
   
   With that said, this PR adds a button to call the  
[updateStoragePool](https://cloudstack.apache.org/api/apidocs-4.14/apis/updateStoragePool.html)
 API command with the `enabled` parameter set to **true** (for enabling) or 
**false** (Disabling).
   
   ### Screenshots:
   
   #### Storage enabled
   - added _circle-pause_ button
   
![image](https://user-images.githubusercontent.com/5025148/100650841-4f2aa980-3323-11eb-914e-3b22adb41376.png)
   
   - Pop-up so ADMIN can cancel or proceed with operation
   
![image](https://user-images.githubusercontent.com/5025148/100650898-6a95b480-3323-11eb-909f-15a66da87afc.png)
   
   #### Storage disabled
   - added _circle-play_ button
   
![image](https://user-images.githubusercontent.com/5025148/100651081-ac265f80-3323-11eb-9fc3-bf67103797b3.png)
   
   - Pop-up so ADMIN can cancel or proceed with operation
   
![image](https://user-images.githubusercontent.com/5025148/100651125-c06a5c80-3323-11eb-9c60-03013447c359.png)
   
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to