ajout de la génération du DHCP sur dyson
darcs-hash:20091118210817-61eff-d2426c9a04e1424a15024de5212dc793db6373e3.gz
This commit is contained in:
parent
d4fcd4ecc4
commit
ef1b93cc42
3 changed files with 12 additions and 0 deletions
|
@ -2828,6 +2828,9 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
|
|||
pool_ip = lister_ip_dispo('all')
|
||||
else:
|
||||
proprio = self.proprietaire()
|
||||
if proprio.chbre()[0] in [ 'g', 'G' ]:
|
||||
net = config.NETs['adh-g']
|
||||
pool_ip = lister_ip_dispo('adh-g')
|
||||
|
||||
if proprio.etudes(0) == 'Personnel ENS':
|
||||
net = config.NETs['personnel-ens']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue