Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
Test cases created by Swamy
\\
\\
| | *Name* | *Steps* | *Verification* | *Priority* | *Type* | *XEN* |
| 1 | Verification of default EIP/ELB offering | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps : \\
(1) Go to ServiceOfferings \-> NetworkOfferings \\
(2) check for an offering with following name \\
\\
"DefaultSharedNetscalerEIPandELBNetworkOffering" | i. Verify that this offering exists and details page shows the following \\
Supported Services : SecurityGroup, Dhcp, StaticNat, UserData, Lb, Dns \\
Service CapabilitiesElasticIp: true, SupportedLBIsolation: shared, ElasticLb: true, AssociatePublicIP : false \\ | P1 \\
\\
\\
\\ | Sanity | Pass |
| 2 | DB verification of default EIP/ELB offering | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps : \\
(1) check the table "network_offerings"  for an offering with following name \\
\\
"DefaultSharedNetscalerEIPandELBNetworkOffering" | i. Make sure that the following command lists a new column name "eip_associate_public_ip" and verify the schema. \\
QUERY : desc network_offerings \\
ii. Execute the following query and verify that for the default offering, this new column is set to "0" and rest of the services are updated as earlier releases. \\
QUERY : select * from network_offerings where id=10; select * from ntwk_offering_service_map where network_offering_id=10; | P1 | Sanity | Pass |
| 3 | listNetworkOfferings API | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with global setting integration.api.port set to 8096 \\
\\
Steps : \\
(1) Execute listNetworkOfferings API and verify the output | listNetworkOfferings API output should contain something like the following"capability":\[{"name":"AssociatePublicIP","value":"false","canchooseservicecapability":false}\\ | P1 | Functional | Failed\\
 Bug# CLOUDSTACK-2192 |
| 4 | deploy a VM using the default EIP & ELB offering | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with basic zone using default EIP/ELB and netscaler \\
Steps : \\
(1) deploy a Virtual Machine \\ | i. verify that the virtual machine is able to reach other VMs or other IPs in the same network without any issues after the respective security group ingress/egress rules are added. | P1 | Sanity | Pass |
| 5 | verification of public IP info for a VM | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with basic zone using default EIP/ELB and netscaler with at least one VM deployed \\
\\
Steps : \\
(1) verify the VM details page for public IP \\
(2) verify listVirtualMachines API for publicIP \\ | i. both of these outputs should not show any public IP | P1 | Sanity | Pass |
| 6 | Creation of custom EIP/ELB offering where AssociatePublicIP=true | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps : \\
(1) Create a new custom EIP/ELB offering with the following settings \\
Supported Services : SecurityGroup, Dhcp, StaticNat, UserData, Lb, Dns \\
Service CapabilitiesElasticIp: true, SupportedLBIsolation: shared, ElasticLb: true, AssociatePublicIP : True \\
(2) Create a basic zone using the above offering and repeat the following tests
* Verification of default EIP/ELB offering
* DB verification of default EIP/ELB offering
* listNetworkOfferings API | i. Offering should be created successfully without any issues \\
ii. Zone creation must happen | P1 | Functional | Pass |
| 7 | deploy a VM using the custom EIP & ELB offering where AssociatePublicIP=true | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with basic zone using custom EIP/ELB and netscaler \\
Steps :(1) deploy a Virtual Machine | i. verify that the virtual machine is able to reach other VMs or other IPs in the same network without any issues after the respective security group ingress/egress rules are added as well as internet. | P1 | Functional | N/A |
| 8 | verification of public IP info for a VM where AssociatePublicIP=true | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with basic zone using custom EIP/ELB and netscaler with at least one VM deployed \\
\\
Steps : \\
(1) verify the VM details page for public IP (2) verify listVirtualMachines API for publicIP | i. both of these outputs should show right public IP | P1 | Sanity | N/A |
| 9 | verification of createNetworkOffeing with AssociatePublicIP | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps : \\
(1) create Network offering with the following option \\
i. AssociatePublicIP=true \\
ii.AssociatePublicIP=false \\
iii. and without AssociatePublicIP option | All of these should go fine without any issues. | P1 | Functional | N/A |
| 10 | verification of EIP semantics for a custom EIP/ELB offering where AssociatePublicIP=true | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with basic zone using custom EIP/ELB and netscaler \\
\\
Steps :
# deploy a VM
# acquire a public IP by calling associateIp API
# enable StaticNAT on the acquired IP #2 to the VM deployed in #1 by calling enableStaticNat API.
# release public IP (iii.)
# stop the VM | i. public IP is automatically acquired and is owned by the VMs account. is_system is set to "1" in user_ip_addresses table. \\
and Static NAT rules is provisioned on NetScaler between public IP and VM's private IP \\
ii. publicIP will be assigned to the account but not mapped to any guest ip. \\
iii. public IP acquired in (i. ) will be returned to the public ip pool and static NAT rule is provisioned on NS between publicIP (ii.) and the VM. \\
iv. A new publicIP is allocated where is_system=1 set in user_ip_addresses table and Static NAT rule is provisioned on this IP. \\
v. If there is any public IP with is_system=1 is associated with this VM then it will be released and returned to the public pool automatically. | P1 | Functional | N/A |
| 11 | verification of EIP semantics for a custom EIP/ELB offering where AssociatePublicIP=false | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with basic zone using custom EIP/ELB and netscaler \\
\\
Steps :
# deploy a VM
# acquire a public IP by calling associateIp API
# enable StaticNAT on the acquired IP #2 to the VM deployed in #1 by calling enableStaticNat API.
# release public IP (iii.)
# stop the VM | i. VM is provisioned only with private IP. No public IPs are associated with account/VM. No static NAT rule is provisioned on the static NAT provider. \\
ii. publicIP will be assigned to the account but not mapped to any guest ip. \\
iii. Static NAT rule is provisioned on NS between publicIP (ii.) and the VM. \\
iv. publicIP (ii.) will be released and will be returned to the ACCOUNT but, no public IP is allocated at this moment. \\
v. If there is any public IP with is_system=1 is associated with this VM then it will be released and returned to the public pool automatically. | \\
P1 | Functional | Pass |
| 12 | Check systemVMs config in a zone that is using a custom EIP/ELB offering where AssociatePublicIP=false/true | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 with basic zone using custom EIP/ELB and netscaler \\
\\
Steps :
# Verify system VMs configuration. | i. irrespective of whether "AssociatePublicIP" is set to True/False, there must a public IP associated with each system VM (CPVM & SSVM). \\
ii. there is static NAT rule is provisioned on NS for each of these and they are functional. \\
iii. make sure that console view is working without any issues. | P1 | Functional | FAILED\\
 CLOUDSTACK-2193 |
| 13 | "AssociatePublicIP" option availability | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps :
#  create a network offering | Verify that AssociatePublicIP option is available only when staicNAT and ElasticIP capability is chosen by end user. | P1 | Functional | Pass |
| 14 | Creation of network offering with AssociatePublicIP=true and network type=Isolated | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps :
#  create a network offering with AssociatePublicIP=true and network type=Isolated | It should throw an error message saying this is not allowed. | P2 | Negative | N/A |
| 15 | Creation of network offering with AssociatePublicIP=true and network type=shared but, elasticIP=false | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps :  create a network offering with AssociatePublicIP=true and network type=shared but, elasticIP=false | It should throw an error message saying this is not allowed | P2 | Negative | N/A |
| 16 | Edit network offering and update AssociatePublicIP value. | Pre-requisites: \\
Fresh installation of CloudPlatform 3.0.6 \\
Steps :
# Try to update the value of AssociatePublicIP by editing the network offering. | It should not allow admin to change this value after network offering creation. | P2 | Functional | N/A |
| 17 | Upgrade  4.0.1 \-> 4.1.0 | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |