From a71848066022d5b4d3c6631b188e8efc43fbf4b3 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 6 Mar 2019 19:53:25 +0100 Subject: [PATCH] + README for bug2 --- p4debug/bug2-cast-in-checksum/README | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 p4debug/bug2-cast-in-checksum/README diff --git a/p4debug/bug2-cast-in-checksum/README b/p4debug/bug2-cast-in-checksum/README new file mode 100644 index 0000000..65c86eb --- /dev/null +++ b/p4debug/bug2-cast-in-checksum/README @@ -0,0 +1,34 @@ +Result: + +... + +*** Starting 2 switches +s1 Starting P4 switch s1. +simple_switch -i 1@s1-eth1 -i 2@s1-eth2 -i 3@s1-eth3 -i 4@s1-eth4 -i 5@s1-cpu-eth0 --pcap=/home/p4/master-thesis/p4app/pcap --thrift-port 9090 --nanolog ipc:///tmp/bm-1-log.ipc --device-id 1 ../p4debug/bug2-cast-in-checksum/static-mapping.json --log-console >/home/p4/master-thesis/p4app/log/s1.log + + +Logfile: + + +p4@ubuntu:~/master-thesis/p4app$ cat /home/p4/master-thesis/p4app/log/s1.log +Warning: you requested the nanomsg event logger, but bmv2 was compiled without -DBMELOG, and the event logger cannot be activated +Calling target program-options parser +Unsupported input type 'expression' for calculation 'calc' +bad json: +{ + "type" : "expression", + "value" : { + "left" : { + "type" : "field", + "value" : [ "ipv6", "payload_length" ] + }, + "op" : "&", + "right" : { + "bitwidth" : 32, + "type" : "hexstr", + "value" : "0xffffffff" + } + } +} + +p4@ubuntu:~/master-thesis/p4app$