summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/quota_libs.py
Commit message (Collapse)AuthorAgeFilesLines
* [py2to3] Replace usage of ".iteitems()" attr with ".items()"Valerii Ponomarov2019-11-211-1/+1
| | | | | | | | Dict attribute called "iteritems()" is not supported in the py3. So, replace it's usage with another similar attr called "items()". Change-Id: I130b7f67f0a2d5da5ed6c3d792f5ff024ba148f4 Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
* Using a raw strings for fixing flake warningsVitalii Koriakov2018-10-291-1/+1
| | | | | Change-Id: Ie134790ea05919a4b396657c11cbc3fc7a7fc529 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Quota : Validate limit on deep directoriesharigowtham2018-06-261-1/+1
| | | | | | | | | | | | | | | The below operations are performed on various types of volumes and mount. * Enable Quota * Create 10 directories one inside the other and set limit of 1GB on each directory * Perform a quota list operation * Create some random amount of data inside each directory * Perform a quota list operation * Remove the quota limit and delete the data Change-Id: I2a706eba5c23909e2e6996f485b3f4ead9d5dbca Signed-off-by: harigowtham <hgowtham@redhat.com>
* Quota : Library to get the quotad pidVinayak Papnoi2018-06-141-0/+67
| | | | | | | | Adding quota_libs.py with the quota_fetch_daemon_pid library. This library gets the PID of quota daemon from all the nodes. Change-Id: Icc5ecba5649a2f7fd48d5cedda6c1dd3ad8b50c0 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
* Quota: Fixing quota libs in glustoSanoj Unnikrishnan2018-06-131-0/+63
- added quota_libs.py with quota_validate library - Removed redundant function in quota_ops. - changed naming of quota_ops to be consistent and intutive w.r.t cli Change-Id: I4faf448ea308c9e04b548d6174d900fcf56978a5 Signed-off-by: Sanoj Unnikrishnan <sunnikri@redhat.com>