Beispiel #1
0
def _drives_get_by_uuids(id_prefix, uuids):
    stress_drives = DrivesBulk(id_prefix=id_prefix)
    ds = stress_drives.get_by_uuids(uuids)
    print ds
Beispiel #2
0
def drives_clone_all(id_prefix, count):
    stress_drives = DrivesBulk(id_prefix=id_prefix)
    res = stress_drives.clone_all(count)
    print res
Beispiel #3
0
def drives_list(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix)
    ds = stress_drives.get_list()
    print ds
Beispiel #4
0
def drives_number(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_list()
    print "Number of DRIVES: %r" % len(ds)
Beispiel #5
0
def drives_clone(id_prefix, count, source_drive):
    count = int(count)

    stress_drives = DrivesBulk(id_prefix=id_prefix)
    stress_drives.clone(count, source_drive)
Beispiel #6
0
def drives_detail(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_detail()
    print ds
Beispiel #7
0
def drives_wipe(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.wipe()
Beispiel #8
0
def drives_create(id_prefix, count):
    count = int(count)

    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.create(count)
Beispiel #9
0
def _drives_get_by_uuids(id_prefix, uuids):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_by_uuids(uuids)
    print ds
Beispiel #10
0
def drives_clone_all(id_prefix, count):
    stress_drives = DrivesBulk(id_prefix=id_prefix)
    res = stress_drives.clone_all(count)
    print res
Beispiel #11
0
def drives_list(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_list()
    print ds
Beispiel #12
0
def drives_clone(id_prefix, count, source_drive):
    count = int(count)

    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.clone(count, source_drive)
Beispiel #13
0
def drives_number(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_list()
    print("Number of DRIVES: %r" % len(ds))
Beispiel #14
0
def drives_wipe(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.wipe()
Beispiel #15
0
def drives_detail(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_detail()
    print(ds)
Beispiel #16
0
def drives_create(id_prefix, count):
    count = int(count)

    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.create(count)