Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIB: adj src assert fix part 2
[vpp.git]
/
test
/
test_ip4_irb.py
diff --git
a/test/test_ip4_irb.py
b/test/test_ip4_irb.py
index
cf7d89e
..
8c3830c
100644
(file)
--- a/
test/test_ip4_irb.py
+++ b/
test/test_ip4_irb.py
@@
-31,7
+31,7
@@
from scapy.layers.l2 import Ether
from scapy.layers.inet import IP, UDP
from framework import VppTestCase, VppTestRunner
from scapy.layers.inet import IP, UDP
from framework import VppTestCase, VppTestRunner
-from
util import mactobinary
+from
vpp_papi import MACAddress
from vpp_papi_provider import L2_PORT_TYPE
from vpp_papi_provider import L2_PORT_TYPE
@@
-265,7
+265,7
@@
class TestIpIrb(VppTestCase):
self.send_and_verify_l2_to_ip()
# change the BVI's mac and resed traffic
self.send_and_verify_l2_to_ip()
# change the BVI's mac and resed traffic
- self.loop0.set_mac(
"00:00:00:11:11:33"
)
+ self.loop0.set_mac(
MACAddress("00:00:00:11:11:33")
)
self.send_and_verify_l2_to_ip()
# check it wasn't flooded
self.send_and_verify_l2_to_ip()
# check it wasn't flooded