X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=FAQ;h=a54bbf93cf7f78510f564a858be1c22d5c81ba91;hb=e935fc32fa0d346b0205dcd4e97859c76caab3d0;hp=a08d65c23b240e68c4e288ff845547ee4d92581d;hpb=7e6410d2bf5d70f10a4db0c4008a6fa4bab704ca;p=sliver-openvswitch.git diff --git a/FAQ b/FAQ index a08d65c23..a54bbf93c 100644 --- a/FAQ +++ b/FAQ @@ -148,7 +148,7 @@ A: The following table lists the Linux kernel versions against which the 1.10.x 2.6.18 to 3.8 1.11.x 2.6.18 to 3.8 2.0.x 2.6.32 to 3.10 - 2.1.x 2.6.32 to 3.11 + 2.1.x 2.6.32 to 3.12 Open vSwitch userspace should also work with the Linux kernel module built into Linux 3.3 and later. @@ -774,6 +774,13 @@ A: With the Linux kernel, the Open vSwitch implementation of QoS has tc-htb(8), tc-hfsc(8)), web resources (e.g. http://lartc.org/), or mailing lists (e.g. http://vger.kernel.org/vger-lists.html#netdev). +Q: Does Open vSwitch support OpenFlow meters? + +A: Since version 2.0, Open vSwitch has OpenFlow protocol support for + OpenFlow meters. There is no implementation of meters in the Open + vSwitch software switch (neither the kernel-based nor userspace + switches). + VLANs ----- @@ -1403,9 +1410,9 @@ A: Yes, OpenFlow requires a switch to ignore attempts to send a packet even be convenient, e.g. it is often the desired behavior in a flow that forwards a packet to several ports ("floods" the packet). - Sometimes one really needs to send a packet out its ingress port. - In this case, output to OFPP_IN_PORT, which in ovs-ofctl syntax is - expressed as just "in_port", e.g.: + Sometimes one really needs to send a packet out its ingress port + ("hairpin"). In this case, output to OFPP_IN_PORT, which in + ovs-ofctl syntax is expressed as just "in_port", e.g.: ovs-ofctl add-flow br0 in_port=2,actions=in_port @@ -1475,6 +1482,23 @@ A: These flows drop the ARP packets that IP hosts use to establish IP priority=5,in_port=1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,actions=2 priority=5,in_port=2,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,actions=1 + +Development +----------- + +Q: How do I implement a new OpenFlow message? + +A: Add your new message to "enum ofpraw" and "enum ofptype" in + lib/ofp-msgs.h, following the existing pattern. Then recompile and + fix all of the new warnings, implementing new functionality for the + new message as needed. (If you configure with --enable-Werror, as + described in INSTALL, then it is impossible to miss any warnings.) + + If you need to add an OpenFlow vendor extension message for a + vendor that doesn't yet have any extension messages, then you will + also need to edit build-aux/extract-ofp-msgs. + + Contact -------