The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tapper::Model - Tapper - Context sensitive connected DBIC schema

SYNOPSIS

    use Tapper::Model 'model';
    my $testrun = model('TestrunDB')->schema('Testrun')->find(12);
    my $testrun = model('ReportsDB')->schema('Report')->find(7343);

model

Returns a connected schema, depending on the environment (live, development, test).

@param 1. $schema_basename - optional, default is "Tests", meaning the Schema "Tapper::Schema::Tests"

@return $schema

get_or_create_owner

Search a owner based on login name. Create a owner with this login name if not found.

@param string - login name

@return success - id (primary key of owner table) @return error - undef

free_hosts_with_features

Return list of free hosts with their features and queues.

get_hardware_overview

Returns an overview of a given machine revision.

@param int - machine lid

@return success - hash ref @return error - undef

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