[vlan-radin] Ajout d'un groupe vlan-radin
darcs-hash:20081209233039-ffbb2-4f6c96b1fef98044c56ec685c561f8cf7ac7546b.gz
This commit is contained in:
parent
cefa3803d3
commit
40c2c92415
2 changed files with 3 additions and 2 deletions
|
@ -21,13 +21,13 @@ def admip():
|
|||
return admipof(hostname)
|
||||
|
||||
def radinip():
|
||||
if hostname == 'sable':
|
||||
if has("vlan-radin")::
|
||||
return '10.42.0.1'
|
||||
else:
|
||||
raise NotImplementedError, "Ce serveur n'a rien à faire sur le VLAN radin"
|
||||
|
||||
def accueilip():
|
||||
if hostname == 'sable':
|
||||
if has("vlan-radin"):
|
||||
return '10.51.0.1'
|
||||
else:
|
||||
raise NotImplementedError, "Ce serveur n'a rien à faire sur le VLAN d'accueil"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue