Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vxlan: vxlan/vxlan.api API cleanup
[vpp.git]
/
test
/
vpp_tunnel_interface.py
diff --git
a/test/vpp_tunnel_interface.py
b/test/vpp_tunnel_interface.py
index
c74f585
..
e55486e
100644
(file)
--- a/
test/vpp_tunnel_interface.py
+++ b/
test/vpp_tunnel_interface.py
@@
-1,13
+1,13
@@
-from abc import abstractmethod, ABCMeta
+import abc
+import six
from vpp_pg_interface import is_ipv6_misc
from vpp_interface import VppInterface
from vpp_pg_interface import is_ipv6_misc
from vpp_interface import VppInterface
+@six.add_metaclass(abc.ABCMeta)
class VppTunnelInterface(VppInterface):
class VppTunnelInterface(VppInterface):
- """ VPP tunnel interface abstration """
- __metaclass__ = ABCMeta
+ """ VPP tunnel interface abstraction """
- @abstractmethod
def __init__(self, test, parent_if):
super(VppTunnelInterface, self).__init__(test)
self.parent_if = parent_if
def __init__(self, test, parent_if):
super(VppTunnelInterface, self).__init__(test)
self.parent_if = parent_if