summaryrefslogtreecommitdiffstats
path: root/test/vpp_tunnel_interface.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-06-22 22:36:46 +0200
committerOle Troan <ot@cisco.com>2018-06-22 22:37:55 +0200
commite0d2bd6bd7fc59c0c6ac48195d7f825dc99bfd91 (patch)
tree1b6f7af08cd0ba04001a0da13efb8ba9d937472f /test/vpp_tunnel_interface.py
parentc8efa29b6f9a91381897b54f1147daf922ed7164 (diff)
Revert "ipsec: VPP-1316 calculate IP/TCP/UDP inner checksums"
This reverts commit a98346f664aae148d26a8e158008b773d73db96f. Change-Id: Iee5b3a5ddff0e8fd3a30fe5973cee24de434fe12 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/vpp_tunnel_interface.py')
-rw-r--r--test/vpp_tunnel_interface.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/vpp_tunnel_interface.py b/test/vpp_tunnel_interface.py
deleted file mode 100644
index c74f58532f2..00000000000
--- a/test/vpp_tunnel_interface.py
+++ /dev/null
@@ -1,32 +0,0 @@
-from abc import abstractmethod, ABCMeta
-from vpp_pg_interface import is_ipv6_misc
-from vpp_interface import VppInterface
-
-
-class VppTunnelInterface(VppInterface):
- """ VPP tunnel interface abstration """
- __metaclass__ = ABCMeta
-
- @abstractmethod
- def __init__(self, test, parent_if):
- super(VppTunnelInterface, self).__init__(test)
- self.parent_if = parent_if
-
- @property
- def local_mac(self):
- return self.parent_if.local_mac
-
- @property
- def remote_mac(self):
- return self.parent_if.remote_mac
-
- def enable_capture(self):
- return self.parent_if.enable_capture()
-
- def add_stream(self, pkts):
- return self.parent_if.add_stream(pkts)
-
- def get_capture(self, expected_count=None, remark=None, timeout=1,
- filter_out_fn=is_ipv6_misc):
- return self.parent_if.get_capture(expected_count, remark, timeout,
- filter_out_fn)