Hi Fujita-san,

I have a question about the desired JSON representation of
OF1.4 OFPMatch.

Currently the code serialises an OFPMatch as:

   "OFPMatch": {
      "oxm_fields": {
         "arp_op": 1,
         ...
      }
   }

But the parser fails, complaining that "oxm_fields" is an unknown field name.

However, I wonder if the desired format is the same as OF1.3:

   "OFPMatch": {
      "length": 329, 
      "oxm_fields": [
         {
            "OXMTlv": {
               "field": "in_port", 
               "mask": null, 
               "value": 84281096
            }
         }, 
         ...
      }
   }

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to