Rui Miguel
Rui Miguel
@jafingerhut Thanks for the response earlier. I wanted to use the PackinIn and PacketOut approach, but I've got three questions: 1. I am also using mininet. Is it possible to...
Many thanks for the fast response! > When you specify --cpu-port, you are specifying a port number that when the P4 code sends a packet there, the simple_switch_grpc process says...
> I do not know what you mean by "knows how to fit in the pipes automatically". Just that it knows packets whose egress_spec is the CPU_PORT must be forwarded...
I was about to post one more question, but I managed to solve it in the meantime. For anyone attempting this workaround using the utils provided by the tutorials environment,...
@jafingerhut Sounds like a good idea! Is it okay for people following the tutorials to edit files in the utility directories? I may have missed it, but there doesn't seem...
Hey there! I'm glad this thread has helped others. I still intend to write an exercise for `p4lang/tutorials` on sending packets from the switch to the controller. An idea is...
I managed to do it! For those interested, here's what I implemented in `switch.py`: ```python3 def pktOut(self, p4info_helper, payload, *metadata): """ Sends a PACKET_OUT from the controller to the switch....