test_cases - sonata-nfv/tng-tests GitHub Wiki
# Test Cases
F2F Meeting Notes (assignments)
- SP
- On-boarding - pre-create the package (Stavros)
- Instantiation (Thomas) - check if the SLA is available
- SLA (Evgenia) - apply SLA
- Policing (Eleni) - policing is enforced
- Slice {Creation, Termination} stitching two NSs (Pol)
- Scaling Out / In (Thomas) - manual
- Scaling Out / In (Eleni) - based on policy (automated)
- Termination (Stavros)
- VnV
- On-boarding {Tango Pkg (Aureliano)
- OSM Pkg (Aureliano)
- ONAP Pkg (Kevin),
- Test Pkg Luis}
- Test-execution (Planner - Curator - Executor) - Santi - DONE
- Test-analytic-engine (Eleni)
SP
1. Simple Service Lifecycle. Stavros/GX This test performs the package on-boarding, instantiation and termination of a Network Service
1.1 NSID1C Network Service with 1 Container
1.2 NSID1V Network Service with 1 VM
1.3 NSID2C Network Service with 2 Containers
1.3.1 Single VIM Network Service with 2 Containers deployed in one VIM
1.3.2 Multi VIM Network Service with 2 containers deployed in 2 VIMs
1.4 NSID2V Network Service with 2 VMs
1.4.1 Single VIM Network Service with 2 VMs deployed in one VIM
1.4.2 Multi VIM Network Service with 2 VMs deployed in 2 VIMs
1.5 NSID1C1V Network service that deploys 1 container in one VIM and one VM in other VIM
1.6 WIM This Reuse the case 1.3.2, 1.4.2 and 1.5 and create a test
2. Policy test (Eleni/Tasos)
2.1 Policies CRUD Functions
Deploy a package (haproxy-squid). Create a policy for the NS. Edit the policy. Clone the policy. Remove the package and the associated policy. Add/remove a placement policy
2.2 Runtime Policy basic lifecycle
Deploy the haproxy-squid NS package. Create a default policy for the NS. Instantiate the NS. Check that monitoring rules are enabled successfully. Scale in and out the squid vnf. Undeploy the service and delete policy
2.3 Runtime Policy binded with SLA
Deploy the haproxy-squid NS package. Create a sample SLA. Create a policy for the NS. Bind the policy with the SLA. Instantiate the NS. Check that monitoring rules are enabled successfully. Scale in and out the squid vnf. Undeploy the service and delete policy
2.4 Runtime Policy activation/deactivation
Deploy the haproxy-squid NS package. Instantiate the NS. Create a policy for that NS. Activate the policy. Check that monitoring rules are enabled successfully. Scale in and out the squid vnf. Deactivate the policy. Undeploy the service and delete policy.
3. Slicing test (Pol)
3.1 Network Service Composition A Network Slice contains 3 Network Services interconnected among them by 2 Virtual Links (networks). The test uses a Network Slice Templated descriptor (NSTd) which defines the Network Slice to instantiate and terminate.
3.1.1 Slice that is comprised of 3 NS with 1 VNFs each, linked among them
3.1.2 Slice that is comprised of 3 NS, 2 with 1 VNFs and 1 with 1 CNF, linked among them
3.2 Share Network Service Two equal Network Slice, that each slice contains 3 Network Services interconnected. The middle NSS is share between 2 Slice.
3.2.1 The shared NSS is a VNF where the slices are (NS1(VNF) - NS2(VNF) - NS3(VNF)) and (NS1(VNF) - NS2(VNF) - NS3(VNF))
3.2.2 The shared NSS is a CNF where the slices are (NS1(VNF) - NS2(CNF) - NS3(VNF)) and (NS1(CNF) - NS2(CNF) - NS3(CNF))
3.3 SLA within Network Slice
3.3.1 The Slice1 has the SLA1 applied, and the Slice2 has the SLA2 applied.
4. SLA test (Marios/Evgenia)
4.1 SLA that refers to a Service with public License
Public License = (public - exp Date: Date.today + 1 day - #instances 2)
4.2 SLA that refers to a Service with trial License
Trial License = (trial - exp Date: Date.today + 1 day - #instances 2)
4.3 SLA that refers to a Service with private License
Private License = (private - exp Date: Date.today + 1 day - #instances 2)
5. Manual Scaling (Felipe) 5.1 VNFSCALE Manual Scaling of a Service composed by VNFs 5.2 CNFSCALE Manual Scaling of a Service composed by CNFs
6. Automatic Scaling (Eleni/Thomas) Add cases list
VnV
1. Basic Flow Add cases list
2. VnV Features To be defined maybe tests with specific probes
Resources:
Add package List -