On Tue, Sep 8, 2015 at 1:54 PM, Ben Pfaff <b...@nicira.com> wrote:
> On Mon, Aug 31, 2015 at 07:57:05PM -0700, Jesse Gross wrote:
>> It is supposed to be possible to allow ovs-ofctl to filter flows
>> it is monitoring based on a match string. However, the parser will
>> reject expressions that match only on a field's existence (such as
>> Geneve options). This relaxes the restriction to bring it in line
>> with matches supported by other commands.
>>
>> Signed-off-by: Jesse Gross <je...@nicira.com>
>
> Might be another possible place to use ofputil_parse_key_value().

I changed it here too (actually, I folded it into the previous patch).

> Is this ability to match on the existence of a field documented
> anywhere?  If not, it should be.

Yes, it was added to the ovs-ofctl man page when support was added:

       tun_metadataidx[=value[/mask]]
              Matches  value  either  exactly  or with optional mask in tunnel
              metadata field number idx (numbered from 0 to 63).  The  act  of
              specifying  a  field  implies  a  match on the existence of that
              field in the packet in addition to the masked value. As a short‐
              hand,  it  is  possible to specify only the field name to simply
              match on an option being present.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to