line |
true |
false |
branch |
407
|
0 |
0 |
unless open my $zones, '-|', @cmd |
426
|
0 |
0 |
if $self->{'debug'} |
427
|
0 |
0 |
unless open my $zones, '-|', @cmd |
435
|
0 |
0 |
if $opts->{'brandFilter'} and not $zoneCfg->{'brand'} =~ /$opts->{'brandFilter'}/ |
437
|
0 |
0 |
if $opts->{'requireSMF'} and $zoneCfg->{'zonename'} ne 'global' and not -f $zoneCfg->{'zonepath'} . '/root/etc/svc/repository.db' |
462
|
0 |
0 |
$zone ? : |
474
|
0 |
0 |
$_[0] ? : |
496
|
0 |
0 |
if $self->{'debug'} |
497
|
0 |
0 |
if system @cmd |
506
|
0 |
0 |
if $self->{'debug'} |
507
|
0 |
0 |
if system @cmd |
515
|
0 |
0 |
$img ? : |
529
|
0 |
0 |
$self->listZone($zoneName, $opts) ? : |
537
|
0 |
0 |
unless $self->zoneExists($zoneName) |
541
|
0 |
0 |
if $self->{'debug'} |
542
|
0 |
0 |
unless open my $props, '-|', @cmd |
549
|
0 |
0 |
if s/^(\s*)\[/$1/ |
552
|
0 |
0 |
unless $property |
554
|
0 |
0 |
if (defined $isres and length $isres > 0) { } |
556
|
0 |
0 |
if $resName eq 'net' |
559
|
0 |
0 |
unless grep {$_ eq $property;} keys %{$$SCHEMA{$resName}{'members'};} |
560
|
0 |
0 |
if ($self->$resIsArray($resName)) { } |
569
|
0 |
0 |
unless grep {$_ eq $property;} keys %$SCHEMA |
571
|
0 |
0 |
if (grep {$_ eq $property;} @{&$RESOURCES();}) |
573
|
0 |
0 |
if ($self->$resIsArray($property)) |
593
|
0 |
0 |
unless $self->zoneExists($zoneName) |
599
|
0 |
0 |
if $state eq 'configured' |
605
|
0 |
0 |
if (ref $props->{$prop} eq 'ARRAY') { } |
|
0 |
0 |
elsif (grep {$_ eq $prop;} @{&$RESOURCES();}) { } |
614
|
0 |
0 |
if $oldProps->{$prop} and $oldProps->{$prop} eq $props->{$prop} |
615
|
0 |
0 |
if ($props->{$prop}) { } |
634
|
0 |
0 |
if $self->{'debug'} |
635
|
0 |
0 |
unless open my $res, '-|', @cmd |
640
|
0 |
0 |
$property && $value ? : |
653
|
0 |
0 |
if (grep {$_ eq $property;} @LXNETPROPS) { } |
663
|
0 |
0 |
if $self->{'debug'} |
664
|
0 |
0 |
if system @cmd |
674
|
0 |
0 |
unless $self->resourceExists($zoneName, $resource, $property, $value) |
677
|
0 |
0 |
if ($property and $value) { } |
684
|
0 |
0 |
if $self->{'debug'} |
685
|
0 |
0 |
if system @cmd |
705
|
0 |
0 |
if $self->{'debug'} |
706
|
0 |
0 |
if system @cmd |
716
|
0 |
0 |
if $self->{'debug'} |
717
|
0 |
0 |
if system @cmd |