CDP/storagepool.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 48 CC 1 SCAR 6.9
CC
1
Cov
0%
getStoragePool
2.0
getStoragePoolByName
2.0
getStoragePoolIDByName
2.0
CRAP 2.0
1 package CDP::storagepool;
2  
3 use Frontier::Client;
4  
5 use strict;
6 use warnings;
7  
8 our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, );
9 require Exporter;
10 require DynaLoader;
11 require AutoLoader;
12  
13 @ISA = qw(Exporter DynaLoader AutoLoader);
14 # Items to export into callers namespace by default. Note: do not export
15 # names by default without a very good reason. Use EXPORT_OK instead.
16 # Do not simply export all your public functions/methods/constants.
17 @EXPORT =qw//;
18  
19 @EXPORT_OK =
20 qw/
21 getStoragePool
22 getStoragePoolByName
23 getStoragePoolIDByName
24 getStoragePoolIDs
25 /;
26  
27 %EXPORT_TAGS = (
28 'ALL' => \@EXPORT_OK,
29 'CONST' => [qw//],
30 );
31  
32 Exporter::export_ok_tags(keys %EXPORT_TAGS);
33  
34  
35 sub getStoragePool {
36 my $client = shift;
37 $client->call('storagepool.getStoragePool',@_);
38 }
39  
40 sub getStoragePoolByName {
41 my $client = shift;
42 $client->call('storagepool.getStoragePoolByName',@_);
43 }
44  
45 sub getStoragePoolIDByName {
46 my $client = shift;
47 $client->call('storagepool.getStoragePoolIDByName',@_);
48 }
49  
50 sub getStoragePoolIDs {
51 my $client = shift;
52 $client->call('storagepool.getStoragePoolIDs',@_);
53 }
54  
55  
56 1;
57 __END__