diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2020-02-04 12:27:00 +0530 |
---|---|---|
committer | kshithijiyer <kshithij.ki@gmail.com> | 2020-02-04 17:40:13 +0530 |
commit | 3464b5c67607b31a6c259ff80e4cb194e0248d09 (patch) | |
tree | 429608edb21fd6b2f3d7e5057006541664e5a2d3 /glustolibs-gluster/glustolibs/gluster/brickdir.py | |
parent | b980012f601f3037c3927d7f22780a228a5efb10 (diff) |
[lib] Adding collect_bricks_arequal() to lib_utils.py
Adding function collect_bricks_arequal() to lib_utils.py
to collect arequal-checksum on all the bricks of all the
nodes used to create a volume using the below command:
```
arequal-checksum -p <BrickPath> -i .glusterfs -i .landfill -i .trashcan
```
Usage:
```
>>> all_bricks = get_all_bricks(self.mnode, self.volname)
>>> ret, arequal = collect_bricks_arequal(all_bricks)
>>> ret
True
```
Change-Id: Id42615469be18d84e5691c982369634c436ed0cf
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/brickdir.py')
0 files changed, 0 insertions, 0 deletions