Revision add2e879 templates/rule_expiration.txt

b/templates/rule_expiration.txt
1 1
Rule {{route.name}} expires in {{expiration_days}} days.
2 2

  
3
rule_name: {{route.name}}
4
rule_source: {{route.source}}
5
rule_destination: {{route.destination}}
3
Match
4
* Dst Addr:{{route.destination}}
5
* Src Addr: {{route.source}}
6
* Ports:{% for port in route.ports.all %}
7
  {{ port }}{% if not forloop.last %}, {% endif %}
8
{% endfor %}
9
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
10
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
11

  
12
*Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %}

Also available in: Unified diff