NAME

Tapper::CLI::Host

SYNOPSIS

This module is part of the Tapper::CLI framework. It is supposed to be used together with App::Rad. All following functions expect their arguments as $c->options->{$arg} unless otherwise stated.

use App::Rad;
use Tapper::CLI::Host;
Tapper::CLI::Host::setup($c);
App::Rad->run();

NAME

Tapper::CLI::Host - Tapper - host related commands for the tapper CLI

FUNCTIONS

Generate a feature summary for a given host. This summary only includes key_word, socket_type and revision. These are the most important information and having all features would make a to long list. These features are concatenated together with commas.

@param host object

@return string - containing features

i_add_queues

add relations between host and queues

i_delete_queues

remove relations between host and queues

b_b_update_grub

Install a default grub config for host so that it does no longer try to execute Tapper testruns.

@return success - inserted message object @return error - die()

hr_get_hosts_by_options

load host objects for given command line parameters

ar_get_free_host_parameters

get parameters for free host

b_free_host

free host

ar_get_delete_parameters

get "delete host" parameters

b_delete

remove a host

select_hosts

Print given host with all available information in YAML.

@param host object

listhost

List hosts matching given criteria.

host_deny

Don't use given hosts for testruns of this queue.

host_bind

Bind given hosts to given queues.

host_new

Create a new host.

ar_get_host_update

get "update host" parameters

b_host_update

update host data

setup

Initialize the testplan functions for tapper CLI

AUTHOR

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The (two-clause) FreeBSD License