@wuzhimang
2016-06-03T11:29:56.000000Z
字数 1860
阅读 3993
SDN Cbench
Cbench是OFLOPS(an OpenFlow testing platform)的一个部件,以下是Cbench,也是OFLOPS的一般安装步骤(已在CentOS 7.2 和 Ubuntu 14.04下安装测试过)
安装相关的依赖包
yum install -y autoconf automake libtool libpcap-devel net-snmp-devel libconfig-devel
或者
apt-get install -y autoconf automake libtool libpcap-dev libsnmp-dev libconfig-dev
下载OpenFlow和OFLOPS
git clone git://gitosis.stanford.edu/openflow.git
git clone git://gitosis.stanford.edu/oflops.git
下载NetFPGA并编译
[root@gf01 benchmark]# lsoflops openflow[root@gf01 benchmark]# cd oflops && git submodule init && git submodule update[root@gf01 oflops]# cd netfpga-packet-generator-c-library[root@gf01 netfpga-packet-generator-c-library]# ./autogen.sh && ./configure && make
[root@gf01 netfpga-packet-generator-c-library]# cd ..[root@gf01 oflops]# sh ./boot.sh && ./configure && make && make install[root@gf01 oflops]# cd cbench[root@gf01 cbench]# ./cbench -hhelp message......
为方便大家,已将自己下载并更新了的git packages上传到网盘上,下载后简单的安装步骤如下:
# unzip -q cbench_201606.zip# cd netfpga-packet-generator-c-library && ./autogen.sh && ./configure && make# cd .. && sh ./boot.sh && ./configure && make && make install# cd cbench && ./cbench -h
参考 http://www.sdnlab.com/15112.html 或者本人后续的分享
yum groups install Development Tools