DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
| Test Case ID | Test Case Name | Steps | Expected Result |
|---|---|---|---|
| 1 | Register a template | 1-Create a multi volume vm template which have multiple volume from vcenter 2-register template
| 1-Template registration should be successful
|
| 2 | check 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 |
| 3 | check vm_templates table | check parent_template id in vm_template table | it should be present |
| 4 | check 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 |
| 5 | check 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/ |
| 7 | check content of data disk template | -- | -- |
| 8 | Data 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 |
| 9 | list template | DO list template | it should list all the template (datadisk template + template) |
| 10 | check template type | 1-do list template 2-check data disk template type | template type should be "Datadisk" |
| 11 | check template type | 1-do list template 2-check data normal template type | normal template type should be set user |
| 12 | check bootable attribute | 1-do list template 2-check attribute bootable for datadisk template | bootable should be set to false |
| 13 | check bootable attribute | 1-do list template 2-check attribute bootable for regular template | bootable should be set to true |
| 14 | check guestos attribute | 1-do list template 2-check attribute guesstos for datadisk template | guestos should be set to false |
| 15 | check guestos attribute | 1-do list template 2-check attribute guestos for regular template | guestos should set to true |
| 16 | delete vm template | 1-try to delete vm template | 1- Template deletion should be successful 2-all the data disk related to vm templates hould also get deleted |
| 17 | delete data disk template | 1-try to delete individual data disk template | 1-deletion should be successful |
| 18 | delete 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 |
| 19 | delete data template and list | 1-delete data template 2-do list template | list template should not show particular template |
| 20 | copy datadisk template | 1-trye to copy data disk template to another zone | it should fail with proper warning message |
| 21 | copy vm template | try to copy vm template to another zone | it should pass |
| 22 | delete 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 |
| 23 | update vm template | 1-Try to update vm template attribute | it should be allowed |
| 24 | update data disk template | 1-Try to update datadisk template | it should be allowed |
| 25 | Update data disk template permissions | try to update data disk template permission | it should be allowed |
| 26 | default permission of data disk | check default permission of datadisk | By default the Datadisk templates will be private and non-featured |
| 27 | download template | try to download template | would be able to download only single template at a time |
| 28 | Deploy vm api | check deploy vm API | it should have new parameter datadisktemplatetodiskofferinglist |
| 29 | deploy a vm without datadisk template | usual flow | whould be successful |
| 29 | deploy vm wizard | In deploy vm wizard , check list template per zone | list template should only list vm-template , no data disk template should be listed |
| 30 | deploy a vm with data disk template | 1-select vm template 2-select datadisk template , it should list all the data disk template corresponding to that vm template 3-select all data disk template 4- deploy vm | deploy vm should be successfull and vm should have data created for each data disk template |
| 31 | deploy vm with data disk template | 1-select vm template 2-select datadisk template , it should list all the data disk template corresponding to that vm template 3-select any one data disk template 4- deploy vm | deploy vm should be successful vm should have on data disk created |
| 32 | deploy vm with data disk template | 1-register a vm template 2-delete on of the data disk 3-deploy vm with vm template chose all the data disk
| deleted data disk template should not bi listed. deploy vm should be successful |