add ipsecmb plugin
[vpp.git] / test / test_ipsecmb_nat.py
diff --git a/test/test_ipsecmb_nat.py b/test/test_ipsecmb_nat.py
new file mode 100644 (file)
index 0000000..82f5daa
--- /dev/null
@@ -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)