1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

F #4985: 3-Tier Storage (#815)

Signed-off-by: Frederick Borges <fborges@opennebula.io>
This commit is contained in:
Frederick Borges 2021-02-16 18:16:41 +01:00 committed by GitHub
parent 8e81edf6e2
commit 6725663c41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View File

@ -233,3 +233,16 @@
</div> </div>
</div> </div>
</fieldset> </fieldset>
<fieldset class="not_firecracker hybrid_plus_section">
<legend>{{tr "Hybrid+"}}</legend>
<div class="row vm_param">
<div class="medium-6 columns hypervisor only_kvm">
<fieldset>
<label for="RECOVERY_SNAPSHOT_FREQ">
{{tr "Snapshot Frequency in Seconds"}}
</label>
<input wizard_field="RECOVERY_SNAPSHOT_FREQ" type="number" min="0" id="RECOVERY_SNAPSHOT_FREQ" name="RECOVERY_SNAPSHOT_FREQ" />
</fieldset>
</div>
</div>
</fieldset>

View File

@ -94,6 +94,13 @@ define(function(require) {
this.diskTab.onShow(context); this.diskTab.onShow(context);
if (this && this.element && this.element.TEMPLATE && this.element.TEMPLATE.TM_MAD_SYSTEM && this.element.TEMPLATE.TM_MAD_SYSTEM === 'ssh'){
$('.hybrid_plus_section').hide();
}
else{
$('.hybrid_plus_section').show();
}
return false; return false;
} }