NAME

Tapper::MCP::Net::Reset::OSRC

DESCRIPTION

This is a plugin for Tapper.

It provides resetting a machine via the OSRC reset script (an internal tool).

NAME

Tapper::MCP::Net::Reset::OSRC - Reset via OSRC reset script

To use it add the following config to your Tapper config file:

reset_plugin: OSRC
reset_plugin_options:
  testmachine_password: verysecret

This configures Tapper MCP to use the OSRC plugin for reset and leaves configuration empty.

FUNCTIONS

ssh_reboot

Try to reboot the remote system using ssh. In case this is not possible an info message is written to the log.

@param string - host name

@return success - true @return error - false

reset_host

The primary plugin function, does the actual resetting. Try hard to make sure the resetting actually succeeds. This means the function calls the resetters (SSH and osrc_reset) and watched TFTPd logs to find out whether the reset really worked.

@param Tapper::MCP::Net object - needed to give plugin access to Tapper Base functions @param string - hostname @param hash ref - options

@return success - (0, ignore) @return error - (1, error string)

AUTHOR

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

The (two-clause) FreeBSD License