Ubuntu12.04Nox installation
Last Update:2014-05-15
Source: Internet
Author: User
Ubuntu1204Nox installation 1 install [plain] SetupNoxrepofor & amp; lsquo; nox-dependencies & amp; rsquo; package $ cdetcaptsourceslistd $ wgethttp: openflowswitchorgd Ubuntu 12.04 Nox installation 1. install [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 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. connection result [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 is visible on the server. the switch is connected to Nox, except for displaying the connection status, you can load components to display additional information. 3. load the switch component [plain]. /nox_core-v-I ptcp: 6633 switch display content [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 | ope Nflow-datapath | DBG: sending ofp_set_config 00069 | openflow-datapath | DBG: sent 8 remaining 0 20 00070 | openflow-datapath | DBG: sent 20 remaining 0 some hello packages, maintain the connectivity between the vSwitch and Nox. All components that can be loaded are in coreapps and netapps of/home/spch2008/nox/build/src. Nox-classic install [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/spch20 08/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 contains many components, while Nox only has switch, openflow. /Boot. sh may contain errors. Solution:/home/spch2008/nox-classic/src # Make. change the 56 rows of vars to pkgdata_SCRIPTS =$ (NOX_RUNTIMEFILES) $ (NOX_PYBUILDFILES)