How to add self-defined flow table in P4 switch

62 views
Skip to first unread message

Boyu Cai

unread,
May 13, 2022, 11:01:37 AM5/13/22
to ONOS Discuss
Hi friends,

I want to add the flow table defined by myself to the P4 switch. Note that it is not the flow table of forwarding rules, but the table and action defined by myself. I want to seek some help or some related examples to help me complete this work.

And I want to find out how onos sends the flow table to the switch and the role of pipeline in onos application. If there are relevant articles, please recommend them to me. 

Thank you!

0ice...@gmail.com

unread,
May 15, 2022, 4:29:50 PM5/15/22
to ONOS Discuss, cby...@gmail.com
Hi,
you can find some examples in the onos master, look the code of basic,Int and mytunnel application.

best
Davide

Boyu Cai

unread,
May 16, 2022, 5:57:56 AM5/16/22
to ONOS Discuss, 0ice...@gmail.com, Boyu Cai
And I also have a question.

I am now analyzing the experiment and need to use Wireshark tool to analyze the data packets of each P4 switch,

but I don’t know how to use Wireshark in the docker environment in ONOS ngsdn-tutorial to view the data packets of specific switches.

I would be very grateful if I could get help!

Reply all
Reply to author
Forward
0 new messages