os-faults/os_faults/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 Rename os-failures into os-faults 2016-09-04 15:59:16 +03:00
base_driver.py Improve help in command-line utility 2016-10-10 13:20:35 +03:00
cloud_management.py [Core] Predefined ips for services in config 2017-04-21 13:44:45 +03:00
error.py [Core] Services as drivers 2017-04-17 17:20:27 +03:00
human.py Implement stress injection 2017-08-30 15:09:49 +02:00
node_collection.py Implement stress injection 2017-08-30 15:09:49 +02:00
node_discover.py Add node_list driver 2017-01-23 17:20:19 +03:00
power_management.py Add shutdown method to all power drivers 2017-03-02 08:02:34 +00:00
service.py [Core] Predefined ips for services in config 2017-04-21 13:44:45 +03:00
util.py Add human-friendly interface 2016-09-20 11:24:25 +03:00