Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Typos. A bunch of typos I've been collecting.
[vpp.git]
/
test
/
test_mpls.py
diff --git
a/test/test_mpls.py
b/test/test_mpls.py
index
09e4752
..
8d5d5ab
100644
(file)
--- a/
test/test_mpls.py
+++ b/
test/test_mpls.py
@@
-452,7
+452,7
@@
class TestMPLS(VppTestCase):
self.verify_capture_ip4(self.pg0, rx, tx)
#
self.verify_capture_ip4(self.pg0, rx, tx)
#
- # disposed packets have an invalid IPv4 check
us
m
+ # disposed packets have an invalid IPv4 check
su
m
#
tx = self.create_stream_labelled_ip4(self.pg0, [VppMplsLabel(33)],
dst_ip=self.pg0.remote_ip4,
#
tx = self.create_stream_labelled_ip4(self.pg0, [VppMplsLabel(33)],
dst_ip=self.pg0.remote_ip4,
@@
-1281,7
+1281,7
@@
class TestMPLS(VppTestCase):
self.send_and_assert_no_replies(self.pg0, tx, "RPF-ID drop none")
#
self.send_and_assert_no_replies(self.pg0, tx, "RPF-ID drop none")
#
- # set the RPF-ID of the en
r
try to match the input packet's
+ # set the RPF-ID of the entry to match the input packet's
#
route_232_1_1_1.update_rpf_id(55)
#
route_232_1_1_1.update_rpf_id(55)
@@
-1291,7
+1291,7
@@
class TestMPLS(VppTestCase):
self.verify_capture_ip4(self.pg1, rx, tx)
#
self.verify_capture_ip4(self.pg1, rx, tx)
#
- # disposed packets have an invalid IPv4 check
us
m
+ # disposed packets have an invalid IPv4 check
su
m
#
tx = self.create_stream_labelled_ip4(self.pg0, [VppMplsLabel(34)],
dst_ip="232.1.1.1", n=65,
#
tx = self.create_stream_labelled_ip4(self.pg0, [VppMplsLabel(34)],
dst_ip="232.1.1.1", n=65,
@@
-1351,7
+1351,7
@@
class TestMPLS(VppTestCase):
self.send_and_assert_no_replies(self.pg0, tx, "RPF Miss")
#
self.send_and_assert_no_replies(self.pg0, tx, "RPF Miss")
#
- # set the RPF-ID of the en
r
try to match the input packet's
+ # set the RPF-ID of the entry to match the input packet's
#
route_ff.update_rpf_id(55)
#
route_ff.update_rpf_id(55)
@@
-1371,7
+1371,7
@@
class TestMPLS(VppTestCase):
self.verify_capture_ip6_icmp(self.pg0, rx, tx)
#
self.verify_capture_ip6_icmp(self.pg0, rx, tx)
#
- # set the RPF-ID of the en
r
try to not match the input packet's
+ # set the RPF-ID of the entry to not match the input packet's
#
route_ff.update_rpf_id(56)
tx = self.create_stream_labelled_ip6(self.pg0,
#
route_ff.update_rpf_id(56)
tx = self.create_stream_labelled_ip6(self.pg0,
@@
-1392,7
+1392,7
@@
class TestMPLSDisabled(VppTestCase):
self.tbl = VppMplsTable(self, 0)
self.tbl.add_vpp_config()
self.tbl = VppMplsTable(self, 0)
self.tbl.add_vpp_config()
- # PG0 is MPLS ena
lb
ed
+ # PG0 is MPLS ena
bl
ed
self.pg0.admin_up()
self.pg0.config_ip4()
self.pg0.resolve_arp()
self.pg0.admin_up()
self.pg0.config_ip4()
self.pg0.resolve_arp()
@@
-1573,7
+1573,7
@@
class TestMPLSPIC(VppTestCase):
rx0 = self.pg0._get_capture(1)
rx1 = self.pg1._get_capture(1)
rx0 = self.pg0._get_capture(1)
rx1 = self.pg1._get_capture(1)
- # not testig the LB hashing algorithm so we're not concerned
+ # not testi
n
g the LB hashing algorithm so we're not concerned
# with the split ratio, just as long as neither is 0
self.assertNotEqual(0, len(rx0))
self.assertNotEqual(0, len(rx1))
# with the split ratio, just as long as neither is 0
self.assertNotEqual(0, len(rx0))
self.assertNotEqual(0, len(rx1))
@@
-1581,7
+1581,7
@@
class TestMPLSPIC(VppTestCase):
#
# use a test CLI command to stop the FIB walk process, this
# will prevent the FIB converging the VPN routes and thus allow
#
# use a test CLI command to stop the FIB walk process, this
# will prevent the FIB converging the VPN routes and thus allow
- # us to probe the interim (p
so
t-fail, pre-converge) state
+ # us to probe the interim (p
os
t-fail, pre-converge) state
#
self.vapi.ppcli("test fib-walk-process disable")
#
self.vapi.ppcli("test fib-walk-process disable")
@@
-1681,7
+1681,7
@@
class TestMPLSPIC(VppTestCase):
#
# use a test CLI command to stop the FIB walk process, this
# will prevent the FIB converging the VPN routes and thus allow
#
# use a test CLI command to stop the FIB walk process, this
# will prevent the FIB converging the VPN routes and thus allow
- # us to probe the interim (p
so
t-fail, pre-converge) state
+ # us to probe the interim (p
os
t-fail, pre-converge) state
#
self.vapi.ppcli("test fib-walk-process disable")
#
self.vapi.ppcli("test fib-walk-process disable")
@@
-1781,7
+1781,7
@@
class TestMPLSPIC(VppTestCase):
#
# use a test CLI command to stop the FIB walk process, this
# will prevent the FIB converging the VPN routes and thus allow
#
# use a test CLI command to stop the FIB walk process, this
# will prevent the FIB converging the VPN routes and thus allow
- # us to probe the interim (p
so
t-fail, pre-converge) state
+ # us to probe the interim (p
os
t-fail, pre-converge) state
#
self.vapi.ppcli("test fib-walk-process disable")
#
self.vapi.ppcli("test fib-walk-process disable")
@@
-1937,7
+1937,7
@@
class TestMPLSL2(VppTestCase):
self.assertEqual(rx0[0][Ether].src, payload[Ether].src)
#
self.assertEqual(rx0[0][Ether].src, payload[Ether].src)
#
- # Inject a packet from the custoer/L2 side
+ # Inject a packet from the custo
m
er/L2 side
#
tx1 = pcore[MPLS].payload * 65
rx1 = self.send_and_expect(self.pg1, tx1, self.pg0)
#
tx1 = pcore[MPLS].payload * 65
rx1 = self.send_and_expect(self.pg1, tx1, self.pg0)