def execute():
    clear_result()
    CREATE_VOL_BASIC_1.execute()
    CREATE_VOL_BASIC_2.execute()
    out = cli.rename_volume(CREATE_VOL_BASIC_1.VOL_NAME,
                            CREATE_VOL_BASIC_2.VOL_NAME, ARRAYNAME)
    return out
Example #2
0
def execute():
    clear_result()
    CREATE_VOL_BASIC_1.execute()
    special_char_vol = "sp@cial"
    out = cli.rename_volume(CREATE_VOL_BASIC_1.VOL_NAME, special_char_vol,
                            ARRAYNAME)
    return out
Example #3
0
def execute():
    clear_result()
    MOUNT_VOL_BASIC_1.execute()
    out = cli.rename_volume(NAME, NEW_NAME, "")
    return out
Example #4
0
def execute():
    clear_result()
    CREATE_VOL_BASIC_1.execute()
    wrong_vol = "wrong_vol"
    out = cli.rename_volume(wrong_vol, "new_vol", ARRAYNAME)
    return out
Example #5
0
def execute():
    clear_result()
    CREATE_VOL_BASIC_1.execute()
    out = cli.rename_volume(NAME, NEW_NAME, "wrong_array_name")
    return out
Example #6
0
def execute():
    clear_result()
    MOUNT_VOL_BASIC_1.execute()
    out = cli.rename_volume(NAME, LONG_NAME, ARRAYNAME)
    return out
Example #7
0
def execute():
    clear_result()
    MOUNT_VOL_BASIC_1.execute()
    cli.unmount_array(ARRAYNAME)
    out = cli.rename_volume(NAME, NEW_NAME, ARRAYNAME)
    return out