Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
virtio: add simple drop counter for interface
[vpp.git]
/
test
/
template_bd.py
diff --git
a/test/template_bd.py
b/test/template_bd.py
index
198cc22
..
bebe76d
100644
(file)
--- a/
test/template_bd.py
+++ b/
test/template_bd.py
@@
-1,17
+1,13
@@
#!/usr/bin/env python3
import abc
#!/usr/bin/env python3
import abc
-import six
from scapy.layers.l2 import Ether
from scapy.packet import Raw
from scapy.layers.inet import IP, UDP
from scapy.layers.l2 import Ether
from scapy.packet import Raw
from scapy.layers.inet import IP, UDP
-from util import ip4_range
-
-@six.add_metaclass(abc.ABCMeta)
-class BridgeDomain(object):
+class BridgeDomain(metaclass=abc.ABCMeta):
""" Bridge domain abstraction """
@property
""" Bridge domain abstraction """
@property