diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2020-01-02 15:23:01 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2020-01-07 05:55:08 +0000 |
commit | d131ce9f70c528cdd50aa0d4f2923f5a9f14aefc (patch) | |
tree | 84193d598c45db8bb545fc2e29869b694819cee2 /tests | |
parent | e6c1c5d7809494ced4f7273dac9784b3276c798e (diff) |
[lib] Adding function upload_file_dir_ops() to io/utils.py
Adding a function upload_file_dir_ops() to upload file_dir_ops.py
to all clients. This is to remove the redundant code given below:
```
g.log.info("Upload io scripts to clients %s for running IO on "
"mounts", cls.clients)
cls.script_upload_path = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
ret = upload_scripts(cls.clients, cls.script_upload_path)
if not ret:
raise ExecutionError("Failed to upload IO scripts to clients %s" %
cls.clients)
g.log.info("Successfully uploaded IO scripts to clients %s",
cls.clients)
```
Change-Id: I28ca528bfbaea20139808b7af812559715a27022
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions