From 60e12e322c3ade04d86983c3c5e10a6170c2191c Mon Sep 17 00:00:00 2001 From: Michel Blockelet Date: Wed, 1 Apr 2009 21:17:21 +0200 Subject: [PATCH] [ldap_crans.py] Ajout de titanic-dhcp Ca peut etre sympa que le DHCP soit a jour par moments darcs-hash:20090401191721-ddb99-8ab7b06d67f41d2c0b7c24c1aa38f4e53712ca40.gz --- gestion/ldap_crans.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 51e7014d..4b7f0f1f 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1697,6 +1697,8 @@ class BaseProprietaire(BaseClasseCrans): self.services_to_restart('ragnarok-dhcp') else: self.services_to_restart('rouge-dhcp') + # TODO : le rendre plus propre + self.services_to_restart('titanic-dhcp') # Vérification si changement de bât, ce qui obligerai un changement d'IP if 'adherentPayant' in self.modifs or 'chbre' in self.modifs and self.chbre() != '????': @@ -2935,6 +2937,8 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) self.services_to_restart('ragnarok-dhcp') else: self.services_to_restart('rouge-dhcp') + # TODO : le rendre plus propre + self.services_to_restart('titanic-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()]) @@ -3000,6 +3004,8 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) self.services_to_restart('ragnarok-dhcp') else: self.services_to_restart('rouge-dhcp') + # TODO : le rendre plus propre + self.services_to_restart('titanic-dhcp') if self.exempt(): self.services_to_restart('surveillance_exemptions')