1 .. This work is licensed under a Creative Commons Attribution 4.0 International
3 .. http://creativecommons.org/licenses/by/4.0
4 .. (c) OPNFV, Huawei Technologies Co.,Ltd and others.
6 *************************************
7 Yardstick Test Case Description TC043
8 *************************************
10 .. _cirros-image: https://download.cirros-cloud.net
11 .. _Ping: https://linux.die.net/man/8/ping
13 +-----------------------------------------------------------------------------+
14 |Network Latency Between NFVI Nodes |
16 +--------------+--------------------------------------------------------------+
17 |test case id | OPNFV_YARDSTICK_TC043_LATENCY_BETWEEN_NFVI_NODES |
19 +--------------+--------------------------------------------------------------+
20 |metric | RTT (Round Trip Time) |
22 +--------------+--------------------------------------------------------------+
23 |test purpose | The purpose of TC043 is to do a basic verification that |
24 | | network latency is within acceptable boundaries when packets |
25 | | travel between different NFVI nodes. |
27 | | The purpose is also to be able to spot the trends. |
28 | | Test results, graphs and similar shall be stored for |
29 | | comparison reasons and product evolution understanding |
30 | | between different OPNFV versions and/or configurations. |
32 +--------------+--------------------------------------------------------------+
35 | | Ping is a computer network administration software utility |
36 | | used to test the reachability of a host on an Internet |
37 | | Protocol (IP) network. It measures the round-trip time for |
38 | | packet sent from the originating host to a destination |
39 | | computer that are echoed back to the source. |
41 +--------------+--------------------------------------------------------------+
42 |test topology | Ping packets (ICMP protocol's mandatory ECHO_REQUEST |
43 | | datagram) are sent from host node to target node to elicit |
44 | | ICMP ECHO_RESPONSE. |
46 +--------------+--------------------------------------------------------------+
47 |configuration | file: opnfv_yardstick_tc043.yaml |
49 | | Packet size 100 bytes. Total test duration 600 seconds. |
50 | | One ping each 10 seconds. SLA RTT is set to maximum 10 ms. |
52 +--------------+--------------------------------------------------------------+
53 |applicability | This test case can be configured with different: |
57 | | * ping intervals; |
58 | | * test durations; |
59 | | * test iterations. |
61 | | Default values exist. |
63 | | SLA is optional. The SLA in this test case serves as an |
64 | | example. Considerably lower RTT is expected, and also normal |
65 | | to achieve in balanced L2 environments. However, to cover |
66 | | most configurations, both bare metal and fully virtualized |
67 | | ones, this value should be possible to achieve and |
68 | | acceptable for black box testing. Many real time |
69 | | applications start to suffer badly if the RTT time is higher |
70 | | than this. Some may suffer bad also close to this RTT, while |
71 | | others may not suffer at all. It is a compromise that may |
72 | | have to be tuned for different configuration purposes. |
74 +--------------+--------------------------------------------------------------+
79 +--------------+--------------------------------------------------------------+
80 |pre_test | Each pod node must have ping included in it. |
83 +--------------+--------------------------------------------------------------+
84 |test sequence | description and expected result |
86 +--------------+--------------------------------------------------------------+
87 |step 1 | Yardstick is connected with the NFVI node by using ssh. |
88 | | 'ping_benchmark' bash script is copyied from Jump Host to |
89 | | the NFVI node via the ssh tunnel. |
91 +--------------+--------------------------------------------------------------+
92 |step 2 | Ping is invoked. Ping packets are sent from server node to |
93 | | client node. RTT results are calculated and checked against |
94 | | the SLA. Logs are produced and stored. |
96 | | Result: Logs are stored. |
98 +--------------+--------------------------------------------------------------+
99 |test verdict | Test should not PASS if any RTT is above the optional SLA |
100 | | value, or if there is a test case execution problem. |
102 +--------------+--------------------------------------------------------------+