summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/snap_scheduler.py
Commit message (Collapse)AuthorAgeFilesLines
* [py2to3] Change str to list in isinstance()kshithijiyer2020-01-091-1/+1
| | | | | | | | | | | | Use 'list' object type in comparisons instead of 'str' Because it is differently treated in py2 and py3. Example: In py2 isinstance(u'foo', str) is False In py3 isinstance(u'foo', str) is True Change-Id: I7663d42494bf59d74550ff4897379d35cc357db4 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* snapshot:: Modification in library for snap schedulerSunny Kumar2018-06-181-38/+50
| | | | | | | | | | | | Following modifications has been made - 1. Added function for snap scheduler initialization. 2. Snap scheduler initialization should not be combined with snap schedule enable. 3. Snap scheduler enable/disable should be issued for a node instead for every node in cluster. Change-Id: I23650f48b152debdfb4d7bc8af6f65ecb2bcddfb Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* snapshot:: library for snapshot schedulersrivickynesh2018-05-311-0/+215
Change-Id: Id2afba5b96177b2acde057357d58f0b257104c98 Signed-off-by: srivickynesh <sselvan@redhat.com>