Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Use the following command to access the ONOS CLI:

    Code Block
    languagebash
    onos localhost
  2. Enter the following command to activate the BMv2 driver:

    Code Block
    languagebash
    app activate org.onosproject.drivers.bmv2
  3. Enter the following command to active the pipeconf:

    Code Block
    languagebash
    app activate org.onosproject.p4tutorial.pipeconf
  4. To verify that you have activated all the required apps, run the following command:

    Code Block
    languagebash
    apps -s -a
  5. 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