Skip to content

Commit f5b0db2

Browse files
authored
Fix for Policy banner template - Bannerdelimiter special character issue (#356)
* add quotes for bannerdelimiter * Updated for key in
1 parent aaa801c commit f5b0db2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roles/dtc/common/templates/ndfc_policy.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
{% elif key == "BANNER" %}
3434
{{ key }}: |
3535
{{ value | indent(14) }}
36+
{% elif key in ["BANNERDELIMITER"] %}
37+
{{ key }}: "{{ value }}"
3638
{% elif key in ["asn", "BGP_AS", "BGP_ASN", "NEIGHBOR_ASN"] %}
3739
{{ key }}: "{{ value | string | indent(12) | trim }}"
3840
{% elif value is iterable and '\n' in value %}

0 commit comments

Comments
 (0)