[ovs-dev] [PATCH] ofp-actions: Implement writing to metadata field

Joe Stringer joe at wand.net.nz
Thu Oct 18 21:38:57 UTC 2012


Thanks for handling this.

On 19 October 2012 09:08, Ben Pfaff <blp at nicira.com> wrote:
> On Fri, Oct 19, 2012 at 02:37:37AM +0900, Isaku Yamahata wrote:
>> From: Joe Stringer <joe at wand.net.nz>
>>
>> From: Joe Stringer <joe at wand.net.nz>
>>
>> In OpenFlow 1.1, we add support for OFPIT_WRITE_METADATA. This allows us to
>> write to the metadata field. Internally it is represented using ofpact_metadata.
>>
>> We introduce NXAST_WRITE_METADATA to handle writing to the metadata field in
>> OpenFlow 1.0+. This structure reflects OFPIT_WRITE_METADATA.
>>
>> When writing out the structure to OpenFlow 1.1, it uses the OFPIT_WRITE_METADATA
>> instruction only, and not the new NXAST action (which would be redundant).
>>
>> Signed-off-by: Joe Stringer <joe at wand.net.nz>
>> Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
>
> I applied this to master, with a few style changes.
>
> Thanks to you both!



More information about the dev mailing list