reason = kwargs['reason']
reason_text = "Reason: %s. " %reason
peer = self.applier.get_profile().peer.domain_name
- send_message("[%s] Removing route %s. %sPlease wait..." %(self.applier.username, self.name, reason_text), peer)
+ send_message("[%s] Suspending rule %s. %sPlease wait..." %(self.applier.username, self.name, reason_text), peer)
response = delete.delay(self, reason=reason)
logger.info("Got delete job id: %s" %response)
route.status = status
route.response = response
route.save()
- subtask(announce).delay("[%s] Rule removal: %s%s- Result %s" %(route.applier, route.name, reason_text, response), route.applier)
+ subtask(announce).delay("[%s] Suspending rule : %s%s- Result %s" %(route.applier, route.name, reason_text, response), route.applier)
# May not work in the first place... proxy is not aware of Route models
@task