ikev2: support responder hostname
[vpp.git] / test / vpp_tunnel_interface.py
index c74f585..6a336eb 100644 (file)
@@ -1,13 +1,11 @@
-from abc import abstractmethod, ABCMeta
+import abc
 from vpp_pg_interface import is_ipv6_misc
 from vpp_interface import VppInterface
 
 
-class VppTunnelInterface(VppInterface):
-    """ VPP tunnel interface abstration """
-    __metaclass__ = ABCMeta
+class VppTunnelInterface(VppInterface, metaclass=abc.ABCMeta):
+    """ VPP tunnel interface abstraction """
 
-    @abstractmethod
     def __init__(self, test, parent_if):
         super(VppTunnelInterface, self).__init__(test)
         self.parent_if = parent_if