blob: a77653aa5a68f8e1eaa16fb03386fefa7a1e8859 (
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
|
.. This work is licensed under a Creative Commons Attribution 4.0 International
.. License.
.. http://creativecommons.org/licenses/by/4.0
.. (c) OPNFV, Huawei Technologies Co.,Ltd and others.
*************************************
Yardstick Test Case Description TC063
*************************************
.. _iostat: http://linux.die.net/man/1/iostat
.. _fdisk: http://www.tldp.org/HOWTO/Partition/fdisk_partitioning.html
+-----------------------------------------------------------------------------+
|Storage Capacity |
| |
+--------------+--------------------------------------------------------------+
|test case id | OPNFV_YARDSTICK_TC063_Storage Capacity |
| | |
+--------------+--------------------------------------------------------------+
|metric | Storage/disk size, block size |
| | Disk Utilization |
+--------------+--------------------------------------------------------------+
|test purpose | This test case will check the parameters which could decide |
| | several models and each model has its specified task to |
| | measure. The test purposes are to measure disk size, block |
| | size and disk utilization. With the test results, we could |
| | evaluate the storage capacity of the host. |
| | |
+--------------+--------------------------------------------------------------+
|configuration | file: opnfv_yardstick_tc063.yaml |
| | |
| |* test_type: "disk_size" |
| |* runner: |
| | type: Iteration |
| | iterations: 1 - test is run 1 time iteratively. |
| | |
+--------------+--------------------------------------------------------------+
|test tool | fdisk |
| | A command-line utility that provides disk partitioning |
| | functions |
| | |
| | iostat |
| | This is a computer system monitor tool used to collect and |
| | show operating system storage input and output statistics. |
+--------------+--------------------------------------------------------------+
|references | iostat_ |
| | fdisk_ |
| | |
| | ETSI-NFV-TST001 |
| | |
+--------------+--------------------------------------------------------------+
|applicability | Test can be configured with different: |
| | |
| | * test_type: "disk size", "block size", "disk utilization" |
| | * interval: 1 - how ofter to stat disk utilization |
| | type: int |
| | unit: seconds |
| | * count: 15 - how many times to stat disk utilization |
| | type: int |
| | unit: na |
| | There are default values for each above-mentioned option. |
| | Run in background with other test cases. |
| | |
+--------------+--------------------------------------------------------------+
|pre-test | The test case image needs to be installed into Glance |
|conditions | |
| | No POD specific requirements have been identified. |
| | |
+--------------+--------------------------------------------------------------+
|test sequence | Output the specific storage capacity of disk information as |
| | the sequence into file. |
| | |
+--------------+--------------------------------------------------------------+
|step 1 | The pod is available and the hosts are installed. Node5 is |
| | used and logs are produced and stored. |
| | |
| | Result: Logs are stored. |
| | |
+--------------+--------------------------------------------------------------+
|test verdict | None. |
+--------------+--------------------------------------------------------------+
|