From 002920e29d7fa4a28abec96773b470c90bafe55d Mon Sep 17 00:00:00 2001 From: mbeierl Date: Mon, 23 Nov 2015 08:23:47 -0800 Subject: Adding workload modules Adding the ablity to define workloads in modules which can be referenced from the API. Breaking out the test execution into its own class so it will be easier to support ReST or other interfaces. Added flake8 and code coverage reports where possible to merge and verify jobs Change-Id: Ieb51e4e7e1e989288a6f81f4757709669914a196 JIRA: STORPERF-21 Signed-off-by: mbeierl --- storperf/workloads/_ssd_preconditioning.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 storperf/workloads/_ssd_preconditioning.py (limited to 'storperf/workloads/_ssd_preconditioning.py') diff --git a/storperf/workloads/_ssd_preconditioning.py b/storperf/workloads/_ssd_preconditioning.py new file mode 100644 index 0000000..66d5fa1 --- /dev/null +++ b/storperf/workloads/_ssd_preconditioning.py @@ -0,0 +1,16 @@ +############################################################################## +# Copyright (c) 2015 EMC and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +from workloads import _base_workload + + +class _ssd_preconditioning(_base_workload._base_workload): + + def setup(self): + self.options['name'] = 'ssd_preconditioning' + self.options['rw'] = 'write' -- cgit 1.2.3-korg