OVS and SDN-Controller

"There has always been a confusion on which controller to start with for newcomers in the OpenFlow ecosystem. Should one prefer the classic NOX? Or go with a more modern choice like Beacon or its successor Floodlight? What about RyuTrema, and a dozen of other controllers in the wild? Ohh!"

--On the OpenFlow Controllers 


List of OpenFlow Software Projects

http://yuba.stanford.edu/~casado/of-sw.html


OVS and SDN-Controller_第1张图片


ovsdb-client monitor Interface name,ofport

row                                  action  name             ofport
------------------------------------ ------- ---------------- ------
37958cfe-3e04-48e4-8e5b-82d2458576dd initial br-int           65534
715336ce-b3e5-466e-9a88-92bb6dd3089a initial "qr-c9ff9c22-5d" 2
5eec10ac-4d1a-4c4b-a1fe-3945b247383f initial br-ex            65534
46219d03-fc5a-4f9b-a81f-159e83834545 initial patch-int        1
7f88f5bd-ba83-4815-959c-2fab635878e4 initial patch-tun        1
4cb1d1b6-ee60-4129-840a-95c715a7c843 initial br-tun           65534
304d6d6f-3546-455e-ad1b-87e1e117dcca initial "qg-e535397c-a3" 1



ovs-ofctl dump-flows br-tun
ovs-ofctl show br-tun | grep -v -E "REPLY|n_tables|capabilities:|actions:|config:|state:"
ovs-ofctl add-flow br-tun table=4,n_packets=0,n_bytes=0,idle_age=1297,priority=1,action=resubmit\(,10\)
ovs-ofctl add-flow br-tun table=22,n_packets=0,n_bytes=0,idle_age=1297,actions=output:2


OVS and SDN-Controller_第2张图片


OVS and SDN-Controller_第3张图片

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@


OVS and SDN-Controller_第4张图片



OVS and SDN-Controller_第5张图片


OVS and SDN-Controller_第6张图片

 

Make ovsdb-server listen 6632 port

ovs-appctl -t ovsdb-server ovsdb-server/add-remote ptcp:6632

ovsdb-client dump tcp:10.0.0.1111:6640

重启10.0.0.111openvswitch后端口自动去掉。

http://fredhsu.wordpress.com/2013/10/15/ovsdb-client-in-python/

 

 

 

 

NVGRE.vs.VXLAN

1.GRE在原有的设备上支持比较成熟,

2. VxLAN相对NVGRE的优点子啊与添加的UDP包头,包含了原始二层帧头的哈希结果,

这个可以用在多跳路径上的负载均衡。

NVGRE采用了GRE包头,在实现负载均衡上有些困难。



OVS and SDN-Controller_第7张图片

 


 

你可能感兴趣的:(OpenStack)