Re: [openflow-discuss] Set-field header modifications with wildcard bits?

2013-10-21 Thread Marco Canini
Thank you Ben. Taking another look at the specs for 1.3.0, I see you are right. I somehow missed this sentence about set-field: "The value of oxm_hasmask must be zero and no oxm_mask is included." On Mon, Oct 21, 2013 at 11:10 PM, Ben Pfaff wrote: > On Mon, Oct 21, 2013 at 11:05:37PM +0200, Mar

Re: [openflow-discuss] Set-field header modifications with wildcard bits?

2013-10-21 Thread Ben Pfaff
On Mon, Oct 21, 2013 at 11:05:37PM +0200, Marco Canini wrote: > Imagine I want to have a rule that for every matching packet modifies > just the first byte of the dst ETH address and leaves the rest as is. > Can I do this in OpenFlow? > Since version 1.2, set-field uses OXM field value+mask types.

[openflow-discuss] Set-field header modifications with wildcard bits?

2013-10-21 Thread Marco Canini
Hello, Imagine I want to have a rule that for every matching packet modifies just the first byte of the dst ETH address and leaves the rest as is. Can I do this in OpenFlow? Since version 1.2, set-field uses OXM field value+mask types. However, reading from the specs, I am not clear whether the co