forked from sonata-nfv/tng-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add **test_sp02_test_service_reconfiguration_(OS)** sonata-nfv#209
- Loading branch information
1 parent
5008a04
commit 26bef39
Showing
10 changed files
with
110 additions
and
179 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
67 changes: 0 additions & 67 deletions
67
tests/SP/test_runtime_policy_lifecycle/generic_template.robot
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
readme | ||
||||| | ||
| :--- | :--- | :--- | :--- | | ||
| __Test Case Name__ | | __Test Service Lifecycle in k8s with elasticity policies__ | | | ||
| __Test Purpose__ | | Check the lifecycle of a Network Service with an elasticity policy activated. Check collaboration between MANO, monitoring engine and policy engine| | | ||
| __Configuration__ | | ns-mediapilot-service pilot NS is deployed on the Service Platform upon k8s| | | ||
| __Test Tool__ | | Robot Framework, using Tnglib | | | ||
| __Metric__ | | Boolean (success or not), execution time | | | ||
| __References__ | | | | | ||
| __Applicability__ | | Variations of this test case can be performed to test multiple policy actions | | | ||
| __Pre-test conditions__ | | The packages that contain the NS will be created before the test execution. The policy descriptor is also defined before the test execution.| | | ||
| __Test sequence__ | Step | Description | Result | | ||
| | 1 | Service Package On-Boarding | Service Package is on-boarded in the SP| | ||
| | 2 | Runtime Policy Creation | Runtime Policy is created in the SP | | ||
| | 3 | Define Runtime Policy as default | Attach the Runtime Policy with the deployed Service Package | | ||
| | 4 | Deploy Network Service | Network Service is deployed in the SP | | ||
| | 5 | Check Network Service instantiation | Confirm that the NS was deployed without errors | | ||
| | 6 | Check Monitoring Rules | Confirm that the NS monitoring rules are enabled without errors from the monitoring engine | | ||
| | 7 | Satisfy Monitoring Rule | generate a custom metric value that satisfies the monitoring rule | | ||
| | 8 | Demand Elasticity policy action | policy manager requests VNF scaling out from MANO | | ||
| | 9 | Evaluate the outcome of MANO scaling action enforcement | Confirm that the requested action is succesfully completed | | ||
| | 10 | Deactivate Runtime Policy | Deactivate runtime policy while the NS is still deployed | | ||
| | 9 | Terminate Network Service | Delete the NS deployed | | ||
| | 10 | Delete Runtime Policy | Delete Runtime Policy | | ||
| | 11 | Remove NS package | Remove NS package | | ||
| __Test Verdict__ | | Network services is succesfully deployed and undeployed at an OS VIM environment.Runtime Policies are enforced and deactivated succesfully | | | ||
| __Additional resources__ | | | | | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
readme | ||
||||| | ||
| :--- | :--- | :--- | :--- | | ||
| __Test Case Name__ | | __Test Service Lifecycle in OS with elasticity policies__ | | | ||
| __Test Purpose__ | | Check the lifecycle of a Network Service with an elasticity policy activated. Check collaboration between MANO, monitoring engine and policy engine| | | ||
| __Configuration__ | | A NS composed by one haproxy and one squid VNF are deployed on the Service Platform| | | ||
| __Test Tool__ | | Robot Framework, using Tnglib | | | ||
| __Metric__ | | Boolean (success or not), execution time | | | ||
| __References__ | | | | | ||
| __Applicability__ | | Variations of this test case can be performed to test multiple policy actions | | | ||
| __Pre-test conditions__ | | The packages that contain the NS will be created before the test execution. The policy descriptor is also defined before the test execution.| | | ||
| __Test sequence__ | Step | Description | Result | | ||
| | 1 | Service Package On-Boarding | Service Package is on-boarded in the SP| | ||
| | 2 | Runtime Policy Creation | Runtime Policy is created in the SP | | ||
| | 3 | Define Runtime Policy as default | Attach the Runtime Policy with the deployed Service Package | | ||
| | 4 | Deploy Network Service | Network Service is deployed in the SP | | ||
| | 5 | Check Network Service instantiation | Confirm that the NS was deployed without errors | | ||
| | 6 | Check Monitoring Rules | Confirm that the NS monitoring rules are enabled without errors from the monitoring engine | | ||
| | 7 | Satisfy Monitoring Rule | generate a custom metric value that satisfies the monitoring rule | | ||
| | 8 | Demand Elasticity policy action | policy manager requests VNF scaling out from MANO | | ||
| | 9 | Evaluate the outcome of MANO scaling action enforcement | Confirm that the requested action is succesfully completed | | ||
| | 10 | Deactivate Runtime Policy | Deactivate runtime policy while the NS is still deployed | | ||
| | 9 | Terminate Network Service | Delete the NS deployed | | ||
| | 10 | Delete Runtime Policy | Delete Runtime Policy | | ||
| | 11 | Remove NS package | Remove NS package | | ||
| __Test Verdict__ | | Network services is succesfully deployed and undeployed at an OS VIM environment.Runtime Policies are enforced and deactivated succesfully | | | ||
| __Additional resources__ | | | | | ||
|
||
|
Binary file added
BIN
+18.1 KB
tests/SP/test_service_reconfiguration_os/packages/eu.5gtango.ns-squid-haproxy.0.1.tgo
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.