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

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

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