def execute():
    clear_result()
    UNMOUNT_VOL_BASIC_1.execute()
    cli.delete_volume(UNMOUNT_VOL_BASIC_1.VOL_NAME, "")
    out = cli.update_volume_qos(UNMOUNT_VOL_BASIC_1.VOL_NAME, str(IOPS),
                                str(BW), "")
    return out
Пример #2
0
def execute():
    clear_result()
    UPDATE_VOL_QOS_BASIC_2.execute()
    out = cli.update_volume_qos(NAME, str(IOPS), str(BW), "")
    return out
Пример #3
0
def execute():
    clear_result()
    MOUNT_VOL_BASIC_1.execute()
    out = cli.update_volume_qos(NAME, str(IOPS), str(BW), ARRAYNAME)
    return out
Пример #4
0
def execute():
    clear_result()
    MOUNT_VOL_BASIC_1.execute()
    out = cli.update_volume_qos(NAME, str(IOPS), str(BW), "wrong_array_name")
    return out
Пример #5
0
def execute():
    clear_result()
    MOUNT_VOL_BASIC_1.execute()
    wrong_name = "wrong_vol"
    out = cli.update_volume_qos(wrong_name, str(IOPS), str(BW), ARRAYNAME)
    return out