[关闭]
@wuzhimang 2016-06-03T11:29:56.000000Z 字数 1860 阅读 3542

SDN benchmark -- Cbench最新安装说明

SDN Cbench


1. 为什么要写这篇“浅显”的博客

2. Cbench安装步骤

2.1 一般安装

Cbench是OFLOPS(an OpenFlow testing platform)的一个部件,以下是Cbench,也是OFLOPS的一般安装步骤(已在CentOS 7.2 和 Ubuntu 14.04下安装测试过)

  1. [root@gf01 benchmark]# ls
  2. oflops openflow
  3. [root@gf01 benchmark]# cd oflops && git submodule init && git submodule update
  4. [root@gf01 oflops]# cd netfpga-packet-generator-c-library
  5. [root@gf01 netfpga-packet-generator-c-library]# ./autogen.sh && ./configure && make
  1. [root@gf01 netfpga-packet-generator-c-library]# cd ..
  2. [root@gf01 oflops]# sh ./boot.sh && ./configure && make && make install
  3. [root@gf01 oflops]# cd cbench
  4. [root@gf01 cbench]# ./cbench -h
  5. help message
  6. ......

2.2 简易安装

为方便大家,已将自己下载并更新了的git packages上传到网盘上,下载后简单的安装步骤如下:

  1. # unzip -q cbench_201606.zip
  2. # cd netfpga-packet-generator-c-library && ./autogen.sh && ./configure && make
  3. # cd .. && sh ./boot.sh && ./configure && make && make install
  4. # cd cbench && ./cbench -h

3. 使用说明

参考 http://www.sdnlab.com/15112.html 或者本人后续的分享

4. 可能出现的问题

  1. linux下的环境不尽一样,若编译过程中出现各类缺少相应软件包的问题,即"not found",可以针对特定的包进行安装,也可以一开始就安装整个Development环境,CentOS下yum groups install Development Tools
  2. 若需要手动编译安装libconfig, 可从 http://www.hyperrealm.com/libconfig/ 下载源码包,然后编译安装
  3. 其他有关安装的疑惑和问题可参考官方文档OFLOPS:User manual的第5-6页
  4. 其他问题欢迎留言

5. 参考资料

  1. https://floodlight.atlassian.net/wiki/pages/viewpage.action?pageId=1343657
  2. http://archive.openflow.org/wk/images/3/3e/Manual.pdf
  3. http://www.sdnlab.com/15112.html
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注