root / templates / rule_add_mail.txt @ 14431a6a
History | View | Annotate | Download (900 Bytes)
1 | ddffea2d | Leonidas Poulopoulos | {% load tofqdn %} |
---|---|---|---|
2 | 2fa49646 | Leonidas Poulopoulos | A new rule creation job has spawned |
3 | 2fa49646 | Leonidas Poulopoulos | |
4 | d6495609 | Leonidas Poulopoulos | Peer: {{route.applier.get_profile.peer.peer_name}} |
5 | ddffea2d | Leonidas Poulopoulos | User {{route.applier.username}} requested the application of the following rule from address {{address}} {% if address|tofqdn %}({{address|tofqdn}}){% endif %}: |
6 | 2fa49646 | Leonidas Poulopoulos | |
7 | add2e879 | Leonidas Poulopoulos | Match |
8 | add2e879 | Leonidas Poulopoulos | * Dst Addr:{{route.destination}} |
9 | add2e879 | Leonidas Poulopoulos | * Src Addr: {{route.source}} |
10 | 14431a6a | Leonidas Poulopoulos | * Protocol:{% for protocol in route.protocol.all %} |
11 | 14431a6a | Leonidas Poulopoulos | {{ protocol }}{% if not forloop.last %}, {% endif %} |
12 | 14431a6a | Leonidas Poulopoulos | {% endfor %} |
13 | add2e879 | Leonidas Poulopoulos | * Ports:{% for port in route.ports.all %} |
14 | add2e879 | Leonidas Poulopoulos | {{ port }}{% if not forloop.last %}, {% endif %} |
15 | add2e879 | Leonidas Poulopoulos | {% endfor %} |
16 | add2e879 | Leonidas Poulopoulos | * Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
17 | add2e879 | Leonidas Poulopoulos | * Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
18 | add2e879 | Leonidas Poulopoulos | |
19 | add2e879 | Leonidas Poulopoulos | *Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %} |