Merge branch 'master' of https://code.grnet.gr/git/flowspy
[flowspy] / templates / rule_add_mail.txt
1 {% load tofqdn %}
2 A new rule creation job has spawned
3
4 Peer: {{route.applier.get_profile.peer.peer_name}}
5 User {{route.applier.username}} requested the application of the following rule from address {{address}} {% if address|tofqdn %}({{address|tofqdn}}){% endif %}:
6
7 Match
8 * Dst Addr:{{route.destination}}
9 * Src Addr: {{route.source}}
10 * Protocol:{% for protocol in route.protocol.all %}{{ protocol }}{% if not forloop.last %}, {% endif %}{% endfor %}
11 * Ports:{% for port in route.ports.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
12 * Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
13 * Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
14
15 *Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %}