Tapper Team > Tapper-Remote > Tapper::Remote::Net

Download:
Tapper-Remote-4.1.1.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.1   Source  

NAME ^

Tapper::Remote::Net

SYNOPSIS ^

 use Tapper::Remote::Net;

NAME ^

Tapper::Remote::Net - Communication with MCP

FUNCTIONS ^

mcp_inform

Generate the message to be send to MCP and hand it over to mcp_send. If the message is given as string its converted to hash.

@param string or hash reference - message to send to MCP

@return success - 0 @return error - error string

mcp_send

Tell the MCP server our current status. This is done using a HTTP request.

@param hash ref - 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

log_to_file

Turn stdout and stderr into files. This way we get output that would otherwise be lost. The function expects a state that will be used.

@param string - state

@return success - 0 @return 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
syntax highlighting: