Ubuntu 12.04 Nox安裝

來源:互聯網
上載者:User

Ubuntu 12.04 Nox安裝 1. 安裝[plain] Setup Nox repo for ‘nox-dependencies’ package  $ cd /etc/apt/sources.list.d/  $ wget http://openflowswitch.org/downloads/debian/nox.list  $ apt-get update  $ apt-get install nox-dependencies    Install dependencies:  $ apt-get install nox-dependencies  $ apt-get install libtbb-dev  $ apt-get install libboost-serialization-dev libboost-all-dev  $ cd /home/spch2008  $ git clone git://github.com/noxrepo/nox    $ cd nox  $ ./boot.sh  $ mkdir build  $ cd build    Configure, make && make install  $ ../configure  $ make  $ make install    Verify install:  $ cd src  $ pwd  /home/spch2008/nox/build/src (Path)  $ make check    Start Nox  $ cd /home/spch2008/nox/build/src  $ ./nox_core -i ptcp:6633    OVS connect Nox  $ ovs-vsctl set-controller of-switch tcp:172.16.4.10:6633  2. 串連效果[python] /home/spch2008/nox/build/src# ./nox_core -i ptcp:6633  NOX 0.9.2~core~beta (nox_core), compiled Sep 16 2013 15:42:31  00001|connection_manager|WARN:connected: 172.16.4.10:6633<->172.16.4.4:33585  00002|connection_manager|WARN:connected: 172.16.4.10:6633<->172.16.4.4:33586  00003|connection_manager|WARN:connected: 172.16.4.10:6633<->172.16.4.4:33587  由上可見,交換器串連到Nox,除了顯示串連狀態,沒有別的資訊啦,可以載入組件,顯示額外資訊。 3.載入switch組件 [plain] ./nox_core -v  -i ptcp:6633 switch  顯示內容[plain] 00062|connection_manager|WARN:connected: 172.16.4.10:6633<->172.16.4.4:33632  00063|openflow-datapath|DBG:recv 8  00064|openflow-datapath|DBG:received ofp_hello  00065|openflow-datapath|WARN:Negotiated OpenFlow version 0x01  00066|openflow-datapath|DBG:sending ofp_hello  00067|openflow-datapath|DBG:sending ofp_features_request  00068|openflow-datapath|DBG:sending ofp_set_config  00069|openflow-datapath|DBG:sent 8 remaining 0 20  00070|openflow-datapath|DBG:sent 20 remaining 0 0  一些hello包,維持交換器與Nox的串連性。 可以載入的組件都在/home/spch2008/nox/build/src的coreapps與netapps下。  Nox-classic安裝[plain] Setup Nox repo for ‘nox-dependencies’ package  $ cd /etc/apt/sources.list.d/  $ wget http://openflowswitch.org/downloads/debian/nox.list  $ apt-get update  $ apt-get install nox-dependencies    Install dependencies:  $ apt-get install nox-dependencies  $ apt-get install libtbb-dev  $ apt-get install libboost-serialization-dev libboost-all-dev  $ cd /home/spch2008  $ git clone git://github.com/noxrepo/nox-classic    $ cd nox  $ ./boot.sh  $ mkdir build  $ cd build    Configure, make && make install  $ ../configure  $ make -j 5        Start Nox  $ cd /home/spch2008/nox/build/src  $ ./nox_core -i ptcp:6633 monitoring    OVS connect Nox  $ ovs-vsctl set-controller of-switch tcp:172.16.4.10:6633  nox-classic含有很多組件,而Nox只有switch,openflow等。 /boot.sh中可能出現錯誤,解決辦法:/home/spch2008/nox-classic/src#   的Make.vars   的56行,改為pkgdata_SCRIPTS = $(NOX_RUNTIMEFILES) $(NOX_PYBUILDFILES) 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.