On prend en compte le cas o une borne est sur la mme prise qu'une chambre.
darcs-hash:20060103162427-d1718-50516c21e698ac3406178cca3d442ce2e9e36563.gz
This commit is contained in:
parent
f088231f7e
commit
772fd71a44
1 changed files with 8 additions and 0 deletions
|
@ -312,6 +312,14 @@ exit
|
|||
# Vlan wifi uniquement
|
||||
if wifi == 1 :
|
||||
prise_params['nom'] = "Wifi_%s" % m.nom().split(".")[0]
|
||||
# Certaines bornes sont dans des chambres, est-ce le cas ?
|
||||
if prise_chbres.has_key(annu_prise):
|
||||
chbres = prise_chbres[annu_prise]
|
||||
prise_params['nom'] += '+Chambre'
|
||||
if len(chbres) > 1 : prise_params['nom'] += 's'
|
||||
for chbre in chbres :
|
||||
prise_params['nom'] += '_%s%s' % (bat.upper(), chbre)
|
||||
vlans['default_untagged'].append(prise)
|
||||
else :
|
||||
prise_params['nom'] = "Wifi"
|
||||
vlans['hotspot_tagged'].append(prise)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue