[gestion/ldap_crans.py] Restart dhcp on dyson when needed
darcs-hash:20091120221611-8fbb1-e0cf1baf18ff59e91091adbdb891ad44d5eef306.gz
This commit is contained in:
parent
fd85040094
commit
3bb3ae54bc
1 changed files with 2 additions and 0 deletions
|
@ -2977,6 +2977,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
|
||||||
self.services_to_restart('sable-dhcp')
|
self.services_to_restart('sable-dhcp')
|
||||||
# TODO : le rendre plus propre
|
# TODO : le rendre plus propre
|
||||||
self.services_to_restart('titanic-dhcp')
|
self.services_to_restart('titanic-dhcp')
|
||||||
|
self.services_to_restart('dyson-dhcp')
|
||||||
if 'portTCPin' in self.modifs or 'portTCPout' in self.modifs or \
|
if 'portTCPin' in self.modifs or 'portTCPout' in self.modifs or \
|
||||||
'portUDPin' in self.modifs or 'portUDPout' in self.modifs:
|
'portUDPin' in self.modifs or 'portUDPout' in self.modifs:
|
||||||
self.services_to_restart('komaz-ports', [self.ip()])
|
self.services_to_restart('komaz-ports', [self.ip()])
|
||||||
|
@ -3042,6 +3043,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
|
||||||
self.services_to_restart('gordon-dhcp')
|
self.services_to_restart('gordon-dhcp')
|
||||||
else:
|
else:
|
||||||
self.services_to_restart('sable-dhcp')
|
self.services_to_restart('sable-dhcp')
|
||||||
|
self.services_to_restart('dyson-dhcp')
|
||||||
# TODO : le rendre plus propre
|
# TODO : le rendre plus propre
|
||||||
self.services_to_restart('titanic-dhcp')
|
self.services_to_restart('titanic-dhcp')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue