You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Test Case IDTest Case NameStepsExpected Result
1Register a template

1-Create a multi volume vm template which have multiple volume from vcenter

2-register template

 

 

1-Template registration should be successful

 

2check db tables

1-Create a multi volume vm template which have multiple volume from vcenter

2-register template

3-check the vm_template and vm_template_store_ref table

1-There should be an entry in both table for each data disk in ova file
3check  vm_templates tablecheck parent_template id   in vm_template tableit should be present
4check parent id for data disk template

1-Create a multi volume vm template which have multiple volume from vcenter

2-register template

3-check parent_template_id for each data disk

1-For each data disk parent_template_id should point to VM template
5check parent id for vm template 

1-Create a multi volume vm template which have multiple volume from vcenter

2-register template

3-check parent_template_id for vm template

it should be NULL
6

check secondary storage location

of datadisk template

1-Create a multi volume vm template which have multiple volume from vcenter

2-register template

3-check the data disk template location in secondary storage

it should be template/tmpl/2/data disk template id/
7check content of data disk template----
8Data disk creation failed

1-register a template with multiple volume

2-make one one data disk creation fail

1-Rest of the datadisk creation should be successful

2-warnig messages should be there in log as well as in UI for failure

9list templateDO list templateit should list all the template (datadisk template + template)
10check template type

1-do list template

2-check data disk template type

template type should be "Datadisk"
11check template type

1-do list template

2-check data normal template type
normal template type should be set user
12check bootable attribute

1-do list template

2-check attribute bootable for datadisk template

bootable should be set to false
13check bootable attribute

1-do list template

2-check attribute bootable for regular template
bootable should be set to true
14check guestos attribute

1-do list template

2-check attribute guesstos for datadisk template
guestos should be set to false
15check guestos attribute

1-do list template

2-check attribute guestos for regular template
guestos should  set to true
16delete vm template1-try to delete vm template

1- Template deletion should be successful

2-all the data disk related to vm templates hould also get deleted

17delete data disk template1-try to delete individual data disk template1-deletion should be successful
18delete  vm template and list

1- delete vm template

2-do list template

list template should not show deletead vm template as well as data template

related to vm template

19delete data template and list

1-delete data template

2-do list template

list template should not show particular template
20copy  datadisk template1-trye to copy data disk template to another zoneit should fail with proper warning message
21copy vm templatetry to copy vm template to another zoneit should pass
22delete data disk and copy vm template

1-delete one of the data disk template

2- Try to copy vm template to another zone

it should pass
23update vm template1-Try to update vm template attributeit should be allowed
24update data disk template1-Try to update datadisk templateit should be allowed
25Update data disk template permissionstry to update data disk template permissionit should be allowed
26default permission of data diskcheck default permission of datadiskBy default the Datadisk templates will be private and non-featured
27download templatetry to download templatewould be able to download only single template at a time
28 Deploy vm apicheck deploy vm APIit should have new parameter  datadisktemplatetodiskofferinglist
29   
29   
30   
31   
32   
  • No labels