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 2017/01/06 12:30:58 UTC
[jira] [Commented] (CLOUDSTACK-9700) Allow user to Register/Copy
templates to multiple zones at the same time
[ https://issues.apache.org/jira/browse/CLOUDSTACK-9700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804454#comment-15804454 ]
ASF GitHub Bot commented on CLOUDSTACK-9700:
--------------------------------------------
GitHub user rashmidixit opened a pull request:
https://github.com/apache/cloudstack/pull/1894
CLOUDSTACK-9700 Allow user to Register/Copy templates to multiple zones at the same time
A user can currently copy or register a template with only one zone at a time.
The idea of this feature is to allow the user to allow copying or registering of one template to multiple zones at the same time.
For RegisterTemplate and CopyTemplate APIs have been modified to add a new parameter called zoneIds. This is not compulsory to keep backward compatibility.
The UIs have been changes - When you add, the earlier select control for zones now is a multi select and you can choose multiple zones at the same time.
For CopyTemplate a new dialog has been added - this shows all the zones you can copy to and allows you to select multiple at a time.
Please see [CLOUDSTACK-9700](https://issues.apache.org/jira/browse/CLOUDSTACK-9700) for more details. Snapshots of the UI have been attached there.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Accelerite/cloudstack CLOUDSTACK-9700
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1894.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 #1894
----
commit c4d97f366d0e79f97649b5574f734b3c14125281
Author: rashmidixit <ra...@persistent.co.in>
Date: 2016-07-06T12:05:47Z
CLOUDSTACK-9700 RegisterTemplate API and Add Template UI changes to support template registration to multiple zones
Reviewed-By Rajani K, Kaushik D, Hari P, Nitin M
This change enabled to register a template
to multiple zones in one go. The UI has been changed to allow this.
RegisterTemplate API has also been updated for this. ~10 junit tests
have been added to test the API.
Conflicts:
api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BareMetalTemplateAdapter.java
plugins/hypervisors/baremetal/src/com/cloud/wds/networkservice/WdsTemplateAdapter.java
server/src/com/cloud/template/HypervisorTemplateAdapter.java
server/src/com/cloud/template/TemplateAdapterBase.java
ui/scripts/templates.js
commit 4d5554401edfcf3da4d8b2bdf4eb458e0ac40dd4
Author: sanket_thite <sa...@accelerite.com>
Date: 2016-09-01T05:25:42Z
CLOUDSTACK-9700 Copy Template to multiple zones Instead of Single/All Zones
Reviewed-By: Rashmi,Rajani,Harikrishna,Nitin.
Conflicts:
client/WEB-INF/classes/resources/messages.properties
server/src/com/cloud/template/TemplateManagerImpl.java
ui/css/cloudstack3.css
ui/dictionary2.jsp
ui/index.html
commit d92b1e4a151b60aa4440f1c741f23b275d0a6951
Author: rashmidixit <ra...@persistent.co.in>
Date: 2017-01-06T12:25:32Z
CLOUDSTACK-9700 Added missing License information to the new files.
----
> Allow user to Register/Copy templates to multiple zones at the same time
> ------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9700
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9700
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Template, UI
> Affects Versions: 4.7.0, 4.8.0, 4.9.0
> Reporter: Rashmi Dixit
> Assignee: Rashmi Dixit
> Fix For: 4.10.0.0
>
>
> A user can currently copy or register a template with only one zone at a time.
> The idea of this feature is to allow the user to allow copying or registering of one template to multiple zones at the same time.
> Both the UI and API need changes in this case. The UI for the destination zone is currently a drop down. It can be a multi-select box.
> The APIs need to accept destination zone as an array instead of a single ID.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)