NAME
Tapper::Remote::Net - Communication with MCP
SYNOPSIS
use Tapper::Remote::Net;
FUNCTIONS
mcp_inform
Simplify sending messages to MCP. Expects message as string.
@param string - message to send to MCP
@return success - 0 @return error - -1
mcp_send
Tell the MCP server our current status. This is done using a TCP connection. Expects message as a hash.
@param string - message to send to MCP
@return success - 0 @return error - error string
tap_report_away
Actually send the tap report to receiver.
@param string - report to be sent
@return success - (0, report id) @return error - (1, error string)
tap_report_create
Create a report string from a report in hash form. Since the function only does data transformation, no error should ever occur. The expected hash should contain the following keys: * tests - contains an array of hashes with ** error - indicated whether this test failed (if true) ** test - description of the test * headers - Tapper headers with values * sections - array of hashes containing tests and headers ad described above and a section_name
@param hash ref - report data
@return report string
nfs_mount
Mount the output directory from an NFS server. This method is used since we only want to mount this NFS share in live mode.
@return success - 0 @return error - error string
AUTHOR
AMD OSRC Tapper Team, <tapper at amd64.org>
BUGS
None.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Tapper
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd