GitHub user nvazquez opened a pull request:
https://github.com/apache/cloudstack/pull/1767
CLOUDSTACK-9457: Allow retrieval and modification of VM and template
details via API and UI
JIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-9457
### Goal
This PR proposes list/add/update/delete user vm and vm template details via
API and UI.
### New API methods
| Method name| Desc | Params|
| ------------- |:-------------:|:-----:|
| `listTemplateDetails` / `listVirtualMachineDetails` | List all details |
`templateid` / `virtualmachineid` (required) |
| | | detailid (optional) |
| Method name| Desc | Params|
| ------------- |:-------------:|:-----:|
| `addTemplateDetail` / `addVirtualMachineDetail` | Add detail |
`templateid` / `virtualmachineid` (required) |
| | | `detailname` (required) |
| | | `detailvalue` (required) |
| Method name| Desc | Params|
| ------------- |:-------------:|:-----:|
| `updateTemplateDetail` / `updateVirtualMachineDetail` | Update detail |
`templateid` / `virtualmachineid` (required) |
| | | `detailid` (required) |
| | | `detailname` (required) |
| | | `detailvalue` (required) |
| Method name| Desc | Params|
| ------------- |:-------------:|:-----:|
| `deleteTemplateDetail` / `deleteVirtualMachineDetail` | Delete detail |
`templateid` / `virtualmachineid` (required) |
| | | detailid (required) |
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nvazquez/cloudstack userVmAndTemplatesDetails
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1767.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1767
----
commit 04bd4a49cd71da4096f9fe05d2cb17b903cb72cb
Author: nvazquez <[email protected]>
Date: 2016-11-18T02:18:16Z
CLOUDSTACK-9457: Allow retrieval and modification of VM and template
details via API and UI
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---