...
Use the following command to access the ONOS CLI:
Code Block language bash onos localhost
Enter the following command to activate the BMv2 driver:
Code Block language bash app activate org.onosproject.drivers.bmv2
Enter the following command to active the pipeconf:
Code Block language bash app activate org.onosproject.p4tutorial.pipeconf
To verify that you have activated all the required apps, run the following command:
Code Block language bash apps -s -a
Make sure you see the following list of applications displayed:
org.onosproject.generaldeviceprovider (General Device Provider)
org.onosproject.drivers (Default Drivers)
org.onosproject.proxyarp (Proxy ARP/NDP)
org.onosproject.lldpprovider (LLDP Link Provider)
org.onosproject.protocols.grpc (gRPC Protocol Subsystem)
org.onosproject.protocols.p4runtime (P4Runtime Protocol Subsystem)
org.onosproject.p4runtime (P4Runtime Provider)
org.onosproject.drivers.p4runtime (P4Runtime Drivers)
org.onosproject.hostprovider (Host Location Provider)
org.onosproject.fwd (Reactive Forwarding)
org.onosproject.drivers.bmv2 (BMv2 Drivers)
org.onosproject.p4tutorial.pipeconf (P4 Tutorial Pipeconf) Run mininet to set up a topology of BMv2 devices.
More Exercises
More exercise can be found in this pdf: ONOS+P4 tutorial exercises