summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-08-02 16:53:40 +0100
committerGitHub <noreply@github.com>2024-08-02 16:53:40 +0100
commit998df24dc4ed0c1ccd572d09c438d96fe6b79ba8 (patch)
tree543d42c7461a06a77adc05bb35981e5a4eae14c4 /src/conf_mode
parentb5e3612697de61ce5d470c1842703ff534cf33fe (diff)
parent31de01242a26dff8ff993061ea2f86102a8a7493 (diff)
downloadvyos-1x-998df24dc4ed0c1ccd572d09c438d96fe6b79ba8.tar.gz
vyos-1x-998df24dc4ed0c1ccd572d09c438d96fe6b79ba8.zip
Merge pull request #3933 from jestabro/add-missing-standard-func
T6632: add missing standard functions to config scripts
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces_wireguard.py3
-rwxr-xr-xsrc/conf_mode/system_acceleration.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces_wireguard.py b/src/conf_mode/interfaces_wireguard.py
index 482da1c66..7abdfdbfa 100755
--- a/src/conf_mode/interfaces_wireguard.py
+++ b/src/conf_mode/interfaces_wireguard.py
@@ -103,6 +103,9 @@ def verify(wireguard):
public_keys.append(peer['public_key'])
+def generate(wireguard):
+ return None
+
def apply(wireguard):
check_kmod('wireguard')
diff --git a/src/conf_mode/system_acceleration.py b/src/conf_mode/system_acceleration.py
index e4b248675..d2cf44ff0 100755
--- a/src/conf_mode/system_acceleration.py
+++ b/src/conf_mode/system_acceleration.py
@@ -79,6 +79,9 @@ def verify(qat):
if not data:
raise ConfigError('No QAT acceleration device found')
+def generate(qat):
+ return
+
def apply(qat):
# Shutdown VPN service which can use QAT
if 'ipsec' in qat: