def METHOD_NAME(interrupt_test):
    """
    Run interrupt test(reboot/shutdown/migration) after hot plug/unplug.
    :param interrupt_test: reboot/shutdown/migration test
    """
    session = vm.wait_for_login()
    globals().get(interrupt_test)(test, params, vm, session)
    session.close()