...
New classes for client APIs
- ListHostUpdatesCmd.java
- HostUpdatesResponse.java
New objects interfaces:
New VO and Dao objects:
- HostUpdatesDao.java
- HostUpdatesDaoImpl.java
- HostUpdatesVO.java
- PatchHostRefDao.java
- PatchHostRefDaoImpl.java
- PatchHostVO.java
New managers interfaces and implementation:
- HostUpdatesManager.java
- HostUpdatesManagerImpl.java
Changes to Existing Files:
- Added a new method "searchForHostUpdates" in ManagementService.java and implemented in ManagementServerImpl.java
- Added a new method* in CitrixResourceBase.java to get the information about the applied patches to a host using XAPI *calls.
- Added a call in ResourceManagerImpl.java to delete the update entries from patch_host_ref table only if admin removes the associated host.
- Added new call createHostUpdateResponse in interface ResponseGenerator.java *and implemented it in *ApiResponseHelper.java .
- Added new files HostUpdatesDaoImpl.java and PatchHostRefDaoImpl.java into DefaultComponentLibrary.java .
New Agent APIs:
- hostUpdatesCommand.java
- hostUpdatesAnswer.java
Logging and Debugging
All logs will go to vmops.log (dev setup) and management-server.log (RPM install setup)
Current limitations
- Implements Initial implementation will only for Xenserver Hypervisorhypervisor. Going forward, this feature can be made available for other hypervisors.
UI flow
This is the mockup UI, will modify it as per the suggestions.
Step 1: Navigate to the detailView page of a host, there you will find a new tab tab "Updates".
Step 2: * Click on* "Updates"* tab to get a list of updates for this host. Image Removed
Appendix
Appendix A:
...
Image Added