Test Case ID | Test Case Name | Steps | Expected Result | Priority | Test Case Type | Automatable | Vmware | Comment |
---|---|---|---|---|---|---|---|---|
1 | Check for global parameter and its default value | Search for "vmware.create.full.clone" in Global settings | should be in Global settings with default value false | P1 | Functional | Y | Pass |
|
2 | DB check | 1-Check DB for new table user_vm_clone_setting | 1-Table should be there with two column vm_id,clone_type | P1 | Functional | Y | Pass |
|
| LINKED CLONE/FULL CLONE |
|
|
|
|
|
|
|
3 | Linked clone | 1-Register a template | 1-vm should be linked clone | P1 | Functional | Y | Pass |
|
4 | Full clone | 1-Create a vm from template | 1-VM should be full clone | P1 | Functional | Y | Pass |
|
| COEXISTENCE |
|
|
|
|
|
|
|
5 | Coexistence of Full/linked clones | 1-Create some vm when vmware.create.full.clone set to default value(false) | 1-Vm created in step 1 should be linked clone | P1 | Functional | Y | Pass |
|
| SNAPSHOT |
|
|
|
|
|
|
|
6 | Snapshot Creation | 1-Create snapshot for linked clone VM | 1-Should be successful | P1 | Functional | Y | Pass |
|
7 | Recurring snapshot | 1-Create a linked clone | 1-Shold be successful | P1 | Functional | Y |
|
|
8 | VM from snapshot | 1-Set vmware.create.full.clone to true | all operation should be successful | P2 | Functional | Y | Block | |
| UPGRADE |
|
|
|
|
|
|
|
9 | upgrade | Pre upgrade step | 1-vm created in sted in step 5 should be full clone and in step 4 | P1 | Upgrade | Y | Block |
|
| VM RESTART/DESTROY/RESTORE(Restart/Destroy/Restore) |
|
|
|
|
|
|
|
10 | Restart vm | 1- Create a full clone vm | vm should be full clone | P2 | Functional | Y | Pass |
|
11 | Destroy vm | 1-Create a full clone vm | all resource should be released (volumes) | P2 | Functional | Y | Pass |
|
12 | Restore vm | 1-Create a full clone vm | 1-after step 3 vm should be restore as full clone | P2 | Functional | Y | Pass |
|
| CREATING LINKED VM FROM CLONE AND VICE_VERSA |
|
|
|
|
|
|
|
13 | Create a full clone from linked clone vm | 1-Set vmware.create.full.clone to false | 1-vm created in step 2 should be expunged successfully | P2 | Functional | Y | Block |
|
14 | Create a linked clone from full clone vm | 1-Create a full clone | 1- vm created in step 3 should be crashed(root disk deleted) after step 6 | P3 | Functional | Y | Block |
|
| VOLUME ATTACH/DETACH |
|
|
|
|
|
|
|
15 | Attache/Detach volume | 1-Create a full clone | 1-All the operation should happen successfully |
| Functional | Y | Pass |
|
| GLOBAL SETTING CHANGE WHILE DEPLOYING VM |
|
|
|
|
|
|
|
16 | Changing of GS while deploying vm | 1-Set vmware.create.full.clone to true | 1-Deployed vm should be Fullclone | P3 | Functional | Y | Pass |
|
17 | Changing of GS while deploying vm | 1-Set vmware.create.full.clone to false | 1-Deployed vm should be linked clone | P3 | Functional | Y | Pass |
|
| HOST MAINTENANCE MODE EFFECT |
|
|
|
|
|
|
|
18 | Put host in maintenance mode | 1-Set vmware create.full.clone to false | if any other potential host is available vm should come up and should be linked clone | P3 | Functional | Y | Pass |
|
19 | Put host in maintenance mode | 1-Set vmware create.full.clone to true | if any other potential host is available vm should come up and should be full clone | P3 | Functional | Y | Pass |
|
| MIGRATION |
|
|
|
|
|
|
|
20 | Live migration | migrate vm within cluster | vm migration should not change the vm property | P2 | Functional | Y | Pass |
|
21 | Migration to another cluster | migrate a full clone vm to another cluster | vm migration should not change the vm property | P2 | Functional | Y | Pass |
|
|
|
|
|
|
|
|
|
|