Versions Compared

Key

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

...

The application must live under   onos/pipeconfspipelines/<p4 program name> and must contain contain at least two classes:

...

An example of such application can be found under onos/pipeconfs/default this contains the default.p4 P4_16 program, the DefaultPipeconf, DefaultInterpreter and other classes related to the Default.p4 program.

Interpreter

The interpreter is what enables ONOS to understand the specific constructs of your P4 Program. For example the Interpreter enables the translation from Traffic treatments into P4 defined Actions.

...

The Tofino.bin and the context.json can be generated only with a Barefoot SDE and the attached Tofino specific backend compiler. For more information write to the barefoot support or to write to onos-dev@onosproject.org 

...