summaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_drivers/tasks/Debian.yml
blob: 27f6b74cc61e50bab31cf7f6f2b749e36944c7ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (c) 2018 Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
- name: Install kernel headers
  action: "{{ ansible_pkg_mgr }} name=linux-headers-{{ chroot_kernel }} state=present"
63_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. | +--------------+--------------------------------------------------------------+