os-faults/os_faults/tests/unit/api
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
..
__init__.py Move unit tests from os_faults/tests/ to os_faults/tests/unit/ 2016-09-27 15:13:54 +03:00
test_human_api.py Implement stress injection 2017-08-30 15:09:49 +02:00
test_node_collection.py Auth configuration for each node 2017-04-25 15:32:19 +03:00
test_power_management.py Allow adding libvirt name for node 2017-04-25 08:49:36 +00:00