1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00
* B #5408: VMGroup datatable show configurable (instantiate VM)

* B #5408: VNet datatable show configurable (instantiate VM)

* B #5408: Hide VMGroup when its disabled from .yaml

* B #5408: Updated all .yamls
This commit is contained in:
Abel Coronado 2017-09-28 16:14:22 +02:00 committed by Tino Vázquez
parent 6d5e8e0438
commit b759ecc518
7 changed files with 41 additions and 0 deletions

View File

@ -59,6 +59,12 @@ features:
# True to show the datastore datatable to instantiate VM
show_ds_instantiate: true
# True to show the vmgroup datatable to instantiate VM
show_vmgroup_instantiate: true
# True to show the vnet datatable to instantiate VM
show_vnet_instantiate: true
# True to show the host datatable to instantiate VM
show_host_instantiate: true

View File

@ -59,6 +59,12 @@ features:
# True to show the datastore datatable to instantiate VM
show_ds_instantiate: false
# True to show the vmgroup datatable to instantiate VM
show_vmgroup_instantiate: true
# True to show the vnet datatable to instantiate VM
show_vnet_instantiate: true
# True to show the host datatable to instantiate VM
show_host_instantiate: false

View File

@ -59,6 +59,12 @@ features:
# True to show the datastore datatable to instantiate VM
show_ds_instantiate: false
# True to show the vmgroup datatable to instantiate VM
show_vmgroup_instantiate: true
# True to show the vnet datatable to instantiate VM
show_vnet_instantiate: true
# True to show the host datatable to instantiate VM
show_host_instantiate: false

View File

@ -56,6 +56,18 @@ features:
# True to show the option to make an instance persistent
instantiate_persistent: true
# True to show the datastore datatable to instantiate VM
show_ds_instantiate: false
# True to show the vmgroup datatable to instantiate VM
show_vmgroup_instantiate: true
# True to show the vnet datatable to instantiate VM
show_vnet_instantiate: true
# True to show the host datatable to instantiate VM
show_host_instantiate: false
# True to show an input to specify the the VMs and Template path/folder where a vCenter VM will
# deployed to
vcenter_vm_folder: false

View File

@ -59,6 +59,12 @@ features:
# True to show the datastore datatable to instantiate VM
show_ds_instantiate: false
# True to show the vmgroup datatable to instantiate VM
show_vmgroup_instantiate: true
# True to show the vnet datatable to instantiate VM
show_vnet_instantiate: true
# True to show the host datatable to instantiate VM
show_host_instantiate: false

View File

@ -998,6 +998,7 @@ define(function(require) {
VMGroupSection.insert(template_json, $(".vmgroupContext", create_vm_context));
} else {
$(".provision_vmgroup_selector", create_vm_context).html("");
$(".provision_vmgroup", create_vm_context).hide();
}
if (Config.provision.create_vm.isEnabled("datastore_select")) {

View File

@ -48,12 +48,14 @@
<div class="row">
<div class="medium-5 small-12 columns template_user_inputs{{element.ID}}"></div>
</div>
{{#isFeatureEnabled "show_vnet_instantiate"}}
<div class="row">
<div class="small-12 columns nicsContext{{element.ID}}">
<div class="provision_network_selector">
</div>
</div>
</div>
{{/isFeatureEnabled}}
{{#advancedSection (tr "Advanced options") }}
{{#isFeatureEnabled "show_host_instantiate"}}
<div class="row">
@ -117,6 +119,7 @@
</fieldset>
</div>
</div>
{{#isFeatureEnabled "show_vmgroup_instantiate"}}
<div class="row">
<div class="small-12 columns vmgroupContext{{element.ID}}">
<fieldset>
@ -133,6 +136,7 @@
</fieldset>
</div>
</div>
{{/isFeatureEnabled}}
<div class="row">
<div class="medium-6 small-12 columns vcenterVMFolderContext{{element.ID}}">
<div class="provision_vcenter_vm_folder_selector">