codeblock

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.

- To add a more complex rule to an ovs, please see ofproto_v1_3_parser.py and find OPFMatch class to see more attributes which could be specified.
- Also see the spec of Openflow 1.3 https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.3.0.pdf, and IEEE 802 number webpage http://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml to know how to install a flow entry specified for ARP packet or TCP pakcet.
- For example, to install a flow rule specified for ARP packet, assigning ether_type=0x0806 is required.

沒有留言:

張貼留言