Hi,

For the experimenter match fields, you can see it at 
ryu/ofproto/ofproto_v1_*.py.
 https://github.com/osrg/ryu/blob/master/ryu/ofproto/ofproto_v1_3.py#L1148-L1218
And you can use these like OpenFlow standard match fields.
 e.g.)
  match = ofproto_v1_3_parser.OFPMatch(tunnel_id_nxm=1)

For the experimenter actions, in case of the Nicira extensions,
you can see it at ryu/ofproto/nx_actions.py.
 https://github.com/osrg/ryu/blob/master/ryu/ofproto/nx_actions.py
And you can use these like OpenFlow standard actions, too.
 e.g.)
  action = ofproto_v1_3_parser.NXActionResubmitTable(1, 1)

If you want to impliment the new experimenter match fields,
please add difinitions into oxm_types = [...] in ofproto_v1_*.py,
and you might need to modify oxm_fields.py in the same directory.

For the new experimenter actions,
I think you need to add implementation in reference to nx_actions.py,
or add it into ofproto_v1_*_parser directly.

Thanks,
Iwase

On 2015年09月07日 18:29, Macauley Cheng wrote:
> I look the code, but I still have no idea how to use it.
> 
> I want to add new experimenter (BCM) on match and action.
> 
> Do you have example or guide for me?
> 
>  
> 
>  
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> 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

Reply via email to