P4 with onos _ tutorial

P4 with onos _ tutorial

Environment: Ubuntu 16.04

– Onos installation reference is


– Checkout to the latest version

– P4 tools installation

– Install mininet

– Compile onos

– Run onos

– Open onos CLI

– Open apps

– You can use below command to check what apps you have activated

– Run script

it’s ok , if you dont open the openflow apps.

Though the mininet will show that “unable to connect to the controller IP:6633”,it can still works.

Because the p4runtime works, so we dont need openflow.


你的電子郵件位址並不會被公開。 必要欄位標記為 *