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.
...
In this guide we will refer to ${WORKSPACE}
as the environment variable of your workspace, where we suppose also ONOS has been downloaded. Define it on your .bashrc
file or make sure that is defined in all your terminal windows.
...
Code Block | ||
---|---|---|
| ||
$ cd ~${WORKSPACE}/onos $ ONOS_APPS=drivers,openflow,netcfghostprovider,segmentrouting,fpm,dhcprelay,routeradvertisement,t3,hostprobingprovider,drivers.bmv2,pipelines.fabric $ bazel run onos-local -- clean |
...
Code Block | ||
---|---|---|
| ||
$ cd ~${WORKSPACE}/routing/trellis $ onos-netcfg localhost trellisp4.json |
...
Code Block |
---|
$ docker run --rm --privileged -v /tmp/p4mn:/tmp -v~v${WORKSPACE}/routing:/routing -w/routing/trellis -it --name p4trellis --hostname p4trellis -p 50001-50030:50001-50030 --env PYTHONPATH=/root --entrypoint python opennetworking/p4mn:stable ~/routing/trellis/trellisp4.py --onos-ip 127.0.0.1 |
...