line |
true |
false |
branch |
24
|
0 |
0 |
if $params{'no_category'}{'network'} |
43
|
0 |
0 |
if isSameNetwork($default, $interface->{'IPADDRESS'}, $interface->{'IPMASK'}) |
78
|
0 |
0 |
if ($zone and $OSLevel and $OSLevel =~ /5.10/) |
98
|
0 |
4 |
if ($params{'name'}) |
99
|
0 |
0 |
unless $params{'name'} =~ /^(\S+)(\d+)/ |
103
|
0 |
0 |
if $type eq 'aggr' |
104
|
0 |
0 |
if $type eq 'dmfe' |
121
|
0 |
2 |
unless $handle |
127
|
1 |
31 |
if ($line =~ /^(\S+):(\S+):/) { } |
|
11 |
20 |
elsif ($line =~ /^(\S+):/) { } |
129
|
1 |
0 |
if $interface |
138
|
9 |
2 |
if $interface |
147
|
9 |
23 |
if ($line =~ /inet ($FusionInventory::Agent::Task::Inventory::Solaris::Networks::ip_address_pattern)/) |
150
|
9 |
23 |
if ($line =~ /netmask ($FusionInventory::Agent::Task::Inventory::Solaris::Networks::hex_ip_address_pattern)/i) |
153
|
8 |
24 |
if ($line =~ /ether\s+(\S+)/i) |
158
|
12 |
20 |
if ($line =~ /
|
165
|
2 |
0 |
if $interface |
172
|
0 |
0 |
unless $handle |
176
|
0 |
0 |
if $line =~ /device/ |
177
|
0 |
0 |
if $line =~ /key/ |
183
|
0 |
0 |
unless $line =~ /(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)/ |
187
|
0 |
0 |
if $line =~ /UP/ |
197
|
0 |
2 |
unless $handle |
203
|
5 |
65 |
if $line =~ /HBA Port WWN:\s+(\S+)/ |
205
|
5 |
65 |
if $line =~ /OS Device Name:\s+(\S+)/ |
207
|
5 |
65 |
if $line =~ /Current Speed:\s+(\S+)/ |
209
|
5 |
65 |
if $line =~ /Node WWN:\s+(\S+)/ |
211
|
5 |
65 |
if $line =~ /Driver Name:\s+(\S+)/i |
213
|
5 |
65 |
if $line =~ /Manufacturer:\s+(.*)$/ |
215
|
5 |
65 |
if $line =~ /Model:\s+(.*)$/ |
217
|
5 |
65 |
if $line =~ /Firmware Version:\s+(.*)$/ |
219
|
4 |
66 |
if $line =~ /online/ |
222
|
5 |
65 |
if ($interface->{'DESCRIPTION'} and $interface->{'WWN'}) |
224
|
1 |
4 |
unless $interface->{'STATUS'} |