summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/gluster_init.py
diff options
context:
space:
mode:
authorVinayak Papnoi <vpapnoi@redhat.com>2020-01-20 15:51:54 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2020-01-21 07:08:51 +0000
commit1a6c15c9d2721b94ebfa05e399dd3b7719d4843d (patch)
tree5f6f288ecea845ddef0ba58f45cf886d295e5744 /glustolibs-gluster/glustolibs/gluster/gluster_init.py
parent9496a536ead52af48b5a164f648e67b92c15fad8 (diff)
[lib] Add method to get list of snaps in .snaps
This addition is to aid the test cases which validate the existence of snapshots under the '.snaps' directory. The existing method i.e. 'uss_list_snap' does not help in getting the list of snapshots and instead just recursively performs 'ls' under the .snaps directory. This method will return a list of directory names present under the '.snaps' directory. Change-Id: I808131788df975ca243ac5721713492422af0ab8 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/gluster_init.py')
0 files changed, 0 insertions, 0 deletions