Hi,

On 2015年08月28日 12:15, Talal Alharbi wrote:
> Dear All,
> 
> I was looking to have a rule on the switch to rewrite the payload of ARP 
> request, which rewrite the packet and send ARP reply without sending the 
> packet to the controller.

Which field does "the payload of ARP request" mean?

OFPActionSetField can rewrite the fields which are defined in OFPMatch field.
http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPActionSetField

e.g.) OFPMatch field related to ARP
    arp_op           Integer 16bit   ARP opcode
    arp_spa          IPv4 address    ARP source IPv4 address
    arp_tpa          IPv4 address    ARP target IPv4 address
    arp_sha          MAC address     ARP source hardware address
    arp_tha          MAC address     ARP target hardware address

But, please confirm if your switch support the above fields in the set-field 
action.

Thanks,
Iwase

> 
> 
> Cheers,
> Talal
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> 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