switchs2.py: les bornes aussi sont en gigabit
This commit is contained in:
parent
bef5f66427
commit
bf400bd80a
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class Port(object):
|
||||||
def speed(self):
|
def speed(self):
|
||||||
"""Full speed or 100Mb ?"""
|
"""Full speed or 100Mb ?"""
|
||||||
if any("cl" in nom for nom in self.chambres) or self.uplink or \
|
if any("cl" in nom for nom in self.chambres) or self.uplink or \
|
||||||
self.servers:
|
self.servers or self.bornes:
|
||||||
return ''
|
return ''
|
||||||
if any( adh.get('droits', None) for adh in self.adherents()):
|
if any( adh.get('droits', None) for adh in self.adherents()):
|
||||||
return ''
|
return ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue