[gestion/ldap_crans.py] Restart dhcp on dyson when needed

darcs-hash:20091120221611-8fbb1-e0cf1baf18ff59e91091adbdb891ad44d5eef306.gz
This commit is contained in:
Olivier Huber 2009-11-20 23:16:11 +01:00
parent fd85040094
commit 3bb3ae54bc

View file

@ -2977,6 +2977,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
self.services_to_restart('sable-dhcp')
# TODO : le rendre plus propre
self.services_to_restart('titanic-dhcp')
self.services_to_restart('dyson-dhcp')
if 'portTCPin' in self.modifs or 'portTCPout' in self.modifs or \
'portUDPin' in self.modifs or 'portUDPout' in self.modifs:
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')
else:
self.services_to_restart('sable-dhcp')
self.services_to_restart('dyson-dhcp')
# TODO : le rendre plus propre
self.services_to_restart('titanic-dhcp')