bernardodemarco opened a new pull request, #10351:
URL: https://github.com/apache/cloudstack/pull/10351

   ### Description
   
   In the Public IP Addresses UI section, the options to release reserved IPs 
(`releaseIpAddress` API) and disassociate IPs (`disassociateIpAddress` API) are 
always available through group actions, regardless of the public IP's state. 
Additionally, the option to disassociate IPs is available for IPs in use by 
system VMs, both through group actions and `dataView`.
   
   This PR fixes these UI bugs. Furthermore, a label, similar to the existing 
ones for `source-nat` and `static-nat`, was created to indicate that a public 
IP is in use by a system VM. Lastly, the `allocated` column in the `ListView`, 
that represents the datetime an IP was allocated, is now parsed and formatted 
according to the user's timezone.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] 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)
   - [ ] build/CI
   - [ ] test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [X] Trivial
   
   ### Screenshots (if appropriate):
   
   - `disassociateIpAddress` through group actions:
       
![image](https://github.com/user-attachments/assets/4c21ae4f-adb6-4a30-a11a-45ab2e4679ab)
   - `releaseIpAddress` through group actions:
       
![image](https://github.com/user-attachments/assets/72453b27-2e26-4742-9708-7741a49c6c72)
   
   ### How Has This Been Tested?
   
   - Created a VPC (`vpc-01`) and acquired two additional public IPs;
   - Accessed the Public IP Addresses UI section and verified that the public 
IPs in use by the system VMs were marked with the `system` tag;
   - Verified that the `allocated` datetime was correctly parsed and formatted 
according to the timezone in use;
   - Verified that:
       - the options to disassociate and release `system` IPs were not 
available through group actions or `dataView`;
       - the options to disassociate and release `source-nat` IPs were not 
available through group actions or `dataView`;
       - the option to disassociate an allocated IP was available through group 
actions;
       - the option to release IP addresses was available for `Reserved` IPs.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to