menage
darcs-hash:20050924231310-4ec08-5418f1c7a82f35748da4c8242263ddc955dfc509.gz
This commit is contained in:
parent
9ba8694074
commit
b5e66c60ce
1 changed files with 0 additions and 2 deletions
|
@ -25,8 +25,6 @@ class interroge_switch (threading.Thread) :
|
||||||
sw = hpswitch(self.switch)
|
sw = hpswitch(self.switch)
|
||||||
prise = sw.where_is_mac(mac)
|
prise = sw.where_is_mac(mac)
|
||||||
if prise != None :
|
if prise != None :
|
||||||
# on a trouvé une prise, on affiche si c'est pas un uplink
|
|
||||||
# if 'uplink' not in sw.nom(None, prise) or switch == 'backbone' :
|
|
||||||
print "%-10s => prise %-2s : %s" % (self.switch.encode('iso-8859-15').replace('.adm.crans.org',''), str(prise), sw.nom(None, prise))
|
print "%-10s => prise %-2s : %s" % (self.switch.encode('iso-8859-15').replace('.adm.crans.org',''), str(prise), sw.nom(None, prise))
|
||||||
|
|
||||||
# on onterroge trois fois car il donne pas toujours les clients
|
# on onterroge trois fois car il donne pas toujours les clients
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue