Revision 61e178c3

b/flowspec/models.py
153 153
            reason = kwargs['reason']
154 154
            reason_text = "Reason: %s. " %reason
155 155
        peer = self.applier.get_profile().peer.domain_name
156
        send_message("[%s] Removing route %s. %sPlease wait..." %(self.applier.username, self.name, reason_text), peer)
156
        send_message("[%s] Suspending rule %s. %sPlease wait..." %(self.applier.username, self.name, reason_text), peer)
157 157
        response = delete.delay(self, reason=reason)
158 158
        logger.info("Got delete job id: %s" %response)
159 159

  
b/flowspec/tasks.py
67 67
    route.status = status
68 68
    route.response = response
69 69
    route.save()
70
    subtask(announce).delay("[%s] Rule removal: %s%s- Result %s" %(route.applier, route.name, reason_text, response), route.applier)
70
    subtask(announce).delay("[%s] Suspending rule : %s%s- Result %s" %(route.applier, route.name, reason_text, response), route.applier)
71 71

  
72 72
# May not work in the first place... proxy is not aware of Route models
73 73
@task

Also available in: Unified diff