Skip to content

Latest commit

 

History

History
55 lines (49 loc) · 2.02 KB

quickstart.md

File metadata and controls

55 lines (49 loc) · 2.02 KB

To get up and going with the DAQ basics, all you need to do is...

Install

(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...

Build Required Docker Images

$ cd daq
$ cmd/build

(Optional) Physical Switch Setup

AT x230 series with factory setting

  1. Plug one ethernet cable into the last port of the switch.
  2. 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.
  3. Find interface name that's connected to switch e.g. enx00e04c68036b
  4. 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.
  5. Confirm you can ping switch at 192.168.1.1
  6. Connect another ethernet cable into second to last port of the switch and find the interface name.
  7. 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
  1. Verify switch config with
$ bin/physical_sec 
  1. Plug in a test device in any port not in use. See test_lab for details and additional troubleshooting.

Test Run

$ 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.