diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-04-07 17:27:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 17:27:18 +0300 |
commit | 7bd5a1c76ed37b5c65622c730db827f90262941f (patch) | |
tree | d768c7cb1d2ef47fb1771608b109091deee3037a /data | |
parent | d77945022cf951824848a9f1ca7cf0a95fa8b1e5 (diff) | |
parent | b8b336aeaafffb9980c2690aeb2b524c40eebeb9 (diff) | |
download | vyos-1x-7bd5a1c76ed37b5c65622c730db827f90262941f.tar.gz vyos-1x-7bd5a1c76ed37b5c65622c730db827f90262941f.zip |
Merge pull request #1264 from c-po/t4336-isis-equuleus
isis: T4336: add support for MD5 authentication password on a circuit (equuleus)
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/frr/isisd.frr.tmpl | 4 |
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 %} |