aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/benchmark/scenarios/energy/__init__.py
diff options
context:
space:
mode:
authorsungn <sungn2@lenovo.com>2019-12-06 16:36:52 +0800
committersungn <sungn2@lenovo.com>2019-12-10 18:08:12 +0800
commit681292f871f31dffaef84f811dfdfd89df23a638 (patch)
tree67cb81e7bc4ff44b673c96daf694e42ecadbc345 /yardstick/tests/unit/benchmark/scenarios/energy/__init__.py
parentfa7302c8d77f2400ac11874354de68ea632717ed (diff)
Add energy base scenario and test files
Folder of energy contains scripts of energy measurement. File __init__.py make it a module that can be imported. File energy.py contains the main function of energy measurement through redfish API. File test_energy.py test function of energy.py File energy_sample_chassis_output.txt provide a sample output of chassis query. File energy_sample_power_metrics.txt provide sample metrics of power query. This will allow users to collect data of energy consumption of baremetal machines. JIRA: YARDSTICK-1624 Co-authored by: Roland Picard <roland.picard@orange.com> Signed-off-by: sungn <sungn2@lenovo.com> Change-Id: Ied86894f3dcc2536f0cb1a044f4591351e5b3270
Diffstat (limited to 'yardstick/tests/unit/benchmark/scenarios/energy/__init__.py')
-rw-r--r--yardstick/tests/unit/benchmark/scenarios/energy/__init__.py0
1 files changed, 0 insertions, 0 deletions
diff --git a/yardstick/tests/unit/benchmark/scenarios/energy/__init__.py b/yardstick/tests/unit/benchmark/scenarios/energy/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/yardstick/tests/unit/benchmark/scenarios/energy/__init__.py