summaryrefslogtreecommitdiffstats
path: root/libs/utils/hostutils.py
Commit message (Collapse)AuthorAgeFilesLines
* Geo-replication library and gluster installation.HEADmasterVijaykumar2012-03-141-333/+0
| | | | | | | | | | | | | * Geo-replication library function in glusterutils * A new section in configuration file for geo-rep * In gluster installation , changing libexecdir to /usr/local/libexec in configuration. * Removed some unwanted code. * handling to have a geo-rep session locally also. Change-Id: Ifcf00b73ed933077640113ce0528b39bdad55999 Signed-off-by: Vijaykumar <vkoppad@redhat.com> Signed-off-by: root <root@vostro.(none)>
* Changing the return value of all the libraries. The libraries will return a ↵Shwetha-H-Panduranga2012-02-061-134/+110
| | | | | | | dictionary with 'exitstatus', 'stdoutdata', 'stderrdata' as keys. The value of 'exitstatus' is the exit status of the command execution. The 'stdoutdata' contains data written to the stdout during command execution. The 'stderrdata' contains data written to stderr during command execution. Change-Id: Ib04062ab34ddf6cf1d8bde07716c4a3be1800ec5 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Merge "Gluster installation through tar,git,rpm."Amar Tumballi2012-01-241-2/+344
|\
| * Gluster installation through tar,git,rpm.Vijaykumar2012-01-201-16/+358
| | | | | | | | | | | | | | Signed-off-by: Vijaykumar <vkoppad@redhat.com> Change-Id: I10cf998ff87dabfbc3cd4abd5762dba255e53042 Signed-off-by: Vijaykumar <vkoppad@redhat.com>
* | Adding libraries for validating the testcases.Shwetha-H-Panduranga2012-01-201-16/+57
|/ | | | | | | | | 1)calculating md5sum of mountpoints and bricks using arequal-checksum. 2)validate whether the md5sum of mountpoints and bricks are same. 3)validate gfids of the files on the bricks are same. Change-Id: Id5392721887a348f9c06fedf572098d711956497 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Changing the function assert_success and assert_failure in atfutils to take ↵Shwetha-H-Panduranga2011-12-211-4/+4
| | | | exit_status as argument. Hence refelecting the changes in all files which used the functions
* Changes made to '_substitute_value_for_variables' function. The function now ↵Shwetha-H-Panduranga2011-12-201-37/+56
| | | | handles substitution of variable values. (Ex:- <volume1.volumename> replaces volumename of volume1. The variable value is the value defined in testenv.cfg for that testunit). The function returns commands wiith values substituted for variables. The function 'execute_command' now returns 'output'(dictionary output from ssh.executecommand)
* Changes to logger class, Using the logger class in the framework, adding new ↵Shwetha-H-Panduranga2011-12-121-26/+48
| | | | global values, Changes made to argument parser, testruninfo
* Renaming DirectoriesShwetha-H-Panduranga2011-12-071-0/+193