NS-3 OpenFlow Integration 整合问题解决

问题:NS-3 OpenFlowIntegration 
      : not enabled (Required boost libraries not found)

解决方法:
$ sudo apt-get install libboost-signals-devlibboost-filesystem-dev

===================================
附ns-3 openflow安装方法:
1.安装要求:
The OFSID(OpenFlow software implementation distribution)requires
a. libxml2 (for MPLS FIB xml file parsing),
$sudo apt-get install libxml2 libxml2-dev

b.libdl (for address fault checking),

c.and boost (for assert) libraries to be installed.
$ sudo apt-get install libboost-signals-devlibboost-filesystem-dev

2.安装
In order to use the OpenFlowSwitch module, you must create and linkthe
OFSID (OpenFlow Software Implementation Distribution) tons-3.
To do this:

#1 Obtain the OFSID code. An ns-3 specific OFSID branch is providedto ensure
operation with ns-3. Use mercurial to download this branch and wafto build
the library:::

  $ hg clonehttp://code.nsnam.org/jpelkey3/openflow
  $ cd openflow

From the "openflow" directory, run:::
       
  $ ./waf configure
  $ ./waf build

#2 Your OFSID is now built into a libopenflow.alibrary!    To
link to an ns-3 build with this OpenFlow switch module, run fromthe ns-3-dev
(or whatever you have named your distribution):::

  $ ./waf configure --enable-examples--enable-tests --with-openflow=path/to/openflow

#3 Under ``---- Summary of optional NS-3 features:`` you shouldsee:::

    "NS-3 OpenFlowIntegration        : enabled"

indicating the library has been linked to ns-3. Run:::

    $ ./waf build

to build ns-3 and activate the OpenFlowSwitch module in ns-3.

你可能感兴趣的:(Module,mercurial,download,library,branch,Parsing)