codeblock

2016年6月16日 星期四

2016年6月1日 星期三

Add flow entries to OVS

- There are sample codes in Ryu teaching us how to install a flow entries into an ovs. However, the samples are very simple that they only show the matching rules limiting input port and destination MAC address.

2016年5月9日 星期一

2016年5月6日 星期五

Ryu Controller - Traffic Monitor (Cont.)

- Try to block a flow if the traffic of that flow is abnormally large!
- A traffic monitor request switches info for every 5 seconds

2016年5月3日 星期二

Ryu Controller - Traffic Monitor

- Traffic monitor provides a periodically triggered inspector to obtain the flow/port status of each switches.
- A simple sample code is available here: https://github.com/osrg/ryu-book/blob/master/en/source/sources/simple_monitor.py 
- Note that it should be executed in Openflow 1.3

2016年4月19日 星期二

Ryu controller - deal with openflow packets notes

- Controller receives a  packet from a switch if the switch failed to look up it's flow table
- Get incoming packet message, src mac/ip, dst mac/ip, ofproto, ... whatever you want
- Learn a switch-port-mac_address entry