On Mon, 23 Jun 2014 19:31:09 +0300
Eugene Nuribekov <[email protected]> wrote:
> Hi all!
>
> I'd like to add several additional match fields to protocol v1.3.
>
> How to do it in right way?
> In general I see that I need:
>
> Add EXPERIMENTER_ID in ofproto_common.py
> Make copy of ofproto_v1_3.py and add my fields to oxm_types[]
> Make copy of ofproto_v1_3_parser.py and:
You meant that modifying ofproto_v1_3.py to add your fields, right?
> Add classes inherited from OFPMatchField with register_field_header
> decorator
> Add fields in Flow and FlowWildcards
> Add set_xxx to OFPMatch
> Add "if (OFPXMT_xxx) - append_field(OXM_OF_xxx)" case to
> parser_old()
Probably, you don't need field, set_xxx, or append_field stuff for the
old API. check out ofproto_v1_4_parser.py which doesn't support the
old API. So you can know the minimum change.
> Import ofproto_xxx as ofproto
> In ofproto_protocol.py add modified files to versions{}
Hmm, sounds like you are trying to create a new version of OF instead
of adding some to v1.3.
> Is this the right approach?
>
> And is it enough or I missed something?
>
> --
> Regards,
> Eugene Nuribekov.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel