Test cases created by Swamy
As the primary requirement of this feature is to support Juniper SRX and its services supported, QA primary focus while running the following tests is to ensure everything is functional w.r.to SRX.
Following L4-L7 services will be supported by CloudPlatform using SRX
Some of these tests will be carried with LB devices like NetScaler & F5 but, the scope of test plan is not about the validation of these devices rather only SRX.
|
Name |
Steps |
Verification |
Priority |
Type |
XEN |
|||
1 |
Creation of shared n/w offering without L4-L7 services |
|
(i.) Network offering should be created successfully. |
P1 |
Sanity |
Pass |
|||
2 |
DB verification for shared n/w offering without L4-L7 services |
|
(i.) Check the following tables to ensure that the selected services are the ones enabled
|
P1 |
Functional |
Pass |
|||
3 |
createNetwork using shared n/w offering without L4-L7 services |
|
(i.) Create n/w should take a custom CIDR and VLAN info from admin |
P1 |
Functional |
Pass |
|||
4 |
Creation of shared n/w offering with L4-L7 services |
|
(i.) Network offering should be created successfully. |
P1 |
Sanity |
Pass |
|||
5 |
DB verification for shared n/w offering with L4-L7 services |
|
(i.) Check the following tables to ensure that the selected services are the ones enabled
|
P1 |
Functional |
Pass |
|||
6 |
connect at least one NIC to a shared n/w without L4-L7 services |
1. As a non-ROOT admin, deploy a VM using a shared n/w that has no L4-L7 services |
(i.) VM deployment should happen without any issues |
P1 |
Functional |
Pass |
|||
7 |
connect more than one NIC to shared n/w without L4-L7 services from multiple accounts |
1. Have at least two accounts and deploy a VM using a shared n/w that has no L4-L7 services |
(i.) VM deployment should happen without any issues |
P1 |
Functional |
N/A |
|||
8 |
Verify GC for shared n/w without L4-L7 services |
1. Have at least two accounts and an undeployed VM using a shared n/w that has no L4-L7 services |
(i.) wait till the GC period based on the settings |
P1 |
Functional |
N/A |
|||
9 |
createNetwork using shared n/w offering with L4-L7 services |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
(i.) Create n/w should take a custom CIDR and VLAN info from admin |
P1 |
Functional |
Pass |
|||
10 |
connect more than one NIC to shared n/w with L4-L7 services from multiple accounts |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
(i.) VM deployment should happen without any issues |
P1 |
Functional |
Pass |
|||
11 |
Acquire IP for a shared Network that has L4-L7 services enabled using UI |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
(i.) IP should be associated with account and network successfully. |
P1 |
Functional |
Pass |
|||
12 |
Acquire IP for a shared Network that has L4-L7 services enabled using API |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
(i.) IP should be associated with account and network successfully. |
P1 |
Functional |
Pass |
|||
13 |
Release IP for a shared Network that has L4-L7 services enabled using UI |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
(i.) IP should be released and given back to pool successfully. |
P1 |
Functional |
Pass |
|||
14 |
Release IP for a shared Network that has L4-L7 services enabled using API |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
(i.) IP should be released and given back to pool successfully. |
P1 |
Functional |
Pass |
|
|
|
15 |
listPublicIpAddresses with listAll=true |
|
(i.) When listAll API parameter is set to true, API will return list of the public IP's associated with the network which caller is authorized to see. |
P1 |
Functional |
Pass |
|||
16 |
listPublicIpAddresses with listAll=false |
|
(i.) When listAll API parameter is set to false then API shall return the list of public IP's owned by the caller and associated with the network. |
P1 |
Functional |
N/A |
|||
17 |
listPublicIPAddress on a n/w that is not used by the account. |
|
|
P2 |
Negative |
N/A |
|||
18 |
listPublicIPAddress on a n/w that is not owned by the account. |
|
listPublicIpaddress should not list anything for a n/w that is not owned / scoped to d2->ACC2 |
P2 |
Negative |
N/A |
|||
19 |
Release IP for a shared Network that has L4-L7 services enabled and there are existing rules |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
(i.) IP should be released and given back to pool successfully. |
P1 |
Functional |
N/A |
|||
20 |
verify the functionality of services for a shared n/w with L4-L7 services from multiple accounts |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
(i.) All the rules should work fine without any issues. |
P1 |
Functional |
Pass |
|||
21 |
createNetwork using shared n/w offering with L4-L7 services where scope=ALL |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
(i.) verify that every account is able to deploy VMs using the shared n/w and the connectivity is fine. |
P1 |
Functional |
Pass |
|||
22 |
createNetwork using shared n/w offering with L4-L7 services where scope=domain |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
(i.) verify that the only account from a domain which is defined in the scope is able to deploy VMs using the shared n/w and the connectivity is fine. |
P1 |
Functional |
N/A |
|||
23 |
createNetwork using shared n/w offering with L4-L7 services where scope=project |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
(i.) verify that the only accounts that are part of project s able to deploy VMs using the shared n/w and the connectivity is fine. |
P1 |
Functional |
N/A |
|||
24 |
createNetwork using shared n/w offering that has some of L4-L7 services enabled |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
(i.) VM should be deployed without any issues and connectivity must be there as expected. |
P1 |
Functional |
N/A |
|||
25 |
createNetwork using shared n/w offering that has L4-L7 services enabled along with VPN |
1. As an admin, ensure that there is a shared network using shared n/w offering with following L4-L7 services. |
This should fail as we don’t support it |
P2 |
Negative |
N/A |
|||
26 |
Verify GC for shared n/w with L4-L7 services |
1. Have at least two accounts and an undeployed VM using a shared n/w that has L4-L7 services |
(i.) wait till the GC period based on the settings |
P1 |
Functional |
Pass |
|||
27 |
restart a shared n/w with L4-L7 service using cleanup=false |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
(i) It should implement n/w elements again and re-apply all the rules |
P1 |
Functional |
Pass |
|||
28 |
restart a shared n/w with L4-L7 service using cleanup=true |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
Following actions should happen |
P1 |
Functional |
Pass |
|||
29 |
External device allocation for shared n/ws with L4-L7 services enabled |
1. check external device allocation for shared n/ws with L4-L7 services enabled for the following cases |
|
P1 |
Functional |
N/A |
|||
30 |
destroy a shared n/w that is created using an offering with L4-L7 services enabled while in use |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
It should not happen since there are VMs/Nics connected to it |
P2 |
Negarive |
N/A |
|||
31 |
destroy a shared n/w that is created using an offering with L4-L7 services enabled which doesn’t have active NICs |
1. Make sure that there is a shared n/w with L4-L7 services enabled and available to user |
Network should be deleted successfully. |
P2 |
Negative |
N/A |
|||
32 |
Have VMs with multiple shared n/ws where L4-L7 features enabled |
1. Make sure that there are at least 2 shared n/ws with L4-L7 services enabled and available to users |
Everything should go fine without any issues. |
P1 |
Functional |
N/A |
|||
33 |
Have VMs with multiple shared n/ws where L4-L7 features enabled as well as isolated without sourceNAT |
1. Make sure that there are at least 2 shared n/ws with L4-L7 services enabled as well as isolate without sourceNAT available users. |
Everything should go fine without any issues. |
P1 |
Functional |
N/A |
|||
34 |
Have VMs with multiple shared n/ws where L4-L7 features enabled as well as isolated with all services enabled |
1. Make sure that there are at least 2 shared n/ws with L4-L7 services enabled as well as isolate with all sevices enabled |
Everything should go fine without any issues. |
P1 |
Functional |
N/A |
|||
35 |
Verify the default gateway functionality with VMs connected to multiple n/ws (both shared and isolated) |
1. Make sure that there are at least 2 shared n/ws with L4-L7 services enabled as well as isolate with all sevices enabled |
Default GW must be set to the user defined one and functionality |
P1 |
Functional |
N/A |
|||
36 |
Create different rules on an IP that is owned by one account to a VM in different account |
|
All the rule creation should fail with graceful error messages |
P1 |
Functional |
N/A |
|||
37 |
Create different rules on an IP that is mapped to one shared n/w to a VM connected to different shared n/w |
|
All the rule creation should fail with graceful error messages |
P1 |
Functional |
N/A |
|||
38 |
Create different rules on an IP that is mapped to one shared n/w to a VM connected to isolated network |
|
All the rule creation should fail with graceful error messages |
P1 |
Functional |
N/A |
|||
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|