summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-macsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-21 15:04:24 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-21 15:05:53 +0200
commit68d54d8d79f257497c884b392a7e316e9a8e7d21 (patch)
treef6a6ee6f646072e73e40bb65c862dd67e9c1d1b9 /src/conf_mode/interfaces-macsec.py
parent3872f5995644a8a52358285d682a7103b54dde04 (diff)
downloadvyos-1x-68d54d8d79f257497c884b392a7e316e9a8e7d21.tar.gz
vyos-1x-68d54d8d79f257497c884b392a7e316e9a8e7d21.zip
macsec: T2023: rename "security key" node to "security mka"
MACsec always talks about MKA (MACsec Key Agreement protocol) thus the node should reflect that.
Diffstat (limited to 'src/conf_mode/interfaces-macsec.py')
-rwxr-xr-xsrc/conf_mode/interfaces-macsec.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/conf_mode/interfaces-macsec.py b/src/conf_mode/interfaces-macsec.py
index e59df6f90..79c57d978 100755
--- a/src/conf_mode/interfaces-macsec.py
+++ b/src/conf_mode/interfaces-macsec.py
@@ -36,8 +36,9 @@ default_config_data = {
'disable': False,
'security_cipher': '',
'security_encrypt': False,
- 'security_key_cak': '',
- 'security_key_ckn': '',
+ 'security_mka_cak': '',
+ 'security_mka_ckn': '',
+ 'security_mka_priority': '255',
'intf': '',
'source_interface': '',
'is_bridge_member': False,
@@ -87,12 +88,12 @@ def get_config():
macsec['security_encrypt'] = True
# Secure Connectivity Association Key
- if conf.exists(['security', 'key', 'cak']):
- macsec['security_key_cak'] = conf.return_value(['security', 'key', 'cak'])
+ if conf.exists(['security', 'mka', 'cak']):
+ macsec['security_mka_cak'] = conf.return_value(['security', 'mka', 'cak'])
# Secure Connectivity Association Name
- if conf.exists(['security', 'key', 'ckn']):
- macsec['security_key_ckn'] = conf.return_value(['security', 'key', 'ckn'])
+ if conf.exists(['security', 'mka', 'ckn']):
+ macsec['security_mka_ckn'] = conf.return_value(['security', 'mka', 'ckn'])
# Physical interface
if conf.exists(['source-interface']):