| line |
true |
false |
branch |
|
32
|
0 |
0 |
unless $self->{'orgname'} |
|
34
|
0 |
0 |
if defined $_[0] and ref $_[0] |
|
35
|
0 |
0 |
if defined $self->{'conf'}{'debug'} |
|
41
|
0 |
0 |
if $self->{'debug'} |
|
54
|
0 |
0 |
if ($config_vals{$key}) { } |
|
69
|
0 |
0 |
wantarray ? : |
|
90
|
0 |
0 |
unless $self->{'debug'} |
|
100
|
0 |
0 |
if $self->{'debug'} < $value |
|
110
|
0 |
0 |
if (scalar @error and ref $error[0] eq 'HTTP::Response') |
|
111
|
0 |
0 |
if ($error[0]->content) |
|
119
|
0 |
0 |
$@ ? : |
|
125
|
0 |
0 |
if (ref $error eq 'SCALAR') { } |
|
152
|
0 |
0 |
if ($response->is_success) { } |
|
153
|
0 |
0 |
unless $response->content |
|
172
|
0 |
0 |
if $self->{'debug'} |
|
183
|
0 |
0 |
if $self->{'debug'} |
|
199
|
0 |
0 |
if $self->{'debug'} |
|
219
|
0 |
0 |
if $self->{'debug'} |
|
222
|
0 |
0 |
if $content |
|
223
|
0 |
0 |
if $type |
|
237
|
0 |
0 |
wantarray ? : |
|
248
|
0 |
0 |
if $self->{'debug'} |
|
251
|
0 |
0 |
if $content |
|
252
|
0 |
0 |
if $type |
|
266
|
0 |
0 |
wantarray ? : |
|
279
|
0 |
0 |
if ($response->status_line eq '200 OK') { } |
|
286
|
0 |
0 |
if ($verblock->{'Version'} > $self->{'learned'}{'version'}) |
|
323
|
0 |
0 |
if ($response->status_line =~ /^4\d\d/) |
|
332
|
0 |
0 |
unless defined $link->{'type'} |
|
334
|
0 |
0 |
if $link->{'type'} eq 'application/vnd.vmware.admin.vcloud+xml' |
|
336
|
0 |
0 |
if $link->{'type'} eq 'application/vnd.vmware.vcloud.entity+xml' |
|
338
|
0 |
0 |
if $link->{'type'} eq 'application/vnd.vmware.vcloud.apiextensibility+xml' |
|
340
|
0 |
0 |
if $link->{'type'} eq 'application/vnd.vmware.admin.vmwExtension+xml' |
|
342
|
0 |
0 |
if $link->{'type'} eq 'application/vnd.vmware.vcloud.orgList+xml' |
|
344
|
0 |
0 |
if $link->{'type'} eq 'application/vnd.vmware.vcloud.query.queryList+xml' |
|
358
|
0 |
0 |
if $self->{'debug'} |
|
367
|
0 |
0 |
if $response->code == 401 |
|
376
|
0 |
0 |
if $self->{'debug'} |
|
377
|
0 |
0 |
if defined $self->{'learned'}{'admin'} |
|
395
|
0 |
0 |
if $self->{'debug'} |
|
403
|
0 |
0 |
if $self->{'debug'} |
|
410
|
0 |
0 |
if $self->{'debug'} |
|
424
|
0 |
0 |
unless defined $conf->{'is_published'} |
|
426
|
0 |
0 |
unless $url =~ m[/catalogs$] |
|
427
|
0 |
0 |
if $self->{'debug'} |
|
436
|
0 |
0 |
if $ret->[1] == 201 |
|
444
|
0 |
0 |
if $self->{'debug'} |
|
445
|
0 |
0 |
$cat =~ m[^[^/]+$] ? : |
|
456
|
0 |
0 |
unless $cat_href =~ m[(/catalog/[^/]+)$] |
|
460
|
0 |
0 |
if $self->{'debug'} |
|
474
|
0 |
0 |
unless $cat_href =~ m[(/catalog/[^/]+)$] |
|
478
|
0 |
0 |
if $self->{'debug'} |
|
487
|
0 |
0 |
if $ret->[1] == 201 |
|
506
|
0 |
0 |
if $self->{'debug'} |
|
509
|
0 |
0 |
unless defined $conf->{'ldap_mode'} |
|
523
|
0 |
0 |
if (defined $conf->{'vdc'} and ref $conf->{'vdc'}) { } |
|
|
0 |
0 |
elsif (defined $conf->{'vdc'}) { } |
|
560
|
0 |
0 |
if $ret->[1] == 201 |
|
570
|
0 |
0 |
if $self->{'debug'} |
|
571
|
0 |
0 |
$org =~ m[^[^/]+$] ? : |
|
577
|
0 |
0 |
if $self->{'debug'} |
|
587
|
0 |
0 |
unless defined $conf->{'is_shared'} |
|
589
|
0 |
0 |
if $self->{'debug'} |
|
635
|
0 |
0 |
if $ret->[1] == 201 |
|
647
|
0 |
0 |
if $self->{'debug'} |
|
650
|
0 |
0 |
$conf->{'np_href'} ? : |
|
653
|
0 |
0 |
if (defined $conf->{'sp'} and ref $conf->{'sp'}) { } |
|
|
0 |
0 |
elsif (defined $conf->{'sp_enabled'}) { } |
|
709
|
0 |
0 |
if $ret->[1] == 201 |
|
720
|
0 |
0 |
if $self->{'debug'} |
|
725
|
0 |
0 |
$conf->{'allocation_model'} ? : |
|
729
|
0 |
0 |
defined $conf->{'nic_quota'} ? : |
|
732
|
0 |
0 |
defined $conf->{'net_quota'} ? : |
|
736
|
0 |
0 |
$conf->{'np_href'} ? : |
|
741
|
0 |
0 |
defined $conf->{'ResourceGuaranteedMemory'} ? : |
|
745
|
0 |
0 |
defined $conf->{'ResourceGuaranteedCpu'} ? : |
|
748
|
0 |
0 |
defined $conf->{'VCpuInMhz'} ? : |
|
751
|
0 |
0 |
defined $conf->{'is_thin_provision'} ? : |
|
759
|
0 |
0 |
$conf->{'pvdc_href'} ? : |
|
763
|
0 |
0 |
defined $conf->{'use_fast_provisioning'} ? : |
|
766
|
0 |
0 |
if (defined $conf->{'sp'} and ref $conf->{'sp'}) { } |
|
|
0 |
0 |
elsif (defined $conf->{'sp_enabled'}) { } |
|
787
|
0 |
0 |
if (defined $conf->{'cpu_unit'} or defined $conf->{'mem_unit'}) |
|
802
|
0 |
0 |
$conf->{'href'} ? : |
|
826
|
0 |
0 |
if $ret->[1] == 201 |
|
834
|
0 |
0 |
if $self->{'debug'} |
|
835
|
0 |
0 |
$tmpl =~ m[^[^/]+$] ? : |
|
844
|
0 |
0 |
if $self->{'debug'} |
|
854
|
0 |
0 |
if $self->{'debug'} |
|
855
|
0 |
0 |
$tmpl =~ m[^[^/]+$] ? : |
|
864
|
0 |
0 |
if $self->{'debug'} |
|
872
|
0 |
0 |
if $self->{'debug'} |
|
873
|
0 |
0 |
$vdc =~ m[^[^/]+$] ? : |
|
879
|
0 |
0 |
if $self->{'debug'} |
|
899
|
0 |
0 |
if $self->{'debug'} |
|
926
|
0 |
0 |
wantarray ? : |
|
945
|
0 |
0 |
if $self->{'debug'} |
|
977
|
0 |
0 |
if $self->{'debug'} |
|
978
|
0 |
0 |
$vapp =~ m[^[^/]+$] ? : |
|
987
|
0 |
0 |
if $self->{'debug'} |