Hi All,

I am adding oxm match fields using rest:

curl -X POST -d '{
     "dpid": 52236564475,
     "table_id": 0,
     "priority": 0,
     "match":{
         "OFPMatch": {
      "oxm_fields": [
               {
                  "OXMTlv": {
                     "field": "eth_dst",
                     "mask": "00:00:00:00:00:00",
                     "value": "aa:bb:cc:dd:ee:ff"
                  }
               },
               {
                  "OXMTlv": {
                     "field": "eth_src",
                     "mask": "ff:ff:ff:ff:ff:ff",
                     "value": "f2:0b:00:7d:f8:ea"
                  }
               }
            ],
        "type": 0
         }
     },
     "actions":[
         {
             "type":"OUTPUT",
             "port": 1
         }
     ]
  }' http://localhost:8080/stats/flowentry/add



After it when i check dump-flows it will not showing the matching fields in
flow entry

cookie=0x0, duration=2.373s, table=0, n_packets=37, n_bytes=2911,
priority=0 actions=output:1




Please suggest how to insert oxm match fields ??



Regards,
Manpreet Singh
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to