Environment:
ONOS+P4 Dev VM
Before starting, download and run the ONOS-P4 Tutorial VM (http://onlab.vicci.org/onos/onos-p4-dev.ova)
This VM includes:
...
Mininet 2.3.0b1
...
ONOS 1.13-SNAPSHOT
...
Bmv2 P4 simulator with P4Runtime support
:
This page includes also a walkthrough to run ONOS with BMv2. We suggest to complete those steps to make sure the VM works properly.
Get Trellis "routing" repository
To try fabric.p4 with BMv2, you will need a custom Mininet script distributed as part of the Trellis "routing" repository:
To clone the repository, type the following commands in a terminal window inside the ONOS+P4 Dev VM:
Code Block | ||||
---|---|---|---|---|
| ||||
cd ~
git clone |
...
https://github.com/opennetworkinglab/routing/ |
...
Network configuration for this mininet topology:
...