Hi All, Can anyone tell how to add oxm match fields using curl command??
Regards, Manpreet Singh On Wed, Oct 14, 2015 at 10:54 AM, Minoru TAKAHASHI < [email protected]> wrote: > Hi, > > On 2015年10月13日 18:03, Manpreet Singh wrote: > > 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 ?? > > Hi, I think that above curl command has some mistakes in it. > > How to use Adding a flow entry of ofctl_rest.py is described in following > URL. > > http://ryu-zhdoc.readthedocs.org/en/latest/app/ofctl_rest.html#add-a-flow-entry > > thanks, > > > > > > > > > Regards, > > Manpreet Singh > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > >
------------------------------------------------------------------------------
_______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
