Changeset 162
- Timestamp:
- Jun 9, 2016, 11:23:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r161 r162 665 665 my $sw_port_hr = shift; 666 666 667 $sw_port_hr =~ s/^Bridge-Aggregation/Br/; 668 $sw_port_hr =~ s/^Ten-GigabitEthernet/Te/; 669 $sw_port_hr =~ s/^GigabitEthernet/Gi/; 667 $sw_port_hr =~ s/^Bridge-Aggregation/Br/i; 668 $sw_port_hr =~ s/^Port-Channel/Po/i; 669 $sw_port_hr =~ s/^Forty-?GigabitEthernet/Fo/i; 670 $sw_port_hr =~ s/^Ten-?GigabitEthernet/Te/i; 671 $sw_port_hr =~ s/^GigabitEthernet/Gi/i; 672 $sw_port_hr =~ s/^FastEthernet/Fa/i; 670 673 671 674 return $sw_port_hr; … … 1338 1341 <tr class="$typerow"> 1339 1342 <td sorttable_customkey="$switch_hostname_sort">$sw</td> 1340 <td class="bklask-port">$db_switch_output_port{$sw}</ >1343 <td class="bklask-port">$db_switch_output_port{$sw}</td> 1341 1344 <td>+--> $db_switch_parent{$sw}->{port_hr}</td> 1342 <td sorttable_customkey="$host_short">$db_switch_parent{$sw}->{switch}</ >1345 <td sorttable_customkey="$host_short">$db_switch_parent{$sw}->{switch}</td> 1343 1346 <td sorttable_customkey="$ip_sort">$ipv4_address</td> 1344 1347 <td sorttable_customkey="$mac_sort">$mac_address</td> … … 1352 1355 <tr class="$typerow"> 1353 1356 <td sorttable_customkey="$switch_hostname_sort">$sw</td> 1354 <td class="bklask-port">$db_switch_output_port{$sw}</ >1357 <td class="bklask-port">$db_switch_output_port{$sw}</td> 1355 1358 <td>+--></td> 1356 <td sorttable_customkey="router">router</ >1359 <td sorttable_customkey="router">router</td> 1357 1360 <td sorttable_customkey="999999999999"></td> 1358 1361 <td sorttable_customkey="99999"></td> … … 1392 1395 <tr class="$typerow"> 1393 1396 <td sorttable_customkey="$switch_hostname_sort">$sw_connect</td> 1394 <td class="bklask-port">$port_connect</ >1397 <td class="bklask-port">$port_connect</td> 1395 1398 <td><--+ $db_switch_output_port{$sw}</td> 1396 <td sorttable_customkey="$host_short">$sw</ >1399 <td sorttable_customkey="$host_short">$sw</td> 1397 1400 <td sorttable_customkey="$ip_sort">$ipv4_address</td> 1398 1401 <td sorttable_customkey="$mac_sort">$mac_address</td> … … 1406 1409 <tr class="$typerow"> 1407 1410 <td sorttable_customkey="$switch_hostname_sort">$sw_connect</td> 1408 <td class="bklask-port">$port_connect</ >1411 <td class="bklask-port">$port_connect</td> 1409 1412 <td><--+</td> 1410 <td sorttable_customkey="$sw">$sw</ >1413 <td sorttable_customkey="$sw">$sw</td> 1411 1414 <td sorttable_customkey="">$ipv4_address</td> 1412 1415 <td sorttable_customkey="">$mac_address</td>
Note: See TracChangeset
for help on using the changeset viewer.