|
|
|
|
|
|
|
|
<destination address="{{ rule.destination.address }}" {%- if 'invert' in rule.destination %}invert="{{ rule.destination.invert }}"{%- endif %}/> |
|
|
<destination address="{{ rule.destination.address }}" {%- if 'invert' in rule.destination %}invert="{{ rule.destination.invert }}"{%- endif %}/> |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- if 'service' in rule %} |
|
|
{%- if 'service' in rule %} |
|
|
<destination name="{{ rule.service }}"/> |
|
|
|
|
|
|
|
|
<service name="{{ rule.service }}"/> |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- if 'port' in rule %} |
|
|
{%- if 'port' in rule %} |
|
|
<port port="{{ rule.port.portid }}" protocol="{{ rule.port.protocol }}"/> |
|
|
<port port="{{ rule.port.portid }}" protocol="{{ rule.port.protocol }}"/> |