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 Trellis Fabric documentation can be found on the CORD wiki.
Supported Switches
The list of supported hardware can be found in the hardware requirements page.
Operating System
All CORD-compatible switches use Open Networking Linux (ONL) as the operating system. The latest compatible ONL image can be downloaded from here.
Checksum: sha256:2db316ea83f5dc761b9b11cc8542f153f092f3b49d82ffc0a36a2c41290f5421
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.
OFDPA Drivers
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
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
rocks
.
ssh -p 31101 onos@K8S_NODE_IP devices
NOTE: It may take a few seconds for the switches to initialize and connect to ONOS