Hi Mark,
Currently, curl command of ryu (ofctl_rest.py) is not support ipv6_exthdr with
mask.
I will make a patch.
Thanks
On 2015年03月16日 11:51, mark wrote:
> Hi Sir,
>
> i would like to use curl to add flow w/ ipv6_exthdr mask in lab.
>
> i refer ryu/test/switches/0f13/match/39_IPV6_EXTHDR_Mask.json file, but i
> don't know how to set *"mask":496* in curl command.
>
> can you please kindly tell!
>
> Thanks
> mark
>
>
> "prerequisite":[
> {
> "OFPFlowMod":{
> "table_id":0,
> "match":{
> "OFPMatch":{
> "oxm_fields":[
> {
> "OXMTlv":{
> "field":"eth_type",
> "value":34525
> }
> },
> {
> "OXMTlv":{
> "field":"ipv6_exthdr",
> *"mask":496,*
> "value":64
> }
> }
> ]
> }
> },
> "instructions":[
> {
> "OFPInstructionActions":{
> "actions":[
> {
> "OFPActionOutput":{
> "port":2
> }
> }
> ],
> "type":4
> }
> }
> ]
> }
> }
>
> On 3/13/15 2:26 PM, mark wrote:
>> Hi Sir,
>>
>> i refer "39_IPV6_EXTHDR_Mask.json" file, and try to add flow w/ "ipv6_exthdr
>> mask" manually.
>> but the problem is i don't know how to set match "mask" value.
>>
>> can you kindly show me the curl command for this?
>>
>> BR,
>>
>> Mark
>
>
> ====================================================================================
> This message may contain information which is private, privileged or
> confidential of INNO-Tech Network & Service Inc.
> If you are not the intended recipient of this message, please notify the
> sender and destroy/delete the message.
> Any review, retransmission, dissemination or other use of, or taking of any
> action in reliance upon this information,
> by persons or entities other than the intended recipient is prohibited.
> ====================================================================================
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel