http://blog.disects.com/2014/01/installing-cpqd-switch-on-mininet-using.html 里讲的
安装ofsoftswitch13需要先把mininet中的openvswitch(mininet自带)卸载掉
建立ofsoftswitch13交换机的拓扑网络 要指定switch为user
To get the dpid of CPqD switch
sudo dpctl tcp:127.0.0.1:6634 features
To get the stats and flow rule for CPqD switch:
dpctl tcp:127.0.0.1:6634 stats-flow
查看meter表
sudo dpctl unix:/tmp/s1 meter-conf
安装ofsoftswitch13需要先把mininet中的openvswitch(mininet自带)卸载掉
在ubuntu14.04下ofsoftswitch13安装参考 http://tocai.dia.uniroma3.it/compunet-wiki/index.php/Installing_and_setting_up_OpenFlow_tools
sudo mn --topo single,3 --mac --switch user --controller remote -x建立ofsoftswitch13交换机的拓扑网络 要指定switch为user
To get the dpid of CPqD switch
sudo dpctl tcp:127.0.0.1:6634 features
To get the stats and flow rule for CPqD switch:
dpctl tcp:127.0.0.1:6634 stats-flow
查看meter表
sudo dpctl unix:/tmp/s1 meter-conf
<