aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing/user/userguide/nsb/tc_vims_context_sipp.rst
blob: 6df4ab880aaaa4f647dc00ad9cb98b0fb1c0e840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.. This work is licensed under a Creative Commons Attribution 4.0 International
.. License.
.. http://creativecommons.org/licenses/by/4.0
.. (c) 2019 Viosoft Corporation.

**********************************************
Yardstick Test Case Description: NSB VIMS
**********************************************

+-----------------------------------------------------------------------------+
|NSB VIMS test for vIMS characterization                                      |
|                                                                             |
+--------------+--------------------------------------------------------------+
|test case id  | tc_vims_{context}_sipp                                       |
|              |                                                              |
|              | * context = baremetal or heat;                               |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|metric        | * Successful registrations per second;                       |
|              | * Total number of active registrations per server;           |
|              | * Successful de-registrations per second;                    |
|              | * Successful session establishments per second;              |
|              | * Total number of active sessions per server;                |
|              | * Mean session setup time;                                   |
|              | * Successful re-registrations per second;                    |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|test purpose  | The vIMS test handles registration rate, call rate,          |
|              | round trip delay, and message statistics of vIMS system.     |
|              |                                                              |
|              | The vIMS test cases are implemented to run in baremetal      |
|              | and heat context default configuration.                      |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|configuration | The vIMS test cases are listed below:                        |
|              |                                                              |
|              | * tc_vims_baremetal_sipp.yaml                                |
|              | * tc_vims_heat_sipp.yaml                                     |
|              |                                                              |
|              | Each test runs one time and collects all the KPIs.           |
|              | The configuration of vIMS and SIPp can be changed in each    |
|              | test.                                                        |
+--------------+--------------------------------------------------------------+
|test tool     | SIPp                                                         |
|              |                                                              |
|              | SIPp is an application that can simulate SIP scenarios, can  |
|              | generate RTP traffic and used for vIMS characterization.     |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|applicability | The SIPp test cases can be configured with different:        |
|              |                                                              |
|              | * number of accounts;                                        |
|              | * the call per second (cps) of SIP test;                     |
|              | * the holding time;                                          |
|              | * RTP configuratioin;                                        |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|pre-test      | For Openstack test case, only vIMS is deployed by external   |
|conditions    | heat template, SIPp needs pod.yaml file with the necessary   |
|              | system and NIC information                                   |
|              |                                                              |
|              | For Baremetal tests cases SIPp and vIMS must be installed in |
|              | the hosts where the test is executed. The pod.yaml file must |
|              | have the necessary system and NIC information                |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|test sequence | description and expected result                              |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|step 1        | For Baremetal test: The TG and VNF are started on the hosts  |
|              | based on the pod file.                                       |
|              |                                                              |
|              | For Heat test: One host VM for vIMS is booted, based on      |
|              | the test flavor. Another host for SIPp is booted as          |
|              | traffic generator, based on pod.yaml file                    |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|step 2        | Yardstick is connected with the vIMS and SIPp via ssh.       |
|              | The test will resolve the topology, instantiate the vIMS and |
|              | SIPp and collect the KPIs/metrics.                           |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|step 3        | The SIPp will run scenario tests with parameters configured  |
|              | in test case files (tc_vims_baremetal_sipp.yaml and          |
|              | tc_vims_heat_sipp.yaml files).                               |
|              | This is done until the KPIs of SIPp are within an acceptable |
|              | threshold.                                                   |
|              |                                                              |
+--------------+--------------------------------------------------------------+
|step 4        | In Baremetal test: The test quits the application.           |
|              |                                                              |
|              | In Heat test: The host VM of vIMS is deleted on test         |
|              | completion.                                                  |
+--------------+--------------------------------------------------------------+
|test verdict  | The test case will collect the KPIs and plot on Grafana.     |
+--------------+--------------------------------------------------------------+