TestID | Test Case | Steps To Be Performed to Test | Verification Steps | Execution status | ||
---|---|---|---|---|---|---|
1. | add an isolated network via addNicToVirtualMachine api to a VM in running state for xen hypervisor |
|
| Pass | ||
2. | add a shared network via addNicToVirtualMachine api to a VM in running state for xen hypervisor |
|
| Pass |
|
|
3. | add an isolated network via addNicToVirtualMachine api to a VM in stopped state for xen hypervisor |
|
| Pass | ||
4. | add a shared network via addNicToVirtualMachine api to a VM in stopped state for xen hypervisor |
|
| Pass | ||
5. | add a network and IP address via addNicToVirtualMachine api to a VM for xen hypervisor |
|
| Pass | ||
6. | add a VPC type of network to a running VM belonging to isolated network via addNicToVirtualMachine api for xen hypervisor |
|
| Pass | ||
7. | add a VPC type of network to a stopped VM belonging to isolated network via addNicToVirtualMachine api for xen hypervisor |
|
| Pass | ||
8. | add same network id multiple times to a VM via addNicToVirtualMachine api for xen hypervisor |
|
| Pass | ||
9. | add an isolated network via addNicToVirtualMachine api to a VM in running state for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
10. | add a shared network via addNicToVirtualMachine api to a VM in running state for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass |
|
|
11. | add an isolated network via addNicToVirtualMachine api to a VM in stopped state for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
12. | add a shared network via addNicToVirtualMachine api to a VM in stopped state for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
13. | add a network and IP address via addNicToVirtualMachine api to a VM for KVM hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
14. | add a VPC type of network to a running VM belonging to isolated network via addNicToVirtualMachine api for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
15. | add a VPC type of network to a stopped VM belonging to isolated network via addNicToVirtualMachine api for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
16. | add same network id multiple times to a VM via addNicToVirtualMachine api for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
17. | assign a Network(isolated / shared) belonging to different domain to a VM belonging to different domain via addNicToVirtualMachine api |
|
| Pass | ||
18. | assign a Network (isolated) belonging to different account to a VM belonging to different account of same domain via addNicToVirtualMachine api |
|
| Pass | ||
19. | assign a Network (shared) tied to an account via security groups to a VM belonging to different account of same domain |
|
| Pass |
| |
20. | assign a Network to a VM belonging to an account which has already reached maximum number of networks that can be created for an account |
|
| Pass | ||
21. | Give network id and VM id belonging to different zone in addNicToVirtualMachine api |
|
| Pass | ||
22. | Give a invalid IP address (which can not be assigned to the VM ) and valid network ID in addNicToVirtualMachine api |
|
| Pass | ||
23. | Remove a nic (not default one) from a VM via removeNicFromVirtualMachine api for xen sever |
|
| pass | ||
24. | Remove a nic (default one) from a VM via removeNicFromVirtualMachine api for xen sever |
|
| pass | ||
25. | Remove a nic not belonging to the VM via removeNicFromVirtualMachine api |
|
| Pass | ||
26. | Remove a nic (not default one) from a VM via removeNicFromVirtualMachine api for Kvm |
|
| Pass | ||
27. | Remove a nic (default one) from a VM via removeNicFromVirtualMachine api for Kvm |
|
| Pass | ||
28 | Update the specified NIC to be the default NIC for the specified VM via api UpdateDefaultNicForVirtualMachine for Xen |
|
| Pass | ||
29 | Try to make default nic again default nic via api UpdateDefaultNicForVirtualMachine |
|
| Pass | ||
30 | Try to make a nic not belonging to the VM as default nic via API UpdateDefaultNicForVirtualMachine |
|
| Pass | ||
31 | Update the specified NIC to be the default NIC for the specified VM via api UpdateDefaultNicForVirtualMachine for KVM |
|
| Pass | ||
32 | Verify UI for addNicToVirtualMachine |
|
|
| ||
33 | Verify UI for UpdateDefaultNicForVirtualMachine |
|
|
| ||
34 | Verify UI for removeNicFromVirtualMachine |
|
|
| ||
35 | Failure scenarios for addNicToVirtualMachine | addNicToVirtualMachine | unable to find a virtual machine | Pass | ||
36 | incorrect network id | addNicToVirtualMachine | unable to find a network | Pass | ||
37 | Zone specified is Basic | addNicToVirtualMachine | Zone has a NetworkType of Basic. Can't add a new NIC to a VM on a Basic Network |
| ||
38 | Insufficient Permission | addNicToVirtualMachine | Unable to modify a vm using network id, permission denied |
| ||
39 | Vm and Network are not in same zone | addNicToVirtualMachine | vminstance is in zone<id>, but network is in zone <id> | pass | ||
40 | network already has a vm with specified host name | addNicToVirtualMachine | network already has a vm with host name: | pass | ||
41 | Failure scenarios for removeNicFromVirtualMachine | removeNicFromVirtualMachine | unable to find a virtual machine with id | pass | ||
42 | incorrect NIC id | removeNicFromVirtualMachine | unable to find a nic with id | pass | ||
43 | incorrect Network id | removeNicFromVirtualMachine | unable to find a network with id |
| ||
44 | Zone specified is Basic | removeNicFromVirtualMachine | Zone has a NetworkType of Basic. Can't remove a NIC from a VM on a Basic Network |
| ||
45 | Nic is not present on Vm | removeNicFromVirtualMachine | <nicid> is not a nic on <vmInstanceid> |
| ||
46 | Insufficient Permission | removeNicFromVirtualMachine | Unable to modify a vm using network with id , permission denied |
| ||
47 | Failure scenarios for UpdateDefaultNicForVirtualMachine | UpdateDefaultNicForVirtualMachine | unable to find a virtual machine with id |
| ||
48 | incorrect NIC id | UpdateDefaultNicForVirtualMachine | unable to find a nic with id |
| ||
49 | Changed default NIC is not in the correct network | UpdateDefaultNicForVirtualMachine | something strange happened, new default network is not null, and is not equal to the network of the chosen nic |
| ||
50 | Failed to change the NIC to default | UpdateDefaultNicForVirtualMachine | Failed to change default nic and now we have no default |
| ||
51 | Setting the NIC as default fails | UpdateDefaultNicForVirtualMachine | Setting a default nic failed, and we had no default nic, but we were able to set it back to the original |
| ||
52 | NiC profile not found for default network | UpdateDefaultNicForVirtualMachine | Failed to find a nic profile for the existing default network. This is bad and probably means some sort of configuration corruption |
| ||
53 | VM is not in Running/Stopped State | UpdateDefaultNicForVirtualMachine | refusing to set default nic, instance is not Running or Stopped |
| ||
54 | specifiedNIC is already default | UpdateDefaultNicForVirtualMachine | refusing to set default nic because chosen nic is already the default |
| ||
55 | Nic is not present on Vm | UpdateDefaultNicForVirtualMachine | <nicid> is not a nic on <vmInstanceid> |
| ||
56 | Zone specified is Basic | UpdateDefaultNicForVirtualMachine | Zone has a NetworkType of Basic. Can't change default NIC on a Basic Network |
| ||
57 | incorrect Network id | UpdateDefaultNicForVirtualMachine | unable to find a network with id |
|