This is a plugin for Tapper.
It provides resetting a machine via the OSRC reset script (an internal tool).
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.
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
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)
AMD OSRC Tapper Team <email@example.com>
This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License