On Oct 23, 2013, at 9:55 AM, Ben Pfaff <b...@nicira.com> wrote: > On Tue, Oct 22, 2013 at 05:20:41PM -0700, Jarno Rajahalme wrote: >> OpenFlow 1.1+ specs encourage switches to verify action consistency >> at flow setup time. Implement this for OpenFlow 1.1+ only to not >> break any current OF 1.0 based use. >> >> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com> > > I'm a little concerned about enforcing consistency in Write-Actions. I > don't think we can do it in such a strict manner, anyway. As written, I > believe that this will reject, for example, a Write-Actions to push a > VLAN if there is one already, even if a later Apply-Actions might strip > the VLAN. I doubt that's desirable or the intent of the standard.
I did not come to think of this.. It seems Write-Actions are like Group bucket actions in this regard, they do not apply in the context of a specific flow match only, but at a later stage, so there is not enough context at flow setup time to enforce consistency. Would you think that just not enforcing consistency for Write-Actions at all is the proper way to handle this? Jarno _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev