Fabric Software Setup
CORD uses the Trellis fabric to connect the data plane components together. This section describes how to setup the software for these switches.
The latest documentation can be found on the Trellis documentation site.
The list of supported hardware can be found in the hardware requirements page
Instructions to install ONL on Delta Switches
If the Delta switch you are using has the following in /etc/machine.conf:
onie_platform=x86_64_<platform name>-r0 onie_machine=<platform name>
Please change it to the following before installing ONL:
onie_platform=x86_64-delta_<platform name>-r0 onie_machine=delta_<platform name>
After the installation of ONL, if you don't see '/usr/bin' in your PATH variable, please run the following command:
Guidelines on how to install ONL on top of an ONIE compatible device can be found directly on the ONL website.
This specific version of ONL has been customized to accept an IP address through DHCP on the management interface, ma0. If you'd like to use a static IP, first give it an IP address through DHCP, then login and change the configuration in /etc/network/interfaces.
The default username and password are root / onl.
Once ONL is installed, OFDPA drivers will need to be installed as well. Each switch model requires a specific version of OFDPA. All driver packages are distributed as DEB packages, which makes the installation process straightforward.
First, copy the package to the switch. For example
scp your-ofdpa.deb root@fabric-switch-ip:
Then, install the DEB package
dpkg -i your-ofdpa.deb
Three OFDPA drivers are available:
- EdgeCore 5712-54X / 5812-54X / 6712-32X - checksum: sha256:db228b6e79fb15f77497b59689235606b60abc157e72fc3356071bcc8dc4c01f
- EdgeCore 7712-32X - checksum: sha256:4f78e8f43976dc86ab1cdc2f98afa743ce2e0cc5923e429c91f96b0edc3ddf4b
- QuantaMesh T3048-LY8 - checksum: sha256:f8201530b1452145c1a0956ea1d3c0402c3568d090553d0d7b3c91a79137da9e
- QuantaMesh BMS T7032-IX1/IX1B checksum: sha256:278b8ffed8a8fc705a1b60d16f8e70377e78342a27a11568a1d80b1efd706a46
- Delta AG7648 checksum: sha256:ddfc13cb98ca47291dce5e6938b1d65f0b99bbe77f0585e36ac0007017397f23
Connect the Fabric Switches to ONOS
If the switches are not already connected, ssh to each switch and configure /etc/ofagent/ofagent.conf by uncommenting and editing the following line:
OPT_ARGS="-d 2 -c 2 -c 4 -t K8S_NODE_IP:31653 -i $DPID"
Then start ofagent by running
service ofagentd start
You can verify ONOS has recognized the devices using the following command:
NOTE: When prompted, use password
ssh -p 31101 onos@K8S_NODE_IP devices
NOTE: It may take a few seconds for the switches to initialize and connect to ONOS
Additional notes for Delta switches
If optical sfp cables are not coming up, please use the following command to launch ofdpa:
./launcher ofagentapp -t <ip address of the controller>