summaryrefslogtreecommitdiffstats
path: root/test/test_ipsec_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_ipsec_nat.py
parenta7a1a22673e029d59f52422263076aaaab81a046 (diff)
add ipsecmb plugin
Change-Id: I99c0737dfeeec2db267773625ddc9b55324fd237 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_ipsec_nat.py')
-rw-r--r--test/test_ipsec_nat.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/test_ipsec_nat.py b/test/test_ipsec_nat.py
index e9efa032a13..7e6e1d4d912 100644
--- a/test/test_ipsec_nat.py
+++ b/test/test_ipsec_nat.py
@@ -9,7 +9,7 @@ from util import ppp, ppc
from template_ipsec import TemplateIpsec
-class IPSecNATTestCase(TemplateIpsec):
+class TemplateIPSecNAT(TemplateIpsec):
""" IPSec/NAT
TUNNEL MODE:
@@ -33,7 +33,7 @@ class IPSecNATTestCase(TemplateIpsec):
@classmethod
def setUpClass(cls):
- super(IPSecNATTestCase, cls).setUpClass()
+ super(TemplateIPSecNAT, cls).setUpClass()
cls.tun_if = cls.pg0
cls.vapi.ipsec_spd_add_del(cls.tun_spd_id)
cls.vapi.ipsec_interface_add_del_spd(cls.tun_spd_id,
@@ -236,3 +236,8 @@ class IPSecNATTestCase(TemplateIpsec):
self.pg_start()
capture = self.pg1.get_capture(len(pkts))
self.verify_capture_plain(capture)
+
+
+class IPSecNAT(TemplateIPSecNAT):
+ """ IPSec/NAT """
+ pass