diff options
author | Tuomas Taipale <tuomas.taipale@nokia.com> | 2023-01-23 13:34:39 +0000 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-04-12 09:49:27 +0300 |
commit | 09661f26990472d40815da892e010a295cf789eb (patch) | |
tree | f80c001523aa5480891db2f882558b7d6fc706b9 /test | |
parent | 249739742fcfc41140714dc9c6cf13d433480eac (diff) |
test: ipsecfwd: add example configuration file
Add a minimal configuration file example for `odp_ipsecfwd`.
Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/performance/odp_ipsecfwd.conf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test/performance/odp_ipsecfwd.conf b/test/performance/odp_ipsecfwd.conf new file mode 100644 index 000000000..81ddaef7e --- /dev/null +++ b/test/performance/odp_ipsecfwd.conf @@ -0,0 +1,41 @@ +default: { + dir = 1 + proto = 0 + mode = 0 + crypto: { + cipher_alg = 4 + cipher_key = "jWnZr4t7w!zwC*F-" + auth_alg = 2 + auth_key = "n2r5u7x!A%D*" + icv_len = 12 + }; +}; + +sa: ( + { + spi = 1337 + outbound: { + tunnel: { + src_addr = "192.168.1.10" + dst_addr = "192.168.1.16" + }; + }; + }, + { + spi = 1338 + outbound: { + tunnel: { + src_addr = "192.168.3.110" + dst_addr = "192.168.3.116" + }; + }; + } +); + +fwd: ( + { + prefix: "192.168.1.0/24" + if: "ens9f1" + dst_mac: "00:00:05:00:07:00" + } +); |