DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
| Requirements |
|
|
|
|
| |||||||
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
| |||||||
Testcase | Test Description | Steps | Expected Results | Priority | Type | Automatable | |||||||
| Zone Configuration |
|
|
|
|
| |||||||
1 | baremetal network offering | Create network offering shared, no vlan specify, dhcp, userdata, security group, baremetalPxeService |
| P1 | functional |
| |||||||
2 | Basic Zone with BareMetal Hypervisor | Basic Zone with BareMetal Hypervisor | No SSVM ,CPVM will be launched. | P1 | functional |
| |||||||
| Adding Baremetal Host |
|
|
|
|
| |||||||
3 | Add Baremetal Host providing valid values for the following: | Add Baremetal Host providing via API addBaremetalHost providing valid values for the following: | Host addition should succeed. | P1 | functional |
| |||||||
4 | Add Baremetal Host without Host tags | Add Baremetal Host without Host tags | Host addition should fail | P2 | negative |
| |||||||
5 | Add Baremetal Host without providing a host ipaddress | Add Baremetal Host without providing a host ipaddress | Host addition should fail | P1 P2 | negative |
| |||||||
6 | Add Baremetal Host without providing a Mac Address | Add Baremetal Host without providing a Mac Address | Host addition should fail | P1 P2 | negative |
| |||||||
7 | Add Baremetal Host without providing IPMI Ipaddress, account and password. | Add Baremetal Host without providing IPMI Ipaddress, account and password. | Host addition should fail | P1 P2 | negative |
| |||||||
8 | Add Baremetal Host by specifying a invalid values for IPMI Ip, account and password. | Add Baremetal Host by specifying a invalid values for IPMI Ip, account and password. | Host addition should fail. | P2 | negative |
| |||||||
9 | In pod, Add cluster of 2 Baremetal hosts | Add cluster of 2 Baremetal hosts | Cluster of hosts added successfully | P1 | functional |
| |||||||
|
|
|
|
|
|
| |||||||
| Configuring and adding a TFTP TFTP DHCP PXE server |
|
|
|
|
| |||||||
10 | Configure TFTP DHCP PXE server | 1. In Xencenter add Xenserver 6.0.2 host which must be on same L2 switch level as Baremetal hosts. Create Centos 6.2 VM | TFTP server should be started successfully. | P1 | functional |
| |||||||
11 | Add a TFTP server to the zone using addBaremetalPxeKickStartServer() | 1. Add a TFTP server to the zone using API addBaremetalPxeKickStartServer() | TFTP server should get added successfully to the Zone. | P1 | functional |
| |||||||
12 | Add a TFTP server to the zone using addBaremetalPxeKickStartServer() when the TFTP server is not running. | 1. Add a TFTP server to the zone using addBaremetalPxeKickStartServer() when the TFTP server is not running. | Should the addition of TPFT server fail ? | P1 P2 | negative |
| |||||||
|
|
|
|
|
|
| |||||||
| Configuring External DHCP Configuring DHCP server |
|
|
|
|
| |||||||
13 | Deploy an external Configure DHCP server | Configure VM as and configure it to service all the hosts in the pod ip range. Deploy an external DHCP server and configure it to service all the hosts in the pod ip range. |
| P1 |
|
| 14 | Configure DHCP server to use the TFTP server. | Configure DHCP server to use the TFTP server. |
| P1 | functional |
|
|
|
|
|
|
|
| |||||||
|
| Kickstart Installation. Registering templates. |
|
|
|
|
| ||||||
15 | Register a template by passing valid values for displaytext,format,hypervisor="Baremetal", ostypeid,url="Kickstart_file_location;template_repo_on_nfs_path",zoneid . | Register a template by passing valid values for displaytext,format,hypervisor="Baremetal", ostypeid,url="Kickstart_file_location;template_repo_on_nfs_path",zoneid . | Template registration should succeed. | P1 |
|
| |||||||
16 | Register a template by passing url with invalid format like only Kickstart_file_location /only template_repo_on_nfs_path /using a different separator instead of ";" like Kickstart_file_location.template_repo_on_nfs_path | Register a template by passing url with invalid format like only Kickstart_file_location /only template_repo_on_nfs_path /using a different separator instead of ";" like Kickstart_file_location.template_repo_on_nfs_path | Template registration should fail. | P1 |
|
| |||||||
17 | provide invalid values for Kickstart_file_location | Register a template by passing invalid values for Kickstart_file_location | Template registration should fail. | P1 |
|
| |||||||
18 | provide invalid values for template_repo_on_nfs_path | Register a template by passing invalid values for template_repo_on_nfs_path | Template registration should fail. | P1 |
|
| |||||||
19 | List all the templates for Baremetal hypervisors. | 1. Register few "Baremetal" templates. | All the templates for Baremetal should be listed. | P1 |
|
| |||||||
20 | Deletion of templates. | 1. Register few "Baremetal" templates. | Deletion of templates should succeed. | P1 |
|
| |||||||
|
|
|
|
|
|
| |||||||
| Ping style Installation |
|
|
|
|
| |||||||
21 | Install Windows 2008 R2 Server on a server that is identical (CPU, memory, disk, resources) to the servers which will be used as baremetal hosts. ; to backup & create image of the template OS onto network | 1. Install Windows 2008 R2 Server on a server | Template registration should succeed. | P1 |
|
| |||||||
22 | Register a template by passing url with invalid format like only ping_file_location /only template_repo_on_nfs_path /using a different separator instead of ";" like ping_file_location.template_repo_on_nfs_path | Register a template by passing url with invalid format like only ping_file_location /only template_repo_on_nfs_path /using a different separator instead of ";" like ping_file_location.template_repo_on_nfs_path | Template registration should fail. | P1 |
|
| |||||||
23 | provide invalid values for ping_file_location | Register a template by passing invalid values for ping_file_location | Template registration should fail. | P1 |
|
| |||||||
|
|
|
|
|
|
| |||||||
| Deploying VM |
|
|
|
|
| |||||||
24 | Deploy a VM using a SO with host tag of a Baremetal host using a baremetal template. | Deploy a VM using a SO with host tag of a Baremetal host using a baremetal template. | Vm deployment should succeed. | P1 |
|
| |||||||
25 | Deploy a VM on a host by passing a hostname. | Deploy a VM on a host by passing a hostname. | Vm deployment should succeed. |
|
|
| |||||||
26 | Deploy a VM by passing a disk offering id. | Deploy a VM by passing a disk offering id. | VM deployment should fail. |
|
|
| |||||||
27 | Deploy a VM using a password enabled template. | Deploy a VM using a password enabled template. | Vm deployment should succeed. |
|
|
| |||||||
28 | Deploy a VM using a ssh enabled template and by passing a sshkey. | Deploy a VM using a ssh enabled template and by passing a sshkey. | Vm deployment should succeed. |
|
|
| |||||||
29 | Deploy a VM using userdata | Deploy a VM using userdata | Vm deployment should succeed. |
|
|
| |||||||
30 | Deploy a VM when TFTP server is not yet configured in the zone. | Deploy a VM when TFTP server is not yet configured in the zone. | Vm deployment should fail. |
|
|
| |||||||
31 | Deploy a VM when TFTP server is not reachable. | Deploy a VM when TFTP server is not reachable. | Vm deployment should fail. |
|
|
| |||||||
32 | Deploy a VM when DHCP server is not reachable. | Deploy a VM when DHCP server is not reachable. | Vm deployment should fail. |
|
|
| |||||||
33 | Deploy a VM when host is in "Down" state. | Deploy a VM when host is in "Down" state. | Vm deployment should fail. |
|
|
| |||||||
34 | Deploy a VM on a host which has an invalid ipaddress( Ipaddress does not exist in the DHCP server) assigned to it. | Deploy a VM on a host which has an invalid ipaddress( Ipaddress does not exist in the DHCP server) assigned to it. |
|
|
|
| |||||||
35 | Deploy a VM on a host which has an invalid ipaddress ( Ipaddress that existis in the DHCP server but is associated with a different MAC address) assigned to it. | Deploy a VM on a host which has an invalid ipaddress ( Ipaddress that existis in the DHCP server but is associated with a different MAC address) assigned to it. |
|
|
|
| |||||||
36 | Deploy a VM on a host which has an invalid MAC address ( MAC address does not exist in the DHCP server) assigned to it. | Deploy a VM on a host which has an invalid MAC address ( MAC address does not exist in the DHCP server) assigned to it. |
|
|
|
| |||||||
37 | Deploy a VM on a host which has an invalid MAC address ( MAC address that existis in the DHCP server but is associated with a different ip address) assigned to it. | Deploy a VM on a host which has an invalid MAC address ( MAC address that existis in the DHCP server but is associated with a different ip address) assigned to it. |
|
|
|
| |||||||
38 | Deploy a VM on a host which has an invalid ipaddress assigned to it. | Deploy a VM on a host which has an invalid ipaddress assigned to it. |
|
|
|
| |||||||
39 | Deploy a VM on a host which has an invalid MAC address assigned to it. | Deploy a VM on a host which has an invalid MAC address assigned to it. |
|
|
|
| |||||||
|
|
|
|
|
|
| |||||||
| Hosts |
|
|
|
|
| |||||||
40 | Force reconnect Host() | Force reconnect Host() |
|
|
|
| |||||||
41 | UpdateHost() - Edit host tags | UpdateHost() - Edit host tags |
|
|
|
| |||||||
42 | deleteHost() - > Put the host in maintenance and then delete the host | deleteHost() - > Put the host in maintenance and then delete the host |
|
|
|
| |||||||
43 | Put the host in maintenance mode | Put the host in maintenance mode |
|
|
|
| |||||||
44 | Put the host in maintenance mode and bring the host out of maintenance mode. | Put the host in maintenance mode and bring the host out of maintenance mode. |
|
|
|
| |||||||
45 | updateHostPassword() --> will not be supported ??? | updateHostPassword() --> will not be supported ??? |
|
|
|
| |||||||
46 | Power down host | Power down host |
|
|
|
| |||||||
47 | Power down host and the power on the host | Power down host and the power on the host |
|
|
|
| |||||||
48 | Reboot host | Reboot host |
|
|
|
| |||||||
49 | Bring down the network connectivity of the host. | Bring down the network connectivity of the host. |
|
|
|
| |||||||
50 | Bring down the network connectivity of the host and then bring the network connectivity back up again. | Bring down the network connectivity of the host and then bring the network connectivity back up again. |
|
|
|
| |||||||
|
|
|
|
|
|
| |||||||
| Allocators |
|
|
|
|
| |||||||
51 | Deploy a Vm with a host tag that points to Baremetal host , when there are multiple baremetal hosts with the same host tag. | Deploy a Vm with a host tag that points to Baremetal host , when there are multiple baremetal hosts with the same host tag. |
|
|
|
| |||||||
52 | Deploy multiple Vm with a host tag that points to Baremetal host , when there are multiple baremetal hosts with the same host tag. | Deploy multiple Vm with a host tag that points to Baremetal host , when there are multiple baremetal hosts with the same host tag. |
|
|
|
| |||||||
53 | Deploy a Vm with a host tag that points to Baremetal host , when there is 1 Vm running in all the baremetal hosts with this host tag. | Deploy a Vm with a host tag that points to Baremetal host , when there is 1 Vm running in all the baremetal hosts with this host tag. |
|
|
|
| |||||||
54 | Deploy a Vm with a host tag when there are multiple Baremetal hosts , some with host tag - tag1 and others with host tag -tag2. | Deploy a Vm with a host tag when there are multiple Baremetal hosts , some with host tag - tag1 and others with host tag -tag2. |
|
|
|
| |||||||
55 | Deploy a Vm with a host tag that points to Baremetal host , when there is 1 Vm running in all the baremetal hosts with this host tag. | Deploy a Vm with a host tag that points to Baremetal host , when there is 1 Vm running in all the baremetal hosts with this host tag. |
|
|
|
| |||||||
|
|
|
|
|
|
| |||||||
| VM life Cycle: |
|
|
|
|
| |||||||
56 | Stop a VM that is running on Baremetal host. | Stop a VM that is running on Baremetal host. |
|
|
|
| |||||||
57 | Start a VM that is in "stopped" state on Baremetal host. | Start a VM that is in "stopped" state on Baremetal host. |
|
|
|
| |||||||
58 | Destroy a VM. | Destroy a VM. |
|
|
|
| |||||||
59 | Restore a VM that is in "Destroyed" state. | Restore a VM that is in "Destroyed" state. |
|
|
|
| |||||||
60 | Reboot a VM that is running on Baremetal host. | Reboot a VM that is running on Baremetal host. |
|
|
|
| |||||||
61 | Change the Serive Offering of a VM in "Stopped" state. Can we get the VM to start in a different host now by changing the host tags in the new service offering ? | Change the Serive Offering of a VM in "Stopped" state. Can we get the VM to start in a different host now by changing the host tags in the new service offering ? |
|
|
|
| |||||||
62 | Reset password for a VM that was launched with password enabled templates. | Reset password for a VM that was launched with password enabled templates. |
|
|
|
| |||||||
63 | get password for a VM that was launched with password enabled templates. | get password for a VM that was launched with password enabled templates. |
|
|
|
| |||||||
64 | Update Vm and set userdata for a VM that was deployed with no userdata. | Update Vm and set userdata for a VM that was deployed with no userdata. |
|
|
|
| |||||||
65 | Update Vm and set a different userdata for a VM that was deployed with some userdata to begin with. | Update Vm and set a different userdata for a VM that was deployed with some userdata to begin with. |
|
|
|
| |||||||
66 | Retrieve userdata of the user Vms. | Retrieve userdata of the user Vms. |
|
|
|
| |||||||
67 | Retrieve metadata of the user Vms. | Retrieve metadata of the user Vms. |
|
|
|
| |||||||
68 | Migrate Virtual machine() ..API should throw an error in this case. | Migrate Virtual machine() ..API should throw an error in this case. |
|
|
|
| |||||||
|
|
|
|
|
|
| |||||||
| Account |
|
|
|
|
| |||||||
69 | Delete an Account which has Vms running in SG. | Delete an Account which has Vms running in SG. |
|
|
|
| |||||||
|
|
|
|
|
|
| |||||||
| Security Groups |
|
|
|
|
| |||||||
70 | Deploy a VM by passing a Security Group. | 1.To the default security group, Add a TCP ingress rule for a port range (22-80) for any ipaddress (cidr1). | 1. VM should be deployed as part of only SG1 not default security group. |
|
|
| |||||||
71 | Deploy a VM by passing a list of Security Groups. | 1. Create a Security Group SG1. | 1. VM should be deployed as part of all 3 SG rules. |
|
|
| |||||||
| CIDR based Ingress rules |
|
|
|
|
| |||||||
72 | Deploy a VM in a Security group which has an ingress rule that allows TCP protocols for a port range for a cidr. | 1.Create a Security Group SG1. | 1. VM deployment should succeed. |
|
|
| |||||||
73 | Deploy a VM in a Security group which has an ingress rule that allows ICMP protocols for a 1 type and 1 code for a cidr. | 1.Create a Security Group SG1. | 1. VM deployment should succeed. |
|
|
| |||||||
73 | Deploy few Vms in a Security group which has an ingress rule that allows TCP protocols for cidr1. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
74 | Deploy few Vms in a Security group which has an ingress rule that allows TCP protocols for cidr1 and cidr2. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
75 | Deploy few Vms in a Security group which has an ingress rule that allows ICMP protocols for cidr1 and cidr2. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
76 | Add Ingress rules when the VM is in stopped state. | 1.Create a Security Group SG1. | As part of starting the VM , we should see the iptable rules being reprogrammed. |
|
|
| |||||||
77 | Delete an Ingress rules when the VM is in stopped state. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
| Account based Ingress rules |
|
|
|
|
| |||||||
78 | Deploy a VM in a Security group which has an ingress rule that allows TCP protocols for a port range for another Security Group - SG2. | 1. Deploy few Vms in Security Group - SG2. | VM should get deployed successfully. |
|
|
| |||||||
79 | VM should be accessible using their vm name from any other VM. | 1. Deploy few VM in Security Group - SG2. | VM should get deployed successfully. |
|
|
| |||||||
80 | Deploy a VM in a Security group which has an ingress rule that allows ICMP protocols for a port range for another Security Group - SG2. | 1. Deploy few Vms in Security Group - SG2. | VM should get deployed successfully. |
|
|
| |||||||
81 | Deploy a VM in a SG that is allowed Ingress access to another Security Group. | Pre-Red: | This should result in the new VM's ipaddress being added to the ingress chain of all the Vms that are part of SG1. |
|
|
| |||||||
82 | Stop a VM that is in a SG that is allowed Ingress access to another Security Group. | Pre-Red: | This should result in the stopped VM's ipaddress being removed from the ingress chain of all the Vms that are part of SG1. |
|
|
| |||||||
83 | Stop and Start a VM that is in a SG that is allowed Ingress access to another Security Group. | Pre-Red: | After Step1: |
|
|
| |||||||
84 | Destroy a VM that is in a SG that is allowed Ingress access to another Security Group. | Pre-Red: | This should result in the destroyed VM's ipaddress being removed from the ingress chain of all the Vms that are part of SG1. |
|
|
| |||||||
85 | Restore a destroyed VM that is in a SG that is allowed Ingress access to another Security Group. | Pre-Red: | After Step1: |
|
|
| |||||||
86 | Reboot a VM that is in a SG that is allowed Ingress access to another Security Group. | Pre-Red: | After Reboot is successful: |
|
|
| |||||||
| CIDR based egress rules |
|
|
|
|
| |||||||
87 | Deploy a VM in a Security group which has NO egress rules. | 1.Create a Security Group SG1. | 1. VM deployment should succeed. |
|
|
| |||||||
88 | Deploy a VM in a Security group which has an egress rule that allows TCP protocols for a port range for a cidr. | 1.Create a Security Group SG1. | 1. VM deployment should succeed. |
|
|
| |||||||
89 | Deploy a VM in a Security group which has an egress rule that allows ICMP protocols for 1 type and 1 code for a cidr. | 1.Create a Security Group SG1. | 1. VM deployment should succeed. |
|
|
| |||||||
90 | Deploy few Vms in a Security group which has an egress rule that allows TCP protocols for cidr1. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
91 | Deploy few Vms in a Security group which has an egress rule that allows TCP protocols for cidr1 and cidr2. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
92 | Deploy few Vms in a Security group which has an egress rule that allows ICMP protocols for cidr1 and cidr2. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
93 | Add egress rules when the VM is in stopped state. | 1.Create a Security Group SG1. | As part of starting the VM , we should see the iptable rules being reprogrammed. |
|
|
| |||||||
94 | Delete an egress rules when the VM is in stopped state. | 1.Create a Security Group SG1. | Before Step4: |
|
|
| |||||||
| Account based egress rules |
|
|
|
|
| |||||||
95 | Deploy a VM in a Security group which has an egress rule that allows TCP protocols for a port range for another Security Group - SG2. | 1. Deploy few Vms in Security Group - SG2 that has a TCP ingress rules that allows port 22-80 for SG1. | VM should get deployed successfully. |
|
|
| |||||||
96 | Deploy a VM in a Security group which has an egress rule that allows ICMP protocols for another Security Group - SG2. | 1. Deploy few Vms in Security Group - SG2 that has a ICMP ingress rules that allows SG2. | VM should get deployed successfully. |
|
|
| |||||||
97 | Stop a VM that is in a SG that is allowed egress access to another Security Group. | Pre-Red: | This should result in the stopped VM's ipaddress being removed from the egress chain of all the Vms that are part of SG1. |
|
|
| |||||||
98 | Stop and Start a VM that is in a SG that is allowed egress access to another Security Group. | Pre-Red: | After Step1: |
|
|
| |||||||
99 | Destroy a VM that is in a SG that is allowed egress access to another Security Group. | Pre-Red: | This should result in the destroyed VM's ipaddress being removed from the egress chain of all the Vms that are part of SG1. |
|
|
| |||||||
100 | Reboot a VM that is in a SG that is allowed egress access to another Security Group. | Pre-Red: | After Reboot is successful: |
|
|
| |||||||
101 | Deploy a VM in a Security group that allows for all Vms with in the Security Group to communicate with each other | 1. Create a Security Group SG1 that has a TCP ingress rules that allows port 22-80 for SG1. | VM should get deployed successfully. |
|
|
| |||||||
102 | Deploy a VM in a Security group that allows for all Vms with in the Security Group to communicate with each other. This Security Group should also have restricted egress access to few other cidrs. | 1. Create a Security Group SG1 that has a TCP ingress rules that allows port 22-80 for SG1. | After Step2: |
|
|
|