Re: [Ryu-devel] Nicira Extension Matches in ofctl

2018-06-12 Thread IWAMOTO Toshihiro
On Sat, 09 Jun 2018 01:44:04 +0900,
Tommy Romano wrote:
> 
> [1  ]
> [1.1  ]
> Hello all,
> 
> We are using the Ryu ofctl_rest app for testing and we noticed that using 
> Nicira Extension fields in a match structure returns an error (‘Unknown match 
> field’). We found that this is because when ofctl converts a match from a 
> dictionary to a OFPMatch object, Nicira Extension fields are ignored. See for 
> example ofctl_v1_4.py 
> https://github.com/osrg/ryu/blob/e1741b7d77d4e57ea96cefe4535c46c83522a677/ryu/lib/ofctl_v1_4.py#L129.
> 
> Before we go add this feature and create a pull request, is there any reason 
> this is missing at the moment? Or is there any other way to include Nicira 
> Extension fields in match structures?

My understanding is most nicira match field has a OpenFlow
counterpart. Which fields are you talking about?

When proposing a patch, please consult CONTRIBUTING.rst.
Thanks.

--
IWAMOTO Toshihiro


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Nicira Extension Matches in ofctl

2018-06-08 Thread Tommy Romano
Hello all,

We are using the Ryu ofctl_rest app for testing and we noticed that using 
Nicira Extension fields in a match structure returns an error (‘Unknown match 
field’). We found that this is because when ofctl converts a match from a 
dictionary to a OFPMatch object, Nicira Extension fields are ignored. See for 
example ofctl_v1_4.py 
https://github.com/osrg/ryu/blob/e1741b7d77d4e57ea96cefe4535c46c83522a677/ryu/lib/ofctl_v1_4.py#L129.

Before we go add this feature and create a pull request, is there any reason 
this is missing at the moment? Or is there any other way to include Nicira 
Extension fields in match structures?

Thanks,
Tommy Romano
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel