summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling mistake across the codebaseNigel Babu2018-08-071-2/+2
| | | | Change-Id: I46fc2feffe6443af6913785d67bf310838532421
* initial dht libsJonathan Holloway2018-02-261-0/+83
| | | | | | | | | | | | | * glusterfile.py - helper for gluster client and backend files. * glusterdir.py - helper for gluster client and backend dirs. * brickdir.py - helper for collection and hashing of brickdirs (from pathinfo data). * layout.py - base class for simple DHT layout validation. * dht_test_util.py - utility module to walk a directory tree and run tests against files. * constants.py - definitions for constants used in DHT libraries. * exceptions.py - definitions for exceptions raised in DHT libraries. Change-Id: I44770a822e0ec79561b3aa048e555320f622116a Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* quota: lib to check if hard and soft limit are exceed.hari gowtham2018-02-021-0/+14
| | | | | | | | This is a library to check if quota' hard and soft limit are exceeded from the output of the quota list xml command. Change-Id: Ie02ab9fcbf2aa2d248e0cb6385ab3d3f0554dec0 Signed-off-by: hari gowtham <hgowtham>
* Raise custom exceptions rather assert failuresNigel Babu2017-02-011-0/+17
The setup should never raise an assert failure in a test. Only tests should fail an assert. If an essential test setup doesn't work, we should be raising custom exceptions instead. Change-Id: I6d5cce448132b71b6fde3a39fef894be8b1216d3 Signed-off-by: Nigel Babu <nigelb@redhat.com>