behavioral-model
behavioral-model copied to clipboard
The reference P4 software switch
I'm trying to connect docker containers by using the p4 switch bmv2 model. Two containers on the same host (connected to the same switch) can establish a TCP connection but...
i want to get current local timestamp ,is there has some methods to get it
I'm trying to generate a digest message using the `digest` extern. This is what I'm doing - ```p4 action send_digest() { meta.con_notif.queue_len = (bit) standard_metadata.enq_qdepth; digest(1, meta.con_notif); } apply {...
I have two namespaces srv1 and srv2, interconnected with veth pairs via bmv2 running within the plang/behavioral-model container. The p4 program does just match on DMAC and simple forwarding. The...
Hi, I have installed the switch using as follows ./autogen.sh && ./configure --disable-logging-macros --disable-elogger 'CFLAGS=-O3' 'CXXFLAGS=-O3' I performed the stress test sudo python stress_test_ipv4.py and the results are as follows...
I wrote a simple C++ controller app to the configure simple_switch's via CLI and now I am trying to move all the calls to p4runtime GRPC interface. My problem is...
Hello! I'm using a virtual machine from Sigcomm 2019 (you guys provide that) and my clone function does not work. I have already added the "mirror_add" as a cli_input in...
Hi, I'm trying to implement a program that I already test in mininet with sucess. But when I try to run in BMV2 I'm getting an error. When I try...
Hello everyone, I am doing some tests to evaluate INT in P4. I am extending the MRI code available in [tutorials](https://github.com/p4lang/tutorials/tree/master/exercises/mri). Part... hdr.swtraces[0].enq_qdepth = (enq_qdepth_t)standard_metadata.enq_qdepth; hdr.swtraces[0].deq_qdepth = (deq_qdepth_t)standard_metadata.deq_qdepth; hdr.swtraces[0].enq_timestamp =...
Hello everyone! I have the following piece of code in my P4 application: ``` header my_varbit_header { varbit field1; } ... struct headers { my_varbit_header mvh; } ... struct metadata...