Test case Id | Steps | Expected Result | Priority | Comments |
LDV_Zone_create_local_storage | Issue createZone API with "localstorage" set to true | Zone should be created succesfully | P1 |
|
LDV_Zone_update_local_storage_disable | Issue updateZone API with "localstorage" set to false | API should succesfully update the zone with localstorage flag | P1 |
|
LDV_disk_offering | Issue createDiskOffering with local storage=true | Disk offering with local storage should be created succesfully | P1 |
|
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 |
|
LDV_stopped_vm_attach | Attach local volume to a stopped vm | Attach local volume to a stopped vm should be succesful | p1 |
|
LDV_move_volume_between_accounts | Create a VM with LDV and try to move it among accounts | VM movement b/w accounts should be succesful | P1 |
|
LDV_root_on_different_hosts | Try to attach a local data volume on Host1 to VM created(root disk) on Host2 | local DV attachment should fail | P1 |
|
LDV_attach_max_vol | attach maximum no.(XS602 => 13) of local DV to a VM | local DV attachment should succeed | P2 |
|
LDV_attach_local_root | Attach local volume to a vm with local root | Attach local volume to vm should be succesful | p1 |
|
LDV_attach_shared_root | Attach local volume to a vm with shared root | Attach local volume to vm should be succesful | p1 |
|
LDV_reattach_shared_root | Detach a LDV from a VM with shared root volume and reattach to the same VM and different VM | Volume should be succesfully reattached to same/other VM (as long as LDV is on sam ehost as the VMs) | P1 |
|
LDV_reattach_local_root | Detach a LDV from a VM with local root volume and reattach to the same VM and different VM | Volume should be succesfully reattached to same/other VM | P1 |
|
LDV_detach_local_root | Detach a LDV from a VM with local root volume | Detach should be succesful | p2 |
|
LDV_detach_shared_root | Detach a LDV from a VM with shared root volume | Detach should be succesful | p2 |
|
LDV_migrate | Try to migrate a LDV | Migrate should fail | p2 |
|
LDV_delete | Delete an LDV | deletion should be succesful | p1 |
|
LDV_download (not supported) | Try to download an LDV | Download should fail(It is not prevented to download a local data volume) | p1 |
|
LDV_snapshot_create | create a manual snapshot for LDV | Snapshot should be succesfully created and backed up | p2 |
|
LDV_snapshot_delete | Delete an LDV snapshot | Deletion should succeed | p2 |
|
LDV_VM_create_local_root | create a VM with local root and local DV | VM create should succeed | p1 |
|
LDV_VM_create_shared_root | create a VM with shared root and local DV | VM create should succeed | p1 |
|
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 |
|
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 |
|
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 |
|
LDV_VM_stop_local_root | Stop a VM created with local root volume and LDV | VM stop should be succesful | p2 |
|
LDV_VM_stop_shared_root | Stop a VM created with shared root volume and LDV | VM stop should be succesful | p2 |
|
LDV_VM_reboot_local_root | Reboot a VM created with local root volume and LDV | VM should be succefully rebooted | p3 |
|
LDV_VM_reboot_shared_root | Reboot a VM created with shared root volume and LDV | VM should be succefully rebooted | p3 |
|
LDV_VM_recover_local_root | 1.Destroy a VM created with local root volume and LDv | VM should be succesfully recovered | p3 |
|
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 |
|
LDV_Zone_host_addition |
|
| p1 |
|