Getting ready
This recipe requires an OpenFlow switch. If you don't have any, you can use a Mininet-VM with OvS installed.
You can download Mininet-VM from their website:
https://github.com/mininet/mininet/wiki/Mininet-VM-Images
OvS users:
You must use a version of OvS superior or equal to 2.1 so it can handle group tables. If you previously downloaded a Mininet-VM, you could create a new VM using its disk, and then update the OvS version within Mininet. Perform the update within mininet; you'll have to run the following commands:
$ cd /home/mininet/mininet/util
$ ./install.sh -V 2.3.1
This script will try updating your packages, but this operation can fail. If it does, run the command yourself then re-execute the script:
$ sudo apt-get update --fix-missing
Then rerun the install script. After a couple of minutes, the new version of OvS should be installed:
mininet@mininet-vm:~$ sudo ovs-vsctl show 1077578e-f495-46a1-a96b-441223e7cc22 ovs_version: "2.3.1"
You must use a version of OvS superior or equal to 2.1 so it can handle group tables. If you previously downloaded a Mininet-VM, you could create a new VM using its disk, and then update the OvS version within Mininet. Perform the update within mininet; you'll have to run the following commands:
$ cd /home/mininet/mininet/util
$ ./install.sh -V 2.3.1
This script will try updating your packages, but this operation can fail. If it does, run the command yourself then re-execute the script:
$ sudo apt-get update --fix-missing
Then rerun the install script. After a couple of minutes, the new version of OvS should be installed:
mininet@mininet-vm:~$ sudo ovs-vsctl show 1077578e-f495-46a1-a96b-441223e7cc22 ovs_version: "2.3.1"
This recipe will be presented using a Mininet-VM with OvS 2.3.1.
In order to use LACP, you have to ensure that legacy (non-OpenFlow) switches are configured with the LACP mode active with a long timeout to allow the LACP plugin to respond to its messages.
The sample code for this recipe is available at:
https://github.com/jgoodyear/OpenDaylightCookbook/tree/master/chapter1/chapter1-recipe5
推薦閱讀
- UI設(shè)計(jì)基礎(chǔ)培訓(xùn)教程
- Learning Microsoft Windows Server 2012 Dynamic Access Control
- Bootstrap Site Blueprints Volume II
- 深度學(xué)習(xí)經(jīng)典案例解析:基于MATLAB
- MySQL 8從入門到精通(視頻教學(xué)版)
- HTML5 移動(dòng)Web開發(fā)從入門到精通(微課精編版)
- JavaScript Unlocked
- 程序員數(shù)學(xué):用Python學(xué)透線性代數(shù)和微積分
- Python程序設(shè)計(jì)案例教程
- Visual Basic程序設(shè)計(jì)習(xí)題解答與上機(jī)指導(dǎo)
- 零基礎(chǔ)學(xué)單片機(jī)C語言程序設(shè)計(jì)
- UML 基礎(chǔ)與 Rose 建模案例(第3版)
- Java程序設(shè)計(jì)入門
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)項(xiàng)目化教程
- Building Dynamics CRM 2015 Dashboards with Power BI