summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-macsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-30 17:20:26 +0200
committerChristian Poessinger <christian@poessinger.com>2020-07-01 19:06:56 +0200
commit9afc69f83f5e6f44751c3d6c546ea7614baff41c (patch)
treeb1120fdfb2257037f3ba323a3550d7ee9dd787bf /src/conf_mode/interfaces-macsec.py
parent65fa21f5e79114fa861d99eae154baad35ce2f11 (diff)
downloadvyos-1x-9afc69f83f5e6f44751c3d6c546ea7614baff41c.tar.gz
vyos-1x-9afc69f83f5e6f44751c3d6c546ea7614baff41c.zip
ifconfig: T2653: use better names for vyos.configverify functions
Diffstat (limited to 'src/conf_mode/interfaces-macsec.py')
-rwxr-xr-xsrc/conf_mode/interfaces-macsec.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/interfaces-macsec.py b/src/conf_mode/interfaces-macsec.py
index 6f4e90169..2f14b6a92 100755
--- a/src/conf_mode/interfaces-macsec.py
+++ b/src/conf_mode/interfaces-macsec.py
@@ -25,8 +25,8 @@ from vyos.ifconfig import MACsecIf
from vyos.template import render
from vyos.util import call
from vyos.validate import is_member
-from vyos.configverify import verify_bridge_vrf
-from vyos.configverify import verify_bridge_address
+from vyos.configverify import verify_vrf
+from vyos.configverify import verify_address
from vyos.configverify import verify_bridge_delete
from vyos.configverify import verify_source_interface
from vyos.xml import defaults
@@ -86,8 +86,8 @@ def verify(macsec):
return None
verify_source_interface(macsec)
- verify_bridge_vrf(macsec)
- verify_bridge_address(macsec)
+ verify_vrf(macsec)
+ verify_address(macsec)
if not (('security' in macsec.keys()) and
('cipher' in macsec['security'].keys())):