aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/benchmark/scenarios/energy/energy_sample_chassis_output.txt
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/energy_sample_chassis_output.txt
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/energy_sample_chassis_output.txt')
-rw-r--r--yardstick/tests/unit/benchmark/scenarios/energy/energy_sample_chassis_output.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/yardstick/tests/unit/benchmark/scenarios/energy/energy_sample_chassis_output.txt b/yardstick/tests/unit/benchmark/scenarios/energy/energy_sample_chassis_output.txt
new file mode 100644
index 0000000..9b3afd1
--- /dev/null
+++ b/yardstick/tests/unit/benchmark/scenarios/energy/energy_sample_chassis_output.txt
@@ -0,0 +1,14 @@
+{
+ "@odata.id": "/redfish/v1/Chassis",
+ "Name": "ChassisCollection",
+ "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection",
+ "Members": [
+ {
+ "@odata.id": "/redfish/v1/Chassis/1"
+ }
+ ],
+ "@odata.type": "#ChassisCollection.ChassisCollection",
+ "@odata.etag": "\"af5a94479815eb5f87fe91ea08fde0ac\"",
+ "Members@odata.count": 1,
+ "Description": "A collection of Chassis resource instances."
+}