diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-02-14 15:59:59 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-02-17 08:23:15 +0000 |
| commit | 7897f8d216295b32626dc4d5604349812c592921 (patch) | |
| tree | ceb843d64f19d378a0dde1df3de5889aa31b6044 /src | |
| parent | 6dae0f206d67e0ef8678305c279505e3a5da6208 (diff) | |
| download | vyos-1x-7897f8d216295b32626dc4d5604349812c592921.tar.gz vyos-1x-7897f8d216295b32626dc4d5604349812c592921.zip | |
T7168: Add IPsec XFRM netlink plugin and CLI
Add linux-xfrm-nl plugin
Add configuration commands for VPP IPsec
```
set vpp settings ipsec interface-type 'ipsec'
set vpp settings ipsec netlink batch-delay-ms '250'
set vpp settings ipsec netlink batch-size '150'
set vpp settings ipsec netlink rx-buffer-size '1024'
```
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/vpp.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/conf_mode/vpp.py b/src/conf_mode/vpp.py index 5126b7c79..ac95f8cb4 100755 --- a/src/conf_mode/vpp.py +++ b/src/conf_mode/vpp.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2023-2024 VyOS Inc. +# Copyright (C) 2023-2025 VyOS Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -139,6 +139,10 @@ def get_config(config=None): config = config_dict_merge(default_values, config) + # Ignore default XML values if config doesn't exists + if not conf.exists(base_settings + ['ipsec']): + del config['settings']['ipsec'] + # add running config if effective_config: config['effective'] = effective_config |
