Skip to content

Latest commit

 

History

History
57 lines (51 loc) · 2.08 KB

quickstart.md

File metadata and controls

57 lines (51 loc) · 2.08 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 etc/switch_configs/at_8ports.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.yaml to specify switch configurations and fill in the following information:
  #Load the defaults
  include: ../config/system/default.yaml
  switch_setup:
    of_dpid=0x12345
    ctrl_intf=enx00e04c68036b <-- replace with first interface name
    data_intf=enx00e03c689934 <-- replace with second interface name
    lo_port=6653
    lo_addr=192.168.1.10/16
    ip_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 more settings 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.