Esempio n. 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
Esempio n. 2
0
def drives_clone_all(id_prefix, count):
    stress_drives = DrivesBulk(id_prefix=id_prefix)
    res = stress_drives.clone_all(count)
    print res
Esempio n. 3
0
def drives_list(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix)
    ds = stress_drives.get_list()
    print ds
Esempio n. 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)
Esempio n. 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)
Esempio n. 6
0
def drives_detail(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_detail()
    print ds
Esempio n. 7
0
def drives_wipe(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.wipe()
Esempio n. 8
0
def drives_create(id_prefix, count):
    count = int(count)

    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.create(count)
Esempio n. 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
Esempio n. 10
0
def drives_clone_all(id_prefix, count):
    stress_drives = DrivesBulk(id_prefix=id_prefix)
    res = stress_drives.clone_all(count)
    print res
Esempio n. 11
0
def drives_list(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_list()
    print ds
Esempio n. 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)
Esempio n. 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))
Esempio n. 14
0
def drives_wipe(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    stress_drives.wipe()
Esempio n. 15
0
def drives_detail(id_prefix):
    stress_drives = DrivesBulk(id_prefix=id_prefix,
                               )
    ds = stress_drives.get_detail()
    print(ds)
Esempio n. 16
0
def drives_create(id_prefix, count):
    count = int(count)

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