This developer documentation isoutdated, but provides historical context.

It isnotuser documentation and should not be treated as such.

Documentation is available here.

Vm Parameters in REST API for Vm Pools

Summary

Add VM parameters to VmPool collection in REST API. Currently a majority of the parameters available in the UI are missing from VmPool collection in REST API.

Owner

Detailed Description

The problem is described in Bug 1195167.

Currently a majority of VM parameters that are available in the UI when adding VM Pool are missing from REST API VmPool collection. The parameters available for VmPool are:

  • vmpool.cluster.id|name
  • vmpool.template.id|name
  • vmpool.name
  • vmpool.comment
  • vmpool.size
  • vmpool.max_user_vms
  • vmpool.display.proxy
  • vmpool.description

That means that VM parameters are inherited from the template used and there is no way to override them on VmPool level. In contrary, WebAdmin UI has this feature.

The proposal is to add new <vm> subelement with all the VM fields into the <vmpool> element. The values of these fields will override the values of the corresponding template parameters. The structure will be as follows:

` ``50`  ... ` `