Changeset 80
- Timestamp:
- Mar 29, 2011, 5:57:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r79 r80 1479 1479 1480 1480 $where{$resol_arp{ipv4_address}} = find_all_switch_port($resol_arp{mac_address}); # find port on all switch 1481 #my @l = (); 1482 #for my $c ( keys %{$where{$resol_arp{ipv4_address}}} ) { 1483 #push @l, "$c -+ "; #$where{$resol_arp{ipv4_address}}->{$c}{hostname}; 1484 #} 1485 #print "DEBUG $one_computer $resol_arp{ipv4_address} $resol_arp{mac_address} --- @l\n"; 1481 1482 if ($verbose) { 1483 my @l = (); 1484 for my $c ( keys %{$where{$resol_arp{ipv4_address}}} ) { 1485 push @l, "$c -+ "; #$where{$resol_arp{ipv4_address}}->{$c}{hostname}; 1486 } 1487 print "VERBOSE_3 $one_computer $resol_arp{ipv4_address} $resol_arp{mac_address} --- @l\n"; 1488 } 1486 1489 1487 1490 $db_switch_ip_hostname{$resol_arp{ipv4_address}} = $resol_arp{hostname_fq}; … … 1511 1514 $db_switch_link_with{ $db_switch_ip_hostname{$ip} } ||= {}; 1512 1515 $db_switch_link_with{ $db_switch_ip_hostname{$ip} }->{ $switch->{hostname} } = $switch->{port}; 1513 print "VERBOSE_3: $db_switch_ip_hostname{$ip} -> $switch->{hostname} : $switch->{port}\n" if $verbose; 1514 #print "DEBUG : $db_switch_ip_hostname{$ip} / $switch->{hostname} : $switch->{port}\n" if $switch->{hostname} !~ m/sw3-batA0-3s/; 1516 print "VERBOSE_4: $db_switch_ip_hostname{$ip} -> $switch->{hostname} : $switch->{port}\n" if $verbose; 1515 1517 } 1516 1518
Note: See TracChangeset
for help on using the changeset viewer.