summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-21 15:06:16 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-21 15:10:04 +0200
commit2417c2feedd62a59f0caa0c7a405c60e1f3be0e8 (patch)
tree65dd4a9340dc965b7312f1edc4afdceed6d28e12 /src
parent68d54d8d79f257497c884b392a7e316e9a8e7d21 (diff)
downloadvyos-1x-2417c2feedd62a59f0caa0c7a405c60e1f3be0e8.tar.gz
vyos-1x-2417c2feedd62a59f0caa0c7a405c60e1f3be0e8.zip
macsec: T2023: support MACsec Key Agreement protocol actor priority
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-macsec.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-macsec.py b/src/conf_mode/interfaces-macsec.py
index 79c57d978..780ef9b5f 100755
--- a/src/conf_mode/interfaces-macsec.py
+++ b/src/conf_mode/interfaces-macsec.py
@@ -95,6 +95,10 @@ def get_config():
if conf.exists(['security', 'mka', 'ckn']):
macsec['security_mka_ckn'] = conf.return_value(['security', 'mka', 'ckn'])
+ # MACsec Key Agreement protocol (MKA) actor priority
+ if conf.exists(['security', 'mka', 'priority']):
+ macsec['security_mka_priority'] = conf.return_value(['security', 'mka', 'priority'])
+
# Physical interface
if conf.exists(['source-interface']):
macsec['source_interface'] = conf.return_value(['source-interface'])