Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-1529: check hop-by-hop header length
[vpp.git]
/
test
/
vpp_sub_interface.py
diff --git
a/test/vpp_sub_interface.py
b/test/vpp_sub_interface.py
index
3c726b2
..
255cfff
100644
(file)
--- a/
test/vpp_sub_interface.py
+++ b/
test/vpp_sub_interface.py
@@
-1,8
+1,8
@@
from scapy.layers.l2 import Dot1Q
from abc import abstractmethod, ABCMeta
from scapy.layers.l2 import Dot1Q
from abc import abstractmethod, ABCMeta
-from vpp_interface import VppInterface
from vpp_pg_interface import VppPGInterface
from vpp_papi_provider import L2_VTR_OP
from vpp_pg_interface import VppPGInterface
from vpp_papi_provider import L2_VTR_OP
+from vpp_interface import VppInterface
class VppSubInterface(VppPGInterface):
class VppSubInterface(VppPGInterface):
@@
-50,6
+50,12
@@
class VppSubInterface(VppPGInterface):
def create_ndp_req(self):
pass
def create_ndp_req(self):
pass
+ def resolve_arp(self):
+ super(VppSubInterface, self).resolve_arp(self.parent)
+
+ def resolve_ndp(self):
+ super(VppSubInterface, self).resolve_ndp(self.parent)
+
@abstractmethod
def add_dot1_layer(self, pkt):
pass
@abstractmethod
def add_dot1_layer(self, pkt):
pass