summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/ospf.py
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-09-19 10:14:14 -0400
committerGitHub <noreply@github.com>2023-09-19 10:14:14 -0400
commita9a89805ecfab9a581e7395c55fe007160a959ed (patch)
tree83ed8c870ab54d97ba322d5d90fe8e92dec0a388 /tests/topotests/lib/ospf.py
parent1e007847319252cb069a4c841517b027073ba324 (diff)
parentf5011cd5ddfd0eabe359d7013747823c6bd4ed3f (diff)
Merge pull request #14398 from m-varasteh/ospfd-rfc5709
ospfd: add support for RFC 5709 OSPFv2 HMAC-SHA Cryptographic Authentication
Diffstat (limited to 'tests/topotests/lib/ospf.py')
-rw-r--r--tests/topotests/lib/ospf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/topotests/lib/ospf.py b/tests/topotests/lib/ospf.py
index 5486e904df..5b18f8b679 100644
--- a/tests/topotests/lib/ospf.py
+++ b/tests/topotests/lib/ospf.py
@@ -426,6 +426,10 @@ def config_ospf_interface(
cmd = "ip ospf authentication null"
elif data_ospf_auth == "message-digest":
cmd = "ip ospf authentication message-digest"
+ elif data_ospf_auth == "key-chain":
+ cmd = "ip ospf authentication key-chain {}".format(
+ ospf_data["keychain"]
+ )
else:
cmd = "ip ospf authentication"