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 | Pass | |
| 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 | Hold | |
| 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 | Pass |
|
14 | Create a linked clone from full clone vm | 1-Create a full clone | 1- stop and start vm created in step 3, start vm should failed | P3 | Functional | Y | Pass |
|
| VOLUME ATTACH/DETACH |
|
|
|
|
|
|
|
15 | Attache/Detach volume | 1-Create a full clone | 1-All the operation should happen successfully |
| Functional | Y | Pass |
|
| DEPLOYMENT OF LINKED AND FULL CLONE THROUGH USER ACCOUNT |
|
|
|
|
|
|
|
16 | Linked clone through user account | 1-Crate a user account | 1-VM should be linked clone | P3 | Functional | Y | Pass |
|
17 | Full clone through use account | 1-Crate a user account | 1-Deployed vm should be full clone | P3 | Functional | Y | Pass |
|
| MIGRATION |
|
|
|
|
|
|
|
18 | Live migration | migrate vm within cluster | vm migration should not change the vm property | P2 | Functional | Y | Pass |
|
| SYSTEM VM CHECK |
|
|
|
|
|
|
|
19 | checking system vm | 1-Set "vmware.create.full.clone" to True | 1-ssvm are expected to come as full clone . | P1 | Functional | Y | Pass |