summaryrefslogtreecommitdiff
path: root/data/templates/frr/isisd.frr.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-03 12:11:29 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-06 20:18:06 +0200
commit982cb6768f8bc9255d68ebb7669421c7410ec080 (patch)
tree4b0dbfd9627583f1af8c45c829d17743f7d59777 /data/templates/frr/isisd.frr.tmpl
parent8ca5b232877fddc1c7bceeb26332e0caccfca279 (diff)
downloadvyos-1x-982cb6768f8bc9255d68ebb7669421c7410ec080.tar.gz
vyos-1x-982cb6768f8bc9255d68ebb7669421c7410ec080.zip
isis: T4336: add support for MD5 authentication password on a circuit
(cherry picked from commit a6c936997611de85dc73152297679d0b53095713)
Diffstat (limited to 'data/templates/frr/isisd.frr.tmpl')
-rw-r--r--data/templates/frr/isisd.frr.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/frr/isisd.frr.tmpl b/data/templates/frr/isisd.frr.tmpl
index 40c7f8aa1..324419456 100644
--- a/data/templates/frr/isisd.frr.tmpl
+++ b/data/templates/frr/isisd.frr.tmpl
@@ -181,7 +181,9 @@ interface {{ iface }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% if iface_config.passive is defined %}
isis passive
{% endif %}
-{% if iface_config.password is defined and iface_config.password.plaintext_password is defined and iface_config.password.plaintext_password is not none %}
+{% if iface_config.password is defined and iface_config.password.md5 is defined and iface_config.password.md5 is not none %}
+ isis password md5 {{ iface_config.password.md5 }}
+{% elif iface_config.password is defined and iface_config.password.plaintext_password is defined and iface_config.password.plaintext_password is not none %}
isis password clear {{ iface_config.password.plaintext_password }}
{% endif %}
{% if iface_config.priority is defined and iface_config.priority is not none %}