summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/shared_storage_ops.py
Commit message (Collapse)AuthorAgeFilesLines
* [Shared storage] Fix library functionVinayak Papnoi2020-01-161-32/+6
| | | | | | | | | | | | | | | | | | The library shared_storage_ops.py contains two functions which are similar and do not serve a completely unique purpose. These functions are "is_shared_volume_mounted" and "is_shared_volume_unmounted". Here, the function "is_shared_volume_unmounted" needs to be removed because any test case can be validated using assertion for the function "is_shared_volume_mounted". The function "disable_shared_storage" has an incorrect description. This description has been changed with the fix. There are minor cosmetic changes as well which have been fixed to make the code lightweight. Change-Id: I796831a95c205fef49a841eb14f5a15079f9a6b0 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
* Moving check_gluster_shared_volume to library.kshithijiyer2019-08-011-4/+57
| | | | | | | | Adding function check_gluster_shared_volume() to check if gluster_shared_storage is present or absent. Change-Id: Ifa646187a0ef351f3dd37b54bb0a3a8a7c8b2500 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Libraries to enable and disable shared storageAkarsha2018-06-131-0/+116
Change-Id: Ie5072e8f29185104bcd54348465cc6e96cce5f00 Signed-off-by: Akarsha <akrai@redhat.com>