diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-21 15:06:16 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-21 15:10:04 +0200 |
commit | 2417c2feedd62a59f0caa0c7a405c60e1f3be0e8 (patch) | |
tree | 65dd4a9340dc965b7312f1edc4afdceed6d28e12 /src/conf_mode/interfaces-macsec.py | |
parent | 68d54d8d79f257497c884b392a7e316e9a8e7d21 (diff) | |
download | vyos-1x-2417c2feedd62a59f0caa0c7a405c60e1f3be0e8.tar.gz vyos-1x-2417c2feedd62a59f0caa0c7a405c60e1f3be0e8.zip |
macsec: T2023: support MACsec Key Agreement protocol actor priority
Diffstat (limited to 'src/conf_mode/interfaces-macsec.py')
-rwxr-xr-x | src/conf_mode/interfaces-macsec.py | 4 |
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']) |