2.0 refactoring:
* Add type for most of functions
* Remove old fio run code, move to RPC/pluggable
* Remove most of sensors code, will move then to RPC
* Other refactoring
diff --git a/wally/suits/io/rpc_plugin.py b/wally/suits/io/rpc_plugin.py
new file mode 100644
index 0000000..ca3f0f3
--- /dev/null
+++ b/wally/suits/io/rpc_plugin.py
@@ -0,0 +1,15 @@
+def rpc_run_fio(cfg):
+ fio_cmd_templ = "cd {exec_folder}; {fio_path}fio --output-format=json " + \
+ "--output={out_file} --alloc-size=262144 {job_file}"
+
+ # fnames_before = node.run("ls -1 " + exec_folder, nolog=True)
+ #
+ # timeout = int(exec_time + max(300, exec_time))
+ # soft_end_time = time.time() + exec_time
+ # logger.error("Fio timeouted on node {}. Killing it".format(node))
+ # end = time.time()
+ # fnames_after = node.run("ls -1 " + exec_folder, nolog=True)
+ #
+
+def parse_fio_result(data):
+ pass