Re: [Ryu-devel] Question about flow installation

2016-09-29 Thread Michał Rzepka
Hello, That problem is more related to OpenFlow protocol than Ryu controller itself. One should remember that some of match fields have prerequisites that need to be defined first for the flow to be added correctly, as mentioned in OpenFlow specification ("Protocol-specic fields within ofp_mat

[Ryu-devel] [RFC][PATCH] Raise OFPTruncatedMessage exception on truncated messages

2016-09-29 Thread IWAMOTO Toshihiro
OFPT_ERROR_MSG can return truncated messages. Some users want to see them in human-friendly format [1]. Catch exceptions caused by such truncated messages and reraise as OFPTruncatedMessage with incomplete ofpmsg in the exception class. Not every exceptions are captured, and we should deal with o

Re: [Ryu-devel] Question about flow installation

2016-09-29 Thread Garegin Grigoryan
Thanks a lot! I'll read that part of documentation carefully. Sincerely, Garegin Grigoryan --- Michał Rzepka wrote > Hello, > > That problem is more related to OpenFlow protocol than Ryu controller > itself. One should remember that some of match fields have prerequisites > that nee

[Ryu-devel] [PATCH 0/3] app: Add sample application for REST EVPN

2016-09-29 Thread IWASE Yusuke
As the example of BGP EVPN for BGPSpeaker users, these patches include an sample application, which performs as VTEP for EVPN VXLAN implementing REST APIs. For the usage of this application, the following provides the documentation and will look like: http://ryu-iwase.readthedocs.io/en/app-add_r

[Ryu-devel] [PATCH 1/3] app: Add sample application for REST EVPN switch

2016-09-29 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/app/rest_vtep.py | 1803 ++ 1 file changed, 1803 insertions(+) create mode 100644 ryu/app/rest_vtep.py diff --git a/ryu/app/rest_vtep.py b/ryu/app/rest_vtep.py new file mode 100644 index 000..716786d --- /de

[Ryu-devel] [PATCH 2/3] doc: Add API reference for REST EVPN switch

2016-09-29 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- doc/source/app.rst | 1 + doc/source/app/rest_vtep.rst | 12 2 files changed, 13 insertions(+) create mode 100644 doc/source/app/rest_vtep.rst diff --git a/doc/source/app.rst b/doc/source/app.rst index 077c890..69376db 100644 --- a/doc/sou

[Ryu-devel] [PATCH 3/3] pip-requires: Add ovs>=2.6.0

2016-09-29 Thread IWASE Yusuke
Now OVS 2.6.0 has been released, which is including Python 3 compatibility. Signed-off-by: IWASE Yusuke --- tools/pip-requires | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/pip-requires b/tools/pip-requires index a59805b..e4c9739 100644 --- a/tools/pip-requires +++ b/tools/pip-requir

[Ryu-devel] [PATCH] ofproto/nicira_ext: Add missing NXMs in OVS v2.6.0

2016-09-29 Thread Shinpei Muraoka
Shinpei Muraoka (1): ofproto/nicira_ext: Add missing NXMs in OVS v2.6.0 ryu/ofproto/nicira_ext.py | 179 +- 1 file changed, 177 insertions(+), 2 deletions(-) -- 2.7.4 --

[Ryu-devel] [PATCH] ofproto/nicira_ext: Add missing NXMs in OVS v2.6.0

2016-09-29 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/ofproto/nicira_ext.py | 179 +- 1 file changed, 177 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/nicira_ext.py b/ryu/ofproto/nicira_ext.py index ef44ccf..4b7704e 100644 --- a/ryu/ofproto/nicira_ext.py ++

Re: [Ryu-devel] [PATCH] ofproto/nicira_ext: Add missing NXMs in OVS v2.6.0

2016-09-29 Thread IWAMOTO Toshihiro
At Fri, 30 Sep 2016 13:22:03 +0900, Shinpei Muraoka wrote: > diff --git a/ryu/ofproto/nicira_ext.py b/ryu/ofproto/nicira_ext.py > index ef44ccf..4b7704e 100644 > --- a/ryu/ofproto/nicira_ext.py > +++ b/ryu/ofproto/nicira_ext.py > reg Integer 32bit Packet register. > -

Re: [Ryu-devel] [PATCH] ofproto/nicira_ext: Add missing NXMs in OVS v2.6.0

2016-09-29 Thread Shinpei Muraoka
Hi Iwamoto-San > Will we call OF1.5 registers as xreg, following the ovs-ofctl style? > (Just asking, not asking for implementing that.) I agree with you. Thanks, On 2016年09月30日 13:41, IWAMOTO Toshihiro wrote: > At Fri, 30 Sep 2016 13:22:03 +0900, > Shinpei Muraoka wrote: >> diff --git a/ryu

Re: [Ryu-devel] [PATCH] ofproto/nicira_ext: Add missing NXMs in OVS v2.6.0

2016-09-29 Thread Takashi YAMAMOTO
On Fri, Sep 30, 2016 at 1:22 PM, Shinpei Muraoka wrote: > Signed-off-by: Shinpei Muraoka > --- > ryu/ofproto/nicira_ext.py | 179 ++ > +++- > 1 file changed, 177 insertions(+), 2 deletions(-) > > diff --git a/ryu/ofproto/nicira_ext.py b/ryu/ofproto/nicira