[ovs-discuss] openflow 1.3 flow mod with experimenter match
davidjoshuaevans at gmail.com
Thu May 21 14:44:57 UTC 2015
On 5/20/15, 6:43 PM, "Ben Pfaff" <blp at nicira.com> wrote:
>On Tue, May 19, 2015 at 01:57:57PM -0500, David Evans wrote:
>> I©öd like to implement a custom match on my custom ether_type, custom
>> 2.5 value (not VLAN/MPLS etc.)
>> I understand that I need to modify at least:
>> * match.c with match_set* functions and add to the flow©ö struct my
>> * Meta-flow.c with all the behaviors I need to MFF_FOOMATCH_TYPE
>> for my functions in match.c
>> * OXM_CLASSES needs a vendor to match my controller in the
>> extract-ofp-fields py script for translation functions
>> * in ofp-util.c I need a handler for OFPTFPT13_EXPERIMENTER, but what
>> I have no idea other than it should look something like parse_oxms.
>> How do I connect up to openflow messaging to implement flow mod with an
>> experimenter match ?
>Just follow the example set by another commit that adds support for a
>new experimenter match. The most recent example is commit ac6073e3cda
>(ofproto: Add NXM_NX_TUN_GBP_ID and NXM_NX_TUN_GBP_FLAGS).
More information about the discuss