You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/18 03:29:58 UTC

[jira] [Commented] (CLOUDSTACK-9457) Allow retrieval and modification of VM and template details via API and UI

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675619#comment-15675619 ] 

ASF GitHub Bot commented on CLOUDSTACK-9457:
--------------------------------------------

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 <ni...@gmail.com>
Date:   2016-11-18T02:18:16Z

    CLOUDSTACK-9457: Allow retrieval and modification of VM and template details via API and UI

----


> Allow retrieval and modification of VM and template details via API and UI
> --------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9457
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9457
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.10.0.0
>            Reporter: Nicolas Vazquez
>            Assignee: Nicolas Vazquez
>            Priority: Minor
>
> h2. Introduction
> As suggested on [9379|https://issues.apache.org/jira/browse/CLOUDSTACK-9379], it would be nice to be able to customize vm details through API



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)