cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7871) Fix update VirtualMachine/Template API to allow nic/disk controller details for VMWare VMs/Templates
Date Mon, 10 Nov 2014 12:31:34 GMT

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

ASF subversion and git services commented on CLOUDSTACK-7871:
-------------------------------------------------------------

Commit 5e57eeefd95ccc7af4b6922b50fa058b421080d4 in cloudstack's branch refs/heads/4.4 from
[~rohit.yadav@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5e57eee ]

CLOUDSTACK-7871: allow VM and template details update using update APIs

Allows updating details (key/value) pair which updatse entries
invm_template_details and user_vm_details tables using updateVM and updateTemplate
APIs. This allows sys admins to update nics, controllers etc without DB hacking.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 97fa4a023e2346b3b9f56bf213ed4125c371ca6d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	api/src/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java
	server/src/com/cloud/vm/UserVmManagerImpl.java


> Fix update VirtualMachine/Template API to allow nic/disk controller details for VMWare
VMs/Templates
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7871
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7871
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.4.0, 4.5.0, 4.3.1, 4.4.1
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>
> In case of VMWare, when we register a new template we can pass in nic type and disk controller
but there is no API (or parameter passable to current APIs) to change nic type and disk controller
for both VM and template. The fix is that we add a details map type to the updateTemplate
and updateVirtualMachine API which updates the nic/disk controller values in the database.



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

Mime
View raw message