To get up and going with the DAQ basics, all you need to do is...
(starting with a vanilla Debian Linux install)
$ git clone http://github.com/faucetsdn/daq.git … $ cd daq $ bin/setup_daq … Docker execution failed, is the docker group setup? If this is the first time, try logging out and log back in again.
Be a good person and logout then log back in again... and then...
$ cd daq $ cmd/build
- Plug one ethernet cable into the last port of the switch.
- If the switch has more than 8 ethernet ports, change interface port1.0.1-1.0.7 in misc/switch_configs/at.cfg to interface port1.0.1-1.0.(number of ports - 1). Everything else can stay the same.
- Find interface name that's connected to switch e.g. enx00e04c68036b
- run
$ sudo bin/setup_switch enx00e04c68036b
replace enx00e04c68036b with your interface name. After about 2 mins, the switch is ready to be used by DAQ. - Confirm you can ping switch at 192.168.1.1
- Connect another ethernet cable into second to last port of the switch and find the interface name.
- Create local/system.conf to specify switch configurations and fill in the following information:
#Load the defaults source misc/system.conf ext_dpid=0x12345 ext_ctrl=enx00e04c68036b <-- replace with first interface name ext_intf=enx00e03c689934 <-- replace with second interface name ext_ofpt=6653 ext_ofip=192.168.1.10/16 ext_addr=192.168.1.1
- Verify switch config with
$ bin/physical_sec
- Plug in a test device in any port not in use. See test_lab for details and additional troubleshooting.
$ cmd/run -s … Done with run, exit 0
Reports generated fall under inst/reports. An example report can be viewed here.
The system can be further configured by using a variety of run options
Then declare victory.