[switchs.py] accueil pour les bornes wifi
Ignore-this: a4a9a4a3c101c6d00e3db2fdf672d7a darcs-hash:20120926220540-28565-03e6956b1ba401e283433bf67092b1def6bc6e05.gz
This commit is contained in:
parent
1b777a2ad7
commit
a1a3114958
1 changed files with 1 additions and 1 deletions
|
@ -412,6 +412,7 @@ exit
|
|||
# Vlan wifi uniquement
|
||||
if wifi == 1 :
|
||||
prise_params['nom'] = "Wifi_%s" % m.nom().split(".")[0]
|
||||
vlans['default'].append(prise)
|
||||
# Certaines bornes sont dans des chambres, est-ce le cas ?
|
||||
if prise_chbres.has_key(annu_prise):
|
||||
chbres = prise_chbres[annu_prise]
|
||||
|
@ -419,7 +420,6 @@ exit
|
|||
if len(chbres) > 1 : prise_params['nom'] += 's'
|
||||
for chbre in chbres :
|
||||
prise_params['nom'] += '_%s%s' % (bat.upper(), chbre)
|
||||
vlans['default'].append(prise)
|
||||
else :
|
||||
prise_params['nom'] = "Wifi"
|
||||
vlans['hotspot_tagged'].append(prise)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue