...
The page outlines instructions to achieve INT through ONOS and P4.
Material
For the details of the demonstration, please see followings:
Requirements
This work basically requires
...
Python 2.7
python-pip
mininet
Build ONOS
To build ONOS on your local machine, follow [this instruction](https://github.com/opennetworkinglab/onos#getting-started)
Provision emulator VM
Install p4tools
To properly install the p4Tools on your VM you will need to download and run this script: https://github.com/JonghwanHyun/onos/blob/master/tools/dev/p4vm/install-p4-tools.sh
Code Block |
---|
$ onos-setup-p4-dev |
Install BPFCollector
See BPFCollector
Add virtual interfaces for collector
Code Block |
---|
$ sudo ip link add veth_11 type veth peer name veth_12 $ sudo ip link add veth_21 type veth peer name veth_22 $ sudo ip link set dev veth_11 up $ sudo ip link set dev veth_12 up $ sudo ip link set dev veth_21 up $ sudo ip link set dev veth_22 up |
How to run
- Configure ONOS apps
Code Block |
---|
$ ONOS_APPS=drivers.bmv2,proxyarp,lldpprovider,hostprovider buck run onos-local -- clean |
...