summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* glustercli: Changed return code when quota not enabledSahina Bose2014-04-281-3/+2
| | | | | | | | | When quota is not enabled the gluster cli command fails and was giving the wrong status. Fixed this. Change-Id: Ibf9709f7ccd17565473d5a258b323123f6904b82 Signed-off-by: Sahina Bose <sabose@redhat.com>
* common: Added volume quota statusSahina Bose2014-04-281-0/+43
| | | | | | | | Added volume quota status to glustercli Change-Id: Iefe0766d652dab7adb5d2514410434fb5c190631 Signed-off-by: Sahina Bose <sabose@redhat.com> Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
* gluster-nagios-comon: Minor pep8 fixShubhendu Tripathi2014-04-281-1/+2
| | | | | Change-Id: If4a253b347ea60ce18c43cd88bd946e9b62e491f Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
* gluster-nagios-common: Fixed test failure for glusterShubhendu Tripathi2014-04-281-2/+9
| | | | | | | Fixed the test failure because of gluster command Change-Id: Ica6cd01c17e6bc9a9951bfe2c488eb6a359af447 Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
* gluster-nagios-common: Added test cases to make fileShubhendu Tripathi2014-04-282-5/+6
| | | | | | | | Added test cases test_glustercli and test_storage to the make file Change-Id: Ia75c7abbad565ee505ccb150b1806246ba81eedb Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
* gluster-nagios-common: Added storage utils moduleShubhendu Tripathi2014-04-281-0/+391
| | | | | | | | | | Introduced storage device utils module Change-Id: I738b46b0750deaf91b896a8edab07b5f1a692ddb Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22254 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* gluster-nagios-common: Added gluster cli moduleShubhendu Tripathi2014-04-281-0/+1059
| | | | | | | | | | | | | | Introduced gluster cli module to add all the gluster related get methods Change-Id: I440ae89ac3f93f961024a6e78870154f57b7dfbd Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22253 Reviewed-by: Darshan Narayana Murthy <dnarayan@redhat.com> Reviewed-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com> Reviewed-by: Balamurugan Arumugam <barumuga@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* utils: Added utils method to convert sizeSahina Bose2014-04-281-0/+18
| | | | | | | | | | | | The method converts a value from a given unit to another. Example usage: convertSize (value, 'KB', 'MB) Change-Id: If8e004076493006234be81e656eabde7d3bf9a6a Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/32 Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Nishanth Thomas <nishusemail@gmail.com>
* utils: add xml2dict()Bala.FA2014-04-283-0/+81
| | | | | | | | The method coverts xml object as elementTree to dictionary. Change-Id: Ia7eca3eb52a79979d7d1ee9d4ce1c842cc86e8ed Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/22
* Initial commitv0.1.0Bala.FA2014-04-287-0/+604
Change-Id: Ie8fdd046d111a4a46abe0e162985e833323bfd7d Signed-off-by: Bala.FA <barumuga@redhat.com>