Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Now ONOS is running, the needed apps are correctly running and the network configuration is pushed in ONOS, we are ready to run the emulated trellis Trellis topology on P4+Mininet Docker container.
...
You can run the topology with the following command on T3:
Code Block |
---|
$ docker run --rm -it --privileged -v /tmp/p4mn:/tmp \ -v${WORKSPACE}/routing:/routing -w/routing/trellis \ --name p4trellis --hostname p4trellis \ -p 50001-50030:50001-50030 \ --env PYTHONPATH=/root \ --entrypoint python opennetworking/p4mn:stable trellisp4.py --onos-ip 127.0.0.1 |
...
Code Block |
---|
$ cd /tmp/p4mn $ onos-netcfg localhost bmv2-s204-netcfg.json $ onos-netcfg localhost bmv2-s205-netcfg.json $ onos-netcfg localhost bmv2-s226-netcfg.json $ onos-netcfg localhost bmv2-s227-netcfg.json |
On T1 you (Onos Karaf process) you should see that ONOS received the configuration and has configured the device.
...