Hi Tanvir,

Then, we're talking about Linux specific sk_buf.mark,
not a packet marking in general.
In ryu library, you can find NXM_NX_PKT_MARK in
ryu/ofproto/nicira_ext.py, and it should not be
hard to use.
https://github.com/osrg/ryu/blob/master/ryu/ofproto/nicira_ext.py#L385

BTW, set_field action to metadata field can be used
to mark a packet as far as the packet is traveling
in openflow pipeline.


On 2016/07/01 20:39, [email protected] wrote:
> Hi Iwase
>
> Thanks for your prompt response.
> from my best knowledge, by using OFPActionSetField it is not possible to mark 
> the data packet.
>
> I got another way: Nicira Extension Actions < 
> http://ryu.readthedocs.io/en/latest/nicira_ext_ref.html> It shows the 
> possibility. But I am not getting any concrete information to implement the 
> packet marking technique.
>
> what do you say about it ?
>
> Thanks again.
> -Tanvir
> ________________________________________
> From: Iwase Yusuke <[email protected]>
> Sent: Friday, 1 July 2016 12:39 PM
> To: Ul Huque, Tanvir (Data61, Eveleigh)
> Cc: [email protected]
> Subject: Re: [Ryu-devel] mark the data packet
>
> Hi,
>
> On 2016年07月01日 11:18, [email protected] wrote:
>> Hi All
>>
>> I want to mark the data packet. But for this I do not want to use the REST 
>> API.  So, How to mark the packet by using the python code?
>
> Which OpenFlow action does "mark the data packet" mean?
> Is it Set-Field Action?
>    
> http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPActionSetField
>
> Thanks,
> Iwase
>
>>
>> THanks :)
>> ------------------------------------------------------------------------------
>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to