[Ryu-devel] How to pass a list of values in a match field

2016-12-13 Thread Alan Deikman
I have added an OF Experimenter field to Ryu that defines an OXM object. I want to create an OFPMatch() object with that field referenced multiple times. So for example if my object is named “fieldA” then you might have: parser = datapath.ofproto_parser match = parser.OFPMatch(eth_type =

Re: [Ryu-devel] [PATCH v2 0/2] pip: Tests for requirements for pip install

2016-12-13 Thread FUJITA Tomonori
On Tue, 13 Dec 2016 11:58:56 +0900 IWASE Yusuke wrote: > The v2 patches update the previous patches along with the > update of upstream. > > For OpenStack, Ryu should be comapitble to be installed with > "pip install" command. > OTOH, the requirements for Ryu are separeted: > - tools/pip-requi

Re: [Ryu-devel] [PATCH] bgp_scenario_test: Switch Python version

2016-12-13 Thread FUJITA Tomonori
On Tue, 6 Dec 2016 15:14:42 +0900 IWASE Yusuke wrote: > With Ubuntu base Docker image, Python 2.7 will always be used on > Scenario test containers if we just install "python-*". > > This patch fixes to switch base Docker image and enables to use > the specific Python version. > > Signed-off-b

Re: [Ryu-devel] How to pass a list of values in a match field

2016-12-13 Thread Iwase Yusuke
Hi, If you prefer to do it without extra implementations into Ryu core, you can use "_ordered_fields" argument of OFPMatch(). e.g.) >>> from ryu.ofproto import ofproto_v1_3_parser as parser >>> # ordinary way to create a match >>> m = parser.OFPMatch(in_port=1, eth_dst='aa:bb:cc:dd:ee:ff') >>> m

Re: [Ryu-devel] [PATCH v4 0/2] tox: Move dependencies installation to .travis.yml

2016-12-13 Thread FUJITA Tomonori
On Tue, 29 Nov 2016 17:21:57 +0900 IWASE Yusuke wrote: > I'm sorry for disturbing many times. > > This patch updates the v3 patches for Kakuma-San comments. > > v3: This updates the previous patches in order to adapt to > the update of upstream/master and Kakuma-San's patches. > > Note: The fo

Re: [Ryu-devel] [PATCH 7/7] BGPSpeaker: Enable to set capability for IPv6

2016-12-13 Thread FUJITA Tomonori
On Mon, 12 Dec 2016 12:57:02 -0500 "Victor J. Orlikowski" wrote: > On Mon, Dec 12, 2016, at 11:21 AM, IWAMOTO Toshihiro wrote: >> For maintaining API compatibility, having one or two release cycles of >> deprecation period, which raises warning messages if deprecated APIs >> are used, will help u

Re: [Ryu-devel] [PATCH 7/7] BGPSpeaker: Enable to set capability for IPv6

2016-12-13 Thread FUJITA Tomonori
On Tue, 13 Dec 2016 11:11:31 +0900 Iwase Yusuke wrote: > Thank you for many advice! > > I think it is helpful if this consideration is stipulated on any document. > e.g., > https://github.com/osrg/ryu/blob/master/CONTRIBUTING.rst > http://osrg.github.io/ryu-book/en/html/contribute.html > >

Re: [Ryu-devel] [PATCH 7/7] BGPSpeaker: Enable to set capability for IPv6

2016-12-13 Thread Iwase Yusuke
Hi, On 2016年12月14日 15:28, FUJITA Tomonori wrote: > On Mon, 12 Dec 2016 12:57:02 -0500 > "Victor J. Orlikowski" wrote: > >> On Mon, Dec 12, 2016, at 11:21 AM, IWAMOTO Toshihiro wrote: >>> For maintaining API compatibility, having one or two release cycles of >>> deprecation period, which raises w