This repo contains a collection of scripts used to setup and automate certain tasks in the SmartNIC analytics FYP project, on CloudLab. Some of the scripts here is based on the shell script in this repo by Dr. Levente Csikor.
This is the rough order the scripts are meant to be run, when starting with a fresh setup on CloudLab.
mellanox-setup.sh
. This installsMLNX_OFED
, which also gives us thershim
driver.rshim-bluefield-setup.sh
. Ensures rshim is up and running. Configures packet forwarding to the BlueField so that the BlueField can access the internet.os-install.sh
. Installs ubuntu on the BlueField (usernameubuntu
, passwordUbuntu1!
). Re-installing the OS might not be necessary.- If DPDK/Pktgen is needed,
dpdk-and-pktgen-x86-install.sh
.
Once we can ssh into the BlueField, we can install DPDK/Pktgen there: dpdk-and-pktgen-arm-install.sh
.
switch_mode.sh
: simple script to switch modes.ovs-and-dpdk.sh
: installs DPDK, and OvS (from source) configured to support DPDK datapath. (For x86 machine).nfstream-setup.sh
: simple script to install NFStream.