diff options
author | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-03 18:12:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 18:12:50 +0300 |
commit | 4ae9d14d0989366a27f81a061ad4fdd267b2325b (patch) | |
tree | dd527383cee3ec34d1c64b5b930e850d190cd8ec /src/conf_mode | |
parent | f5b4f5e8536ebab6d1b513367fce414502bda375 (diff) | |
download | vyos-1x-4ae9d14d0989366a27f81a061ad4fdd267b2325b.tar.gz vyos-1x-4ae9d14d0989366a27f81a061ad4fdd267b2325b.zip |
T6632: add missing standard functions to config scripts (#3936)
(cherry picked from commit 31de01242a26dff8ff993061ea2f86102a8a7493)
Co-authored-by: John Estabrook <jestabro@vyos.io>
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces_wireguard.py | 3 | ||||
-rwxr-xr-x | src/conf_mode/system_acceleration.py | 3 |
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: |