summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPrasad Desala <tdesala@redhat.com>2018-06-25 20:14:01 +0530
committerPrasad Desala <tdesala@redhat.com>2018-06-28 18:10:36 +0530
commitc2ad784884381590545b2afc188c67e60b6bbcfb (patch)
tree33d81f5f3d31a4658422186a2e56dbbc3b7322f8 /tests
parentb62c9204e0e290b96bfdb9bdfaf44c63fb8e3ff6 (diff)
Adding dht function is_layout_complete
def is_layout_complete(mnode, volname): """This function reads the subvols in the given volume and checks whether layout is complete or not. Layout starts at zero, ends at 32-bits high, and has no holes or overlaps Args: volname (str): volume name mnode (str): Node on which cmd has to be executed. Returns (bool): True if layout is complete False if layout has any holes or overlaps Example: is_layout_complete("abc.xyz.com", "testvol") """ Change-Id: I46b20bf71c0dd3ac7d2dd393fa209744c4eebb3c Signed-off-by: Prasad Desala <tdesala@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions