Test case Id |
Steps |
Expected Result |
Priority |
Xen 6.0.2 |
KVM |
VMware |
Comments |
LDV_Zone_create_local_storage |
Issue createZone API with "localstorage" set to true |
Zone should be created succesfully |
P1 |
Pass |
|
|
|
LDV_Zone_update_local_storage_disable |
Issue updateZone API with "localstorage" set to false |
API should succesfully update the zone with localstorage flag |
P1 |
Pass |
|
|
|
LDV_disk_offering |
Issue createDiskOffering with local storage=true |
Disk offering with local storage should be created succesfully |
P1 |
Pass |
|
|
|
LDV_disk_offering_modify_deploy |
1.create a disk offering with localstorage=true. |
Existing VMs before disk offering update should use local storage and after update VM should use shared storage |
P1 |
Update to storagetype not supported |
|
|
|
LDV_stopped_vm_attach |
Attach local volume to a stopped vm |
Attach local volume to a stopped vm should be succesful |
p1 |
Pass |
|
|
|
LDV_attach_local_root |
Attach local volume to a vm with local root |
Attach local volume to vm should be succesful |
p1 |
Pass |
|
|
|
LDV_attach_shared_root |
Attach local volume to a vm with shared root |
Attach local volume to vm should be succesful |
p1 |
Pass |
|
|
|
LDV_detach_local_root |
Detach a LDV from a VM with local root volume |
Detach should be succesful |
p2 |
Pass |
|
|
|
LDV_detach_shared_root |
Detach a LDV from a VM with shared root volume |
Detach should be succesful |
p2 |
Pass |
|
|
|
LDV_migrate |
Try to migrate a LDV |
Migrate should fail |
p2 |
Pass |
|
|
|
LDV_delete |
Delete an LDV |
deletion should be succesful |
p1 |
Pass |
|
|
|
LDV_snapshot_create |
create a manual snapshot for LDV |
Snapshot should be succesfully created and backed up |
p2 |
Pass |
|
|
|
LDV_snapshot_delete |
Delete an LDV snapshot |
Deletion should succeed |
p2 |
Pass |
|
|
|
LDV_VM_create_local_root |
create a VM with local root and local DV |
VM create should succeed |
p1 |
Pass |
|
|
|
LDV_VM_create_shared_root |
create a VM with shared root and local DV |
VM create should succeed |
p1 |
Pass |
|
|
|
LDV_VM_create_zone_local_disabled (local root + shared data, local root + local data, shared root + local data) |
create a VM with LDV in a zone where local storage is disabled |
VM creation should fail |
P1 |
Pass |
|
|
|
LDV_VM_destroy_local_root |
Destroy VM created with local root volume and with LDV attached |
LDV should be detached and VM should be destroyed |
p1 |
Pass |
|
|
|
LDV_VM_destroy_shared_root |
Destroy VM created with shared root volume and with LDV attached |
LDV should be detached and VM should be destroyed |
p1 |
Pass |
|
|
|
LDV_VM_stop_local_root |
Stop a VM created with local root volume and LDV |
VM stop should be succesful |
p2 |
Pass |
|
|
|
LDV_VM_stop_shared_root |
Stop a VM created with shared root volume and LDV |
VM stop should be succesful |
p2 |
Pass |
|
|
|
LDV_VM_reboot_local_root |
Reboot a VM created with local root volume and LDV |
VM should be succefully rebooted |
p3 |
Pass |
|
|
|
LDV_VM_reboot_shared_root |
Reboot a VM created with shared root volume and LDV |
VM should be succefully rebooted |
p3 |
Pass |
|
|
|
LDV_VM_recover_local_root |
1.Destroy a VM created with local root volume and LDv |
VM should be succesfully recovered |
p3 |
Pass |
|
|
|
LDV_host_maintenance |
Have some local DV on a host and enable maintenance mode |
All the VMs on the host should be stopped before entering maintenance mode (all VMs on a host using local storage needs to be explicitly stopped before a host can be put to maintenance) |
p1 |
Pass |
|
|
|
LDV_Zone_host_addition |
|
|
p1 |
|
|
|
|