diff options
author | John Estabrook <jestabro@vyos.io> | 2024-08-01 19:00:30 -0500 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-02 16:18:29 +0000 |
commit | b510e2c9e3e34b866a4d7a038676238e4ab30684 (patch) | |
tree | e6e78a145205adf739bf9278f246bc1ef1951b9b /src | |
parent | 1982aa3434d0133b5060d0a6df4e636dbf1b98fa (diff) | |
download | vyos-1x-mergify/bp/circinus/pr-3933.tar.gz vyos-1x-mergify/bp/circinus/pr-3933.zip |
T6632: add missing standard functions to config scriptsmergify/bp/circinus/pr-3933
(cherry picked from commit 31de01242a26dff8ff993061ea2f86102a8a7493)
Diffstat (limited to 'src')
-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 0e0b77877..d7a638b51 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): if 'rebuild_required' in wireguard or 'deleted' in wireguard: wg = WireGuardIf(**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: |