mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr: Add plain password authentication to OSPF (#3770)
This commit is contained in:
@@ -149,6 +149,7 @@
|
||||
<default></default>
|
||||
<OptionValues>
|
||||
<message-digest>MD5</message-digest>
|
||||
<plain>plain</plain>
|
||||
</OptionValues>
|
||||
</authtype>
|
||||
<authkey type="TextField">
|
||||
|
||||
@@ -31,9 +31,12 @@ interface {{ physical_interface(interface.interfacename) }}
|
||||
{% if interface.networktype %}
|
||||
{{ cline("network",interface.networktype)
|
||||
}}{% endif %}
|
||||
{{ cline("authentication",interface.authtype)
|
||||
}}{% if interface.authtype and interface.authtype == 'message-digest'
|
||||
%}{{ cline("message-digest-key " + interface.authkey_id + " md5",interface.authkey)
|
||||
{% if interface.authtype and interface.authtype == 'message-digest'
|
||||
%}{{ cline("authentication",interface.authtype)
|
||||
}}{{ cline("message-digest-key " + interface.authkey_id + " md5",interface.authkey)
|
||||
}}{% elif interface.authtype and interface.authtype == 'plain'
|
||||
%}{{ cline("authentication",' ')
|
||||
}}{{ cline("authentication-key",interface.authkey)
|
||||
}}{% endif
|
||||
%}{{ cline("area",interface.area)
|
||||
}}{{ cline("cost",interface.cost)
|
||||
|
||||
Reference in New Issue
Block a user