Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Admin can change the time interval to check the updates by changing the value of xen.update.check.interval global config parameter( by default interval is set to check the updates "Once in a week").

List Host Updates

http://MS-SERVER:8096/client/api?command=listHostUpdates&id=&hostid=&applied=true/false

Parameter

Description

id

uuid of update

hostid

uuid of host

applied

if the patch/update is applied or not(true/false)

In the above mentioned API link, only hostid is required parameter and the other parameters (id and applied) are optional. If admin wants to list all the patches that are not yet applied to a host, set the applied parameter as false and if admin wants to list the applied ones, set the applied parameter as true. If applied parameter is not passed with the API, it will return the list of all applied and not applied patches. To get the details about the single patch, admin need to pass the id (uuid)* *of the patch.

DB Schema changes

New tables

...

ApiName

Request parameters

Response parameters

Available to regular user

listHostUpdates

  • id
  • hostid (required)
  • applied
  • id
  • update Label
  • description
  • update URL
  • timestamp
  • isApplied

No

In the above mentioned API, only hostid is required parameter and the other parameters (id and applied) are optional. If admin wants to list all the patches that are not yet applied to a host, set the applied parameter as false and if admin wants to list the applied ones, set the applied parameter as true. If applied parameter is not passed with the API, it will return the list of all applied and not applied patches. To get the details about the single patch, admin need to pass the id (uuid)* *of the patch.

New classes for client APIs

...