Fabric Software Setup

CORD 使用 Trellis fabric 來和 data plane components 互相溝通。 這個 section 是描述如何為這些 switch setup 。

最新的 Trellis Fabric 文件可以在 CORD wiki 上查看。

Supported Switches

可以支援的硬體請參考 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:

Connect the Fabric Switches to ONOS

將 Fabric Switches 連結到 ONOS 如果 switches 還沒有連接,那就 ssh 到每台 switch 中在 /etc/ofagent/ofagent.conf 設定,uncommenting 並編輯如下:

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

results matching ""

    No results matching ""