os-faults/os_faults/tests/unit
Ilya Shakhat 9cf6337d5e Implement stress injection
Add new type of fault called "stress". When activated this fault
produces load on CPU, disk, memory or kernel of node. The functionality
is implemented with help of stress-ng utility.

Node collection API is extended:
   def stress(self, target, duration=None)

Human API is extended, examples of commands:
 * stress cpu for 20 seconds on controller.domain.tld node
 * stress disk for 10 seconds on all nodes
 * stress memory for 60 seconds on all nodes with keystone service

Change-Id: I8ddb2292b8dd19f476e4a5071259d1a90cbaa37c
Note: 'stress-ng' is required to be installed on target nodes.
2017-08-30 15:09:49 +02:00
..
ansible Auth configuration for each node 2017-04-25 15:32:19 +03:00
api Implement stress injection 2017-08-30 15:09:49 +02:00
cmd [CLI] Add os-faults discover command 2017-04-25 11:08:27 +03:00
drivers Add Devstack Systemd driver 2017-07-20 15:40:12 +02:00
__init__.py Move unit tests from os_faults/tests/ to os_faults/tests/unit/ 2016-09-27 15:13:54 +03:00
fakes.py Move unit tests from os_faults/tests/ to os_faults/tests/unit/ 2016-09-27 15:13:54 +03:00
test.py Move unit tests from os_faults/tests/ to os_faults/tests/unit/ 2016-09-27 15:13:54 +03:00
test_os_faults.py Add Devstack Systemd driver 2017-07-20 15:40:12 +02:00
test_registry.py [Core] Services as drivers 2017-04-17 17:20:27 +03:00
test_utils.py Allow adding libvirt name for node 2017-04-25 08:49:36 +00:00