Re: [ovs-dev] [PATCH] netlink-socket: Do not assign netlink sequence number if it was already assigned when sending a message.

2012-07-05 Thread Atzm Watanabe
At Wed, 4 Jul 2012 23:01:40 -0700, Ben Pfaff wrote: > > On Thu, Jul 05, 2012 at 12:59:15PM +0900, Atzm Watanabe wrote: > > Overwriting sequence number breaks replies (e.g. to brcompat). > > > > Signed-off-by: Atzm Watanabe > > Thanks for the patch. I don't really like how it treats zero as a

[ovs-dev] [PATCH] meta-flow: Remove mf_set_subfield and mf_set_subfield

2012-07-05 Thread Simon Horman
These functions do not appear to be used any more. Signed-off-by: Simon Horman --- lib/meta-flow.c | 82 + lib/meta-flow.h | 4 --- 2 files changed, 1 insertion(+), 85 deletions(-) diff --git a/lib/meta-flow.c b/lib/meta-flow.c index 8e7d

[ovs-dev] [RFC 0/6 v2] OXM VLAN VID and VLAN PCP

2012-07-05 Thread Simon Horman
Hi, the purpose of this series is to: * Add encoding of the OXM VLAN VID and VLAN PCP matches and; * Correct the decoding of OXM VLAN VID and VLAN PCP matches without breaking ovs-ofctl add-flows, which uses some of the same code paths. It is more or less a complete re-write of the first att

[ovs-dev] [PATCH 2/6] OXM: Allow VLAN VID to include CFI bit

2012-07-05 Thread Simon Horman
OXM VLAN VID matches may include the CFI bit. It seems harmless enough to allow them for the other use of this code. The other use is ovs-ofctl add-flow ... dl_vlan Signed-off-by: Simon Horman --- lib/meta-flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/meta-f

[ovs-dev] [PATCH 4/6] OXM: Add special case for VLAN VID == OFPVID12_NONE

2012-07-05 Thread Simon Horman
OpenFlow 1.2 specifies that a VLAN VID value of OFPVID12_NONE and no mask should match only packets without a VLAN tag. This is the same behaviour provided when calling mf_set_value for VLAN VID with a value of OFP10_VLAN_NONE. Signed-off-by: Simon Horman --- lib/nx-match.c | 27

[ovs-dev] [PATCH 3/6] OXM: Add encoding of encode VLAN VID and VLAN PCP

2012-07-05 Thread Simon Horman
Signed-off-by: Simon Horman --- lib/nx-match.c | 22 ++ tests/ovs-ofctl.at | 12 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/lib/nx-match.c b/lib/nx-match.c index 3e3b4c6..e2fc76c 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -510,10

[ovs-dev] [PATCH 1/6] openflow: Rename OFP_VLAN_NONE as OFP10_VLAN_NONE

2012-07-05 Thread Simon Horman
* Remove duplicate definition of OFP_VLAN_NONE * Rename OFP_VLAN_NONE as OFP10_VLAN_NONE as it appears to be only used by OpenFlow 1.0. As suggested by Ben Pfaff. Signed-off-by: Simon Horman --- include/openflow/openflow-1.0.h | 7 +-- lib/classifier.c| 2 +- lib/flow.c

[ovs-dev] [PATCH 5/6] OXM: Add VLAN VID as a prerequsite for VLAN PCP

2012-07-05 Thread Simon Horman
Signed-off-by: Simon Horman --- lib/meta-flow.c| 4 +++- lib/meta-flow.h| 1 + tests/ovs-ofctl.at | 4 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/meta-flow.c b/lib/meta-flow.c index b7f6fcc..b52db4d 100644 --- a/lib/meta-flow.c +++ b/lib/meta-flow.c @@ -170,7 +

[ovs-dev] [PATCH 6/6] OXM: Allow VLAN VID match to be masked

2012-07-05 Thread Simon Horman
Signed-off-by: Simon Horman --- lib/classifier.c | 14 -- lib/classifier.h | 1 + lib/meta-flow.c| 7 +-- tests/ovs-ofctl.at | 16 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/lib/classifier.c b/lib/classifier.c index 6e8f4d2..8bff7a4

Re: [ovs-dev] [PATCH 1/6] openflow: Rename OFP_VLAN_NONE as OFP10_VLAN_NONE

2012-07-05 Thread Simon Horman
On Thu, Jul 05, 2012 at 05:27:27PM +0900, Simon Horman wrote: > * Remove duplicate definition of OFP_VLAN_NONE > * Rename OFP_VLAN_NONE as OFP10_VLAN_NONE as it appears to be > only used by OpenFlow 1.0. > > As suggested by Ben Pfaff. > > Signed-off-by: Simon Horman > --- > include/openflow/o

Re: [ovs-dev] [PATCH 1/6] openflow: Rename OFP_VLAN_NONE as OFP10_VLAN_NONE

2012-07-05 Thread Simon Horman
* Remove duplicate definition of OFP_VLAN_NONE * Rename OFP_VLAN_NONE as OFP10_VLAN_NONE as it appears to be only used by OpenFlow 1.0. As suggested by Ben Pfaff. Signed-off-by: Simon Horman --- include/openflow/openflow-1.0.h | 7 +-- lib/classifier.c| 2 +- lib/flow.c

Re: [ovs-dev] asking the example to use openflow protocol to limit the flow rate in openvswitch

2012-07-05 Thread trinh tri
Dear Mr Justin! 1 more question.  I would like to take the traffic statistic  which is classified by vlan. I would like to ask whether netflow can export that kind of information?    Thank you  Trinh Minh Tri - PhD Student, Department of Electrical E

Re: [ovs-dev] MPLS and VLAN QinQ patch

2012-07-05 Thread ravi kerur
I understand code review is time consuming and please note it's a bit time consuming to me as well as I have to retest/rebase everytime and I am not sure whether the amount of time I am spending on this is justifiable? MPLS actions are implemented as per section 4.8 in OF 1.1 specification, excerp

Re: [ovs-dev] asking the example to use openflow protocol to limit the flow rate in openvswitch

2012-07-05 Thread trinh tri
Dear Mr Justin! One more small question:  When I export the netflow traffic to my ubuntu computer and using flow-capture to capture it. I saw the result is like this: srcIP            dstIP            prot  srcPort  dstPort  octets      packets 10.0.0.1         10.0.0.2         17    23335    123

Re: [ovs-dev] trying to use brcompat with the latest 3.4 kernel

2012-07-05 Thread Ben Pfaff
This bug should now be fixed on branch-1.7 and master. On Mon, Jun 25, 2012 at 08:08:25AM +0200, André Ruß wrote: > Hi Justin, > > I am using the datapath and brcompat module that ships with the 1.7.90. It is > running on a Debian. So the module-assistant datapath-source option was used. > In t

Re: [ovs-dev] [PATCH] netlink-socket: Do not assign netlink sequence number if it was already assigned when sending a message.

2012-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2012 at 04:55:52PM +0900, Atzm Watanabe wrote: > > At Wed, 4 Jul 2012 23:01:40 -0700, > Ben Pfaff wrote: > > > > On Thu, Jul 05, 2012 at 12:59:15PM +0900, Atzm Watanabe wrote: > > > Overwriting sequence number breaks replies (e.g. to brcompat). > > > > > > Signed-off-by: Atzm Wat

Re: [ovs-dev] [PATCH 1/6] openflow: Rename OFP_VLAN_NONE as OFP10_VLAN_NONE

2012-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2012 at 05:41:10PM +0900, Simon Horman wrote: > * Remove duplicate definition of OFP_VLAN_NONE > * Rename OFP_VLAN_NONE as OFP10_VLAN_NONE as it appears to be > only used by OpenFlow 1.0. > > As suggested by Ben Pfaff. > > Signed-off-by: Simon Horman > > --- Applied, thank yo

[ovs-dev] [PATCH] nx-match: Drop NXM_MAX_LEN.

2012-07-05 Thread Ben Pfaff
It isn't used anymore and keeping it up-to-date is error-prone. Signed-off-by: Ben Pfaff --- lib/nx-match.h | 40 1 files changed, 0 insertions(+), 40 deletions(-) diff --git a/lib/nx-match.h b/lib/nx-match.h index 6248b2a..161733f 100644 --- a/lib/nx-

[ovs-dev] [PATCH] ofp-util: Add comment to ofputil_postappend_stats_reply().

2012-07-05 Thread Ben Pfaff
It seemed like it could use one. Signed-off-by: Ben Pfaff --- lib/ofp-util.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/lib/ofp-util.c b/lib/ofp-util.c index d9a77f1..99f92a8 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -3392,6 +3392,16 @@ ofputil_a

Re: [ovs-dev] [PATCH] nx-match: Drop NXM_MAX_LEN.

2012-07-05 Thread Ethan Jackson
Glad to see it go, thanks. Ethan On Thu, Jul 5, 2012 at 11:11 AM, Ben Pfaff wrote: > It isn't used anymore and keeping it up-to-date is error-prone. > > Signed-off-by: Ben Pfaff > --- > lib/nx-match.h | 40 > 1 files changed, 0 insertions(+), 40 delet

Re: [ovs-dev] [PATCH] nx-match: Drop NXM_MAX_LEN.

2012-07-05 Thread Ben Pfaff
Thank you. I pushed this to master. On Thu, Jul 05, 2012 at 12:45:42PM -0700, Ethan Jackson wrote: > Glad to see it go, thanks. > > Ethan > > On Thu, Jul 5, 2012 at 11:11 AM, Ben Pfaff wrote: > > It isn't used anymore and keeping it up-to-date is error-prone. > > > > Signed-off-by: Ben Pfaff

Re: [ovs-dev] [PATCH] ofp-util: Add comment to ofputil_postappend_stats_reply().

2012-07-05 Thread Ethan Jackson
Looks good, thanks. On Thu, Jul 5, 2012 at 11:12 AM, Ben Pfaff wrote: > It seemed like it could use one. > > Signed-off-by: Ben Pfaff > --- > lib/ofp-util.c | 10 ++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > diff --git a/lib/ofp-util.c b/lib/ofp-util.c > index d9a77f1..9

[ovs-dev] [PATCH] ovs-check-dead-ifs: Tolerate processes that disappear during run.

2012-07-05 Thread Ben Pfaff
os.listdir("/proc/%d/fd" % pid) throws OSError if 'pid' died since the list of pids was obtained. Bug #12375. Reported-by: Amey Bhide Signed-off-by: Ben Pfaff --- AUTHORS |1 + utilities/ovs-check-dead-ifs.in |7 ++- 2 files changed, 7 insertions(+), 1 deleti

Re: [ovs-dev] [PATCH] ovs-check-dead-ifs: Tolerate processes that disappear during run.

2012-07-05 Thread Ethan Jackson
Looks good to me, thanks. Ethan On Thu, Jul 5, 2012 at 12:58 PM, Ben Pfaff wrote: > os.listdir("/proc/%d/fd" % pid) throws OSError if 'pid' died since the > list of pids was obtained. > > Bug #12375. > Reported-by: Amey Bhide > Signed-off-by: Ben Pfaff > --- > AUTHORS

Re: [ovs-dev] [PATCH] ofp-util: Add comment to ofputil_postappend_stats_reply().

2012-07-05 Thread Ben Pfaff
Thank you. I pushed this to master. On Thu, Jul 05, 2012 at 12:58:03PM -0700, Ethan Jackson wrote: > Looks good, thanks. > > On Thu, Jul 5, 2012 at 11:12 AM, Ben Pfaff wrote: > > It seemed like it could use one. > > > > Signed-off-by: Ben Pfaff > > --- > > lib/ofp-util.c | 10 ++ > >

Re: [ovs-dev] [PATCH] ovs-check-dead-ifs: Tolerate processes that disappear during run.

2012-07-05 Thread Ben Pfaff
Thanks, I pushed this to master and branch-1.7. On Thu, Jul 05, 2012 at 12:59:56PM -0700, Ethan Jackson wrote: > Looks good to me, thanks. > > Ethan > > On Thu, Jul 5, 2012 at 12:58 PM, Ben Pfaff wrote: > > os.listdir("/proc/%d/fd" % pid) throws OSError if 'pid' died since the > > list of pids

Re: [ovs-dev] [PATCH] ofproto: Always include ofproto name in log messages.

2012-07-05 Thread Justin Pettit
Looks good. --Justin On Jun 26, 2012, at 12:41 PM, Ben Pfaff wrote: > Otherwise the log messages can be confusing when there's more than one > bridge. > > Reported-by: Jacob Cherkas > Signed-off-by: Ben Pfaff > --- > ofproto/ofproto.c | 62 +-

[ovs-dev] Filtering traffic on egress

2012-07-05 Thread Anand Daga
We have two Dell servers with multiple network interfaces and running XenServer. We have one interface eth0 going to a physical switch and interface eth2 cross cabled with the other system's eth2. We want to direct some specific traffic {src-ip, src-port} from all VMs to use eth2. How do we configu

Re: [ovs-dev] [PATCH 2/2] bond: Sending learning packets on active-backup.

2012-07-05 Thread Ethan Jackson
How about this? bond: Sending learning packets on active-backup. Suppose we have an active bond with two ports, eth1 and eth2, attached to a standard L2 learning switch which does not know it's participating in a bond (i.e. isn't running LACP). Suppose eth1 is active and ther

Re: [ovs-dev] [PATCH 2/2] bond: Sending learning packets on active-backup.

2012-07-05 Thread Ben Pfaff
Beautiful. On Thu, Jul 05, 2012 at 02:30:55PM -0700, Ethan Jackson wrote: > How about this? > > bond: Sending learning packets on active-backup. > > Suppose we have an active bond with two ports, eth1 and eth2, > attached to a standard L2 learning switch which does not know it's >

Re: [ovs-dev] [PATCH 2/2] bond: Sending learning packets on active-backup.

2012-07-05 Thread Ethan Jackson
Thanks, I merged this. Ethan On Thu, Jul 5, 2012 at 2:54 PM, Ben Pfaff wrote: > Beautiful. > > On Thu, Jul 05, 2012 at 02:30:55PM -0700, Ethan Jackson wrote: >> How about this? >> >> bond: Sending learning packets on active-backup. >> >> Suppose we have an active bond with two ports, eth

Re: [ovs-dev] [PATCH] ovs-vswitchd: Log datapath ID in a more user-friendly way.

2012-07-05 Thread Justin Pettit
Looks good to me. --Justin On Jun 26, 2012, at 2:43 PM, Ben Pfaff wrote: > The layering between ofproto and ovs-vswitchd caused the datapath ID to be > logged in a needlessly confusing way. First, ofproto would log its > default datapath ID: > > using datapath ID 50540004 > > the

Re: [ovs-dev] [PATCH] ovs-vswitchd: Log datapath ID in a more user-friendly way.

2012-07-05 Thread Ben Pfaff
Thanks, I'll push this soon. On Thu, Jul 05, 2012 at 03:20:28PM -0700, Justin Pettit wrote: > Looks good to me. > > --Justin > > > On Jun 26, 2012, at 2:43 PM, Ben Pfaff wrote: > > > The layering between ofproto and ovs-vswitchd caused the datapath ID to be > > logged in a needlessly confusing

Re: [ovs-dev] [PATCH] ofproto: Always include ofproto name in log messages.

2012-07-05 Thread Ben Pfaff
Thanks, I'll push this soon. On Thu, Jul 05, 2012 at 01:36:21PM -0700, Justin Pettit wrote: > Looks good. > > --Justin > > > On Jun 26, 2012, at 12:41 PM, Ben Pfaff wrote: > > > Otherwise the log messages can be confusing when there's more than one > > bridge. > > > > Reported-by: Jacob Cherk

[ovs-dev] [PATCH] ovs-lib: Support old versions of strace.

2012-07-05 Thread Ethan Jackson
The ovs-lib strace wrapper requires the -D (run tracer process as a detached grandchild, not as parent) option which does not exist in older versions. This patch falls back to attaching to the running process when the -D option does not exists. Signed-off-by: Ethan Jackson --- utilities/ovs-lib

Re: [ovs-dev] [PATCH] ovs-lib: Support old versions of strace.

2012-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2012 at 03:38:37PM -0700, Ethan Jackson wrote: > The ovs-lib strace wrapper requires the -D (run tracer process as a > detached grandchild, not as parent) option which does not exist in > older versions. This patch falls back to attaching to the running > process when the -D option

Re: [ovs-dev] [flow monitor 01/11] ofproto: Fix typos in comments.

2012-07-05 Thread Justin Pettit
Looks good. --Justin On Jun 29, 2012, at 10:40 PM, Ben Pfaff wrote: > This corrects the spelling of the OFOPERATION_* constants. > > Signed-off-by: Ben Pfaff > --- > ofproto/ofproto.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/ofproto/ofproto.c b/ofprot

Re: [ovs-dev] [flow monitor 02/11] ovs-ofctl: Fix typos in manpage.

2012-07-05 Thread Justin Pettit
Looks good. --Justin On Jun 29, 2012, at 10:40 PM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > utilities/ovs-ofctl.8.in |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in > index 9c4ea0c..3ca217b 100644

Re: [ovs-dev] [flow monitor 03/11] nicira-ext: Fix wrong information in comment.

2012-07-05 Thread Justin Pettit
Looks good. --Justin On Jun 29, 2012, at 10:40 PM, Ben Pfaff wrote: > The priority of exact-match flows is ignored only for the OF1.0 flow match > format, never for NXM. > > Signed-off-by: Ben Pfaff > --- > include/openflow/nicira-ext.h |3 +-- > 1 files changed, 1 insertions(+), 2 deletio

Re: [ovs-dev] [flow monitor 01/11] ofproto: Fix typos in comments.

2012-07-05 Thread Ben Pfaff
Thanks. By the way, I'm going to send out a new version of patches 10 and 11, possibly today, so don't bother reviewing those yet. Patch 8 already got committed earlier today (there was another series that depended on it), so you can skip that one too. The rest of the series won't really change.

Re: [ovs-dev] [PATCH] ovs-lib: Support old versions of strace.

2012-07-05 Thread Ethan Jackson
> I'm worried about word-splitting on $logdir/$daemon.strace.log > (e.g. if $logdir happens to contain a space). I think it would be > better to write -o "$logdir/$daemon.strace.log" in the "set" and > "strace" commands, just to be sure. Could I just escape the quotes? i.e: strace="strace -tt -T

Re: [ovs-dev] [PATCH] ovs-lib: Support old versions of strace.

2012-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2012 at 04:03:38PM -0700, Ethan Jackson wrote: > > I'm worried about word-splitting on $logdir/$daemon.strace.log > > (e.g. if $logdir happens to contain a space). I think it would be > > better to write -o "$logdir/$daemon.strace.log" in the "set" and > > "strace" commands, just t

Re: [ovs-dev] asking the example to use openflow protocol to limit the flow rate in openvswitch

2012-07-05 Thread Luiz Ozaki
On 7/5/12 12:26 PM, trinh tri wrote: But in fact in my openvswitch, there are 3 physical ports. I would like to ask how can I realize which physical port that the above flows belong to Try using sflow, I think it exports the port information. More info: http://blog.sflow.com/2011/10/compari

[ovs-dev] Su ayuda es indispensable para el Hogar Materno Infantil 3

2012-07-05 Thread sol naciente 0
Gracias a la desinteresada ayuda de personas como Ud, hemos podido frenar el desalojo del Hogar para niños de la Asociación Civil Sol Naciente, donde viven 60 mamas con sus niños en situacion de calle (algunas con distintas discapacidades), la mayoría con algun grado de de desnutricion y en aband

Re: [ovs-dev] asking the example to use openflow protocol to limit the flow rate in openvswitch

2012-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2012 at 08:10:29PM -0300, Luiz Ozaki wrote: > On 7/5/12 12:26 PM, trinh tri wrote: > > > >But in fact in my openvswitch, there are 3 physical ports. I would > >like to ask how can I realize which physical port that the above > >flows belong to > Try using sflow, I think it exports t

Re: [ovs-dev] [flow monitor 04/11] ofproto: Make ofoperation_create() return the new operation.

2012-07-05 Thread Justin Pettit
Looks good. --Justin On Jun 29, 2012, at 10:40 PM, Ben Pfaff wrote: > This seems like sensible return value semantics to me, even though the new > operation is also available through rule->pending. > > This is a code cleanup only that should not affect behavior. > > Signed-off-by: Ben Pfaff

[ovs-dev] [PATCH] ovs-lib: Support old versions of strace.

2012-07-05 Thread Ethan Jackson
The ovs-lib strace wrapper requires the -D (run tracer process as a detached grandchild, not as parent) option which does not exist in older versions. This patch falls back to attaching to the running process when the -D option does not exists. Signed-off-by: Ethan Jackson --- Here's another ve

Re: [ovs-dev] [PATCH] ovs-lib: Support old versions of strace.

2012-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2012 at 04:53:31PM -0700, Ethan Jackson wrote: > The ovs-lib strace wrapper requires the -D (run tracer process as a > detached grandchild, not as parent) option which does not exist in > older versions. This patch falls back to attaching to the running > process when the -D option

Re: [ovs-dev] asking the example to use openflow protocol to limit the flow rate in openvswitch

2012-07-05 Thread trinh tri
Dear Mr  Luiz Ozaki and Mr Ben Pfaff! Thank you vey much for you reply. I used flow-capture to capture flow information. And the configure is like this: /usr/bin/flow-capture -z0 -V5 -n 288 -N 0 -S1 -w /var/netflow/flows -E2G 0/0/ -R /usr/bin/flow-exporter  and the results: flow-print < ft-v

Re: [ovs-dev] MPLS and VLAN QinQ patch

2012-07-05 Thread Jesse Gross
On Thu, Jul 5, 2012 at 7:48 AM, ravi kerur wrote: > I understand code review is time consuming and please note it's a bit time > consuming to me as well as I have to retest/rebase everytime and I am not > sure whether the amount of time I am spending on this is justifiable? Reviewing this code is

Re: [ovs-dev] MPLS and VLAN QinQ patch

2012-07-05 Thread ravi kerur
On Thu, Jul 5, 2012 at 7:37 PM, Jesse Gross wrote: > On Thu, Jul 5, 2012 at 7:48 AM, ravi kerur wrote: > > I understand code review is time consuming and please note it's a bit > time > > consuming to me as well as I have to retest/rebase everytime and I am not > > sure whether the amount of tim

[ovs-dev] [of1.1 v5 0/5] Finally ready for review...

2012-07-05 Thread Ben Pfaff
Patches 1 through 4 are ready for final review. I haven't really looked over patch 5. It's included only because it was in the previous versions. As before, this is available at git://benpfaff.org/openvswitch in the of1.1 branch. Thanks, Ben. Ben Pfaff (5): ofp-msgs: New approach to encodin

[ovs-dev] [of1.1 v5 2/5] nicira-ext: Drop nx_aggregate_stats_reply structure.

2012-07-05 Thread Ben Pfaff
It now duplicates ofp_aggregate_stats_reply except for alignment issues, so we might as well unify the code. Signed-off-by: Ben Pfaff --- include/openflow/nicira-ext.h | 15 +++ lib/ofp-msgs.h|2 +- lib/ofp-util.c| 57 +++---

[ovs-dev] [of1.1 v5 3/5] openflow: Rename OpenFlow 1.0 statistics messages with "10" infix.

2012-07-05 Thread Ben Pfaff
Reviewed-by: Simon Horman Signed-off-by: Ben Pfaff --- include/openflow/openflow-1.0.h| 57 +++- include/openflow/openflow-common.h | 23 ++ lib/ofp-msgs.c | 10 +++--- lib/ofp-msgs.h | 14 l

[ovs-dev] [of1.1 v5 4/5] openflow: Separate OF1.0, OF1.1 flow_mod constants and types.

2012-07-05 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- v3->v4: Builds, passes unit tests. --- include/openflow/nicira-ext.h |2 +- include/openflow/openflow-1.0.h| 19 --- include/openflow/openflow-common.h | 14 ++ lib/ofp-msgs.h |2 +- lib/ofp-print.c

[ovs-dev] [of1.1 v5 5/5] ofp-util: Work on decoding OF1.1 flow_mods.

2012-07-05 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- v3->v4: Builds and passes unit tests. Somewhat incomplete, I think. --- include/openflow/openflow-1.1.h| 17 ++-- include/openflow/openflow-common.h | 10 ++ lib/ofp-errors.h |3 + lib/ofp-util.c | 181 ++