Tapper::Remote::Config
use Tapper::Remote::Config;
Tapper::Remote::Config - Get configuration from Tapper host
Get hostname of tapper MCP host from kernel boot parameters.
@returnlist ($host,port) - string, int - hostname and port of MCP server
This function returns the host name of the machine. When NFS root is used together with DHCP the hostname set in the kernel usually equals the IP address received from DHCP as a string. In this case the kernel hostname is set to the DNS hostname associated to this IP address.
@return hostname of the machine as set in the kernel
Get local data needed for all tools running locally on NFS. The function tries to get the MCP host and fetches the config from there. This reduces any need for configuration outside MCP host and thus allows to use unchanged NFS root file systems for both testing and production, with different MCP servers and so on.
@param string - state
@return success - hash reference containing the config @return error - error string
AMD OSRC Tapper Team <tapper@amd64.org>
Tapper Team <tapper-ops@amazon.com>
This software is Copyright (c) 2016 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::Remote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::Remote
CPAN shell
perl -MCPAN -e shell install Tapper::Remote
For more information on module installation, please visit the detailed CPAN module installation guide.