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 a isolated network that is in implemented state to a VM |
|
| Pass |
|
|
4 | Verify usage for addNicToVirtualMachine |
|
| Pass |
|
|
5 | Verify usage for removenicfromvirtual machine |
|
| Pass |
|
|
6 | Verify usage for updateNicforVirtualmachine |
|
| Pass |
|
|
7. | add an isolated network via addNicToVirtualMachine api to a VM in stopped state for xen hypervisor |
|
| Pass | ||
8 | add a shared network via addNicToVirtualMachine api to a VM in stopped state for xen hypervisor |
|
| Pass | ||
9 | add a network and IP address via addNicToVirtualMachine api to a VM for xen hypervisor |
|
| Pass | ||
10 | add a VPC type of network to a running VM belonging to isolated network via addNicToVirtualMachine api for xen hypervisor |
|
| Pass | ||
11. | add a VPC type of network to a stopped VM belonging to isolated network via addNicToVirtualMachine api for xen hypervisor |
|
| Pass | ||
12 | add same network id multiple times to a VM via addNicToVirtualMachine api for xen hypervisor |
|
| Pass | ||
13 | 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 | ||
14. | 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 |
|
|
15. | 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 | ||
16. | 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 | ||
17. | add a network and IP address via addNicToVirtualMachine api to a VM for KVM hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
18. | 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 | ||
19. | 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 | ||
20. | add same network id multiple times to a VM via addNicToVirtualMachine api for kvm hypervisor | Same as above only hypervisor changes to KVM |
| Pass | ||
21. | assign a Network(isolated / shared) belonging to different domain to a VM belonging to different domain via addNicToVirtualMachine api |
|
| Pass | ||
22. | assign a Network (isolated) belonging to different account to a VM belonging to different account of same domain via addNicToVirtualMachine api |
|
| Pass | ||
23. | assign a Network (shared) tied to an account via security groups to a VM belonging to different account of same domain |
|
| Pass |
| |
24. | 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 | ||
25. | Give network id and VM id belonging to different zone in addNicToVirtualMachine api |
|
| Pass | ||
26. | Give a invalid IP address (which can not be assigned to the VM ) and valid network ID in addNicToVirtualMachine api |
|
| Pass | ||
27. | Remove a nic (not default one) from a VM via removeNicFromVirtualMachine api for xen sever |
|
| pass | ||
28. | Remove a nic (default one) from a VM via removeNicFromVirtualMachine api for xen sever |
|
| pass | ||
29. | Remove a nic not belonging to the VM via removeNicFromVirtualMachine api |
|
| Pass | ||
30. | Remove a nic (not default one) from a VM via removeNicFromVirtualMachine api for Kvm |
|
| Pass | ||
31. | Remove a nic (default one) from a VM via removeNicFromVirtualMachine api for Kvm |
|
| Pass | ||
32 | remove network from VM is removing PF/LB/static nat rules for the VM | 1..Create a VM with network N1 |
| Pass | ||
33 | Update the specified NIC to be the default NIC for the specified VM via api UpdateDefaultNicForVirtualMachine for Xen |
|
| Pass | ||
34 | Try to make default nic again default nic via api UpdateDefaultNicForVirtualMachine |
|
| Pass | ||
35 | Try to make a nic not belonging to the VM as default nic via API UpdateDefaultNicForVirtualMachine |
|
| Pass | ||
36 | Update the specified NIC to be the default NIC for the specified VM via api UpdateDefaultNicForVirtualMachine for KVM |
|
| Pass | ||
37 | Verify UI for addNicToVirtualMachine |
|
| Pass | ||
38 | Verify UI not showing removed nic |
| Verify UI shows only active nics of the VM | Fail | ||
39 | Verify UI for UpdateDefaultNicForVirtualMachine |
|
| Pass | ||
40 | Verify UI for removeNicFromVirtualMachine |
|
| Pass | ||
41 | Failure scenarios for addNicToVirtualMachine | addNicToVirtualMachine | unable to find a virtual machine | Pass | ||
42 | incorrect network id | addNicToVirtualMachine | unable to find a network | Pass | ||
43 | Zone specified is Basic | addNicToVirtualMachine | Zone has a NetworkType of Basic. Can't add a new NIC to a VM on a Basic Network |
| ||
44 | Insufficient Permission | addNicToVirtualMachine | Unable to modify a vm using network id, permission denied | Pass | ||
45 | Vm and Network are not in same zone | addNicToVirtualMachine | vminstance is in zone<id>, but network is in zone <id> | pass | ||
46 | network already has a vm with specified host name | addNicToVirtualMachine | network already has a vm with host name: | pass | ||
47 | Failure scenarios for removeNicFromVirtualMachine | removeNicFromVirtualMachine | unable to find a virtual machine with id | pass | ||
48 | incorrect NIC id | removeNicFromVirtualMachine | unable to find a nic with id | pass | ||
49 | Nic is not present on Vm | removeNicFromVirtualMachine | <nicid> is not a nic on <vmInstanceid> | pass | ||
50 | Insufficient Permission | removeNicFromVirtualMachine | Unable to modify a vm using network with id , permission denied | Pass | ||
51 | Failure scenarios for UpdateDefaultNicForVirtualMachine | UpdateDefaultNicForVirtualMachine | unable to find a virtual machine with id | pass | ||
52 | incorrect NIC id | UpdateDefaultNicForVirtualMachine | unable to find a nic with id | pass | ||
57 | VM is not in Running/Stopped State | UpdateDefaultNicForVirtualMachine | refusing to set default nic, instance is not Running or Stopped | pass | ||
58 | specifiedNIC is already default | UpdateDefaultNicForVirtualMachine | refusing to set default nic because chosen nic is already the default | pass | ||
59 | Nic is not present on Vm | UpdateDefaultNicForVirtualMachine | <nicid> is not a nic on <vmInstanceid> | pass |