aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ipsecmb_nat.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-11-08 13:25:49 +0100
committerDave Barach <openvpp@barachs.net>2019-01-02 12:21:02 +0000
commitbe16020c5034bc69df25a8ecd7081aec9898d93c (patch)
tree61a4d2183138d64b476fa35389d5598ee68e09eb /test/test_ipsecmb_nat.py
parenta7a1a22673e029d59f52422263076aaaab81a046 (diff)
add ipsecmb plugin
Change-Id: I99c0737dfeeec2db267773625ddc9b55324fd237 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_ipsecmb_nat.py')
-rw-r--r--test/test_ipsecmb_nat.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_ipsecmb_nat.py b/test/test_ipsecmb_nat.py
new file mode 100644
index 00000000000..82f5daa0fb1
--- /dev/null
+++ b/test/test_ipsecmb_nat.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+from test_ipsec_nat import TemplateIPSecNAT
+
+
+class IPSecMBNATTestCase(TemplateIPSecNAT):
+ """ IPSecMB/NAT """
+ extra_vpp_plugin_config = [
+ "plugin", "ipsecmb_plugin.so", "{", "enable", "}"]
+
+ @classmethod
+ def ipsec_select_backend(cls):
+ cls.vapi.ipsec_select_backend(protocol=cls.vpp_ah_protocol, index=1)