aboutsummaryrefslogtreecommitdiff
path: root/example/ipsec_crypto/odp_ipsec_crypto_run_live.sh
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2020-09-10 16:55:57 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2020-09-28 10:06:37 +0300
commit6e24d8da43d4780372df9cb9d77ff35cdd065cf6 (patch)
treea5cc6cda0af1c309ba3a271d6d442ea5f040ce04 /example/ipsec_crypto/odp_ipsec_crypto_run_live.sh
parentd8b151feb38ae04da1a195742b8160442c2a62cd (diff)
example: ipsec_crypto: rename ipsec application to ipsec_crypto
Rename ipsec application to ipsec_crypto to better distinguish it from the ipsec api example. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'example/ipsec_crypto/odp_ipsec_crypto_run_live.sh')
-rwxr-xr-xexample/ipsec_crypto/odp_ipsec_crypto_run_live.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/example/ipsec_crypto/odp_ipsec_crypto_run_live.sh b/example/ipsec_crypto/odp_ipsec_crypto_run_live.sh
new file mode 100755
index 000000000..e893674bc
--- /dev/null
+++ b/example/ipsec_crypto/odp_ipsec_crypto_run_live.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# Live router test
+# - 2 interfaces interfaces
+# - Specify API mode on command line
+sudo ./odp_ipsec_crypto -i p7p1,p8p1 \
+-r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \
+-r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \
+-p 192.168.111.0/24:192.168.222.0/24:out:both \
+-e 192.168.111.2:192.168.222.2:\
+3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \
+-a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \
+-p 192.168.222.0/24:192.168.111.0/24:in:both \
+-e 192.168.222.2:192.168.111.2:\
+3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \
+-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \
+-c 2 -m $1