49 lines
3.5 KiB
Text
49 lines
3.5 KiB
Text
python3 check.py
|
|
|
|
|
|
|
|
|
|
- Using P4Info file build/forwarding.p4.p4info.txt...
|
|
- Connecting to P4Runtime server on 127.0.0.1:50051 (bmv2)...
|
|
- Setting pipeline config (build/forwarding.json)...
|
|
- Inserting 5 table entries...
|
|
- MyIngress.ipv4_lpm: (default action) => MyIngress.drop()
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.1.1', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:01:11, port=1)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.2.2', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:02:22, port=2)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.3.3', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:03:00, port=3)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.4.4', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:04:00, port=4)
|
|
- Using P4Info file build/forwarding.p4.p4info.txt...
|
|
- Connecting to P4Runtime server on 127.0.0.1:50052 (bmv2)...
|
|
- Setting pipeline config (build/forwarding.json)...
|
|
- Inserting 5 table entries...
|
|
- MyIngress.ipv4_lpm: (default action) => MyIngress.drop()
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.1.1', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:03:00, port=4)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.2.2', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:04:00, port=3)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.3.3', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:03:33, port=1)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.4.4', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:04:44, port=2)
|
|
- Using P4Info file build/forwarding.p4.p4info.txt...
|
|
- Connecting to P4Runtime server on 127.0.0.1:50053 (bmv2)...
|
|
- Setting pipeline config (build/forwarding.json)...
|
|
- Inserting 5 table entries...
|
|
- MyIngress.ipv4_lpm: (default action) => MyIngress.drop()
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.1.1', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:01:00, port=1)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.2.2', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:01:00, port=1)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.3.3', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:02:00, port=2)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.4.4', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:02:00, port=2)
|
|
- Using P4Info file build/forwarding.p4.p4info.txt...
|
|
- Connecting to P4Runtime server on 127.0.0.1:50054 (bmv2)...
|
|
- Setting pipeline config (build/forwarding.json)...
|
|
- Inserting 5 table entries...
|
|
- MyIngress.ipv4_lpm: (default action) => MyIngress.drop()
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.1.1', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:01:00, port=2)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.2.2', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:01:00, port=2)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.3.3', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:02:00, port=1)
|
|
- MyIngress.ipv4_lpm: hdr.ipv4.dstAddr=['10.0.4.4', 32] => MyIngress.ipv4_forward(dstAddr=08:00:00:00:02:00, port=1)
|
|
FAIL every host reaches every other host: no reply for h1->h2, h1->h3, h1->h4, h2->h1, h2->h3, h2->h4, h3->h1, h3->h2, h3->h4, h4->h1, h4->h2, h4->h3
|
|
FAIL TTL goes down by one at each switch: reply TTLs were None (h1 to h2, one switch) and None (h1 to h3, three switches); expected 63 and 61, starting at 64
|
|
PASS a destination with no entry is dropped
|
|
FAIL overlapping prefixes choose the longest match: probe 10.0.3.99 was not reachable before adding /24 drop
|
|
|
|
1 passed, 3 failed
|
|
*** Error setting resource limits. Mininet's performance may be affected.
|
|
make: *** [../utils/part.mk:26: check] Error 1
|