Dear Fujita-San,
Great to see you again.
Could you review these patches when you have time?
Thanks,
Iwase
Begin forwarded message:
Date: Fri, 30 Mar 2018 11:33:54 +0900
From: IWASE Yusuke
To: ryu-devel@lists.sourceforge.net
Cc: IWASE Yusuke
Subject: [PATCH 0/4] mrtlib: Support RFC8050
lashdot.org! http://sdm.link/slashdot
_______
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel
>From 14f48def88012f779ac30d2068e4c7c8b1948233 Mon Sep 17 00:00:00 2001
From: IWASE Yusuke
Date: Wed, 27 Jun
or so,
please specify "--zapi-server-version 2".
Thanks,
Iwase
On 2018年06月13日 21:04, Vidhu Baggan wrote:
Dear Sir
Appreciating your concern as I have already implemented BGP in Quagga but
could not find the way out to connect BGP (Ryu) and Quagga .
Kindly guide.
Great Regards
On
of Engineering & Technology
.
Mail
CAMPUS
Chandigarh - Patiala National Highway,
Distt. Patiala - 140401.
(Around 35 kms from Chandigarh)
On Mon, Dec 25, 2017 at 6:38 AM, Iwase Yusuke <mailto:iwase.yusu...@gmail.com>> wrote:
Hi,
You mean modifying the rules of the BGP sta
speaker) connects to two neighbors Rtr1 and Rtr2.
SDN-Rtr2(RYU Bgp speaker) connects to two neighbors Rtr2 and Rtr3.
In this use case, Any possibility of running with single BGP Speaker instance?
Thanks
Suresh
On Mon, Jun 11, 2018 at 7:30 AM, Iwase Yusuke <mailto:iwase.yusu...@gmail.com>&
patches fix to add or update attributes to for sending
locally generated routes its RR clients and include some improvements.
IWASE Yusuke (3):
BGPSpeaker: Advertise local routes to RR clients
pycodestyle: Ignore W504
BGPSpeaker: Fix BGP state string conversion
ryu/services/protocols/bgp
The constants BGP_FSM_* are str type values and not callable.
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/peer.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/services/protocols/bgp/peer.py
b/ryu/services/protocols/bgp/peer.py
index 2a0e2a9f
Signed-off-by: IWASE Yusuke
---
tox.ini | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tox.ini b/tox.ini
index 758d1661..c1759acb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -52,14 +52,15 @@ commands =
[pycodestyle]
exclude = pbr-*,.venv,.tox,.git,doc,dist,tools
just used raw strings (r"""foo""").
> If we won't change this docstring in future, smaller patches would be
> better.
Thanks, it looks good to me.
On 2018年06月13日 12:06, IWAMOTO Toshihiro wrote:
On Tue, 12 Jun 2018 17:26:50 +0900,
IWAMOTO Toshihiro wrote:
On
-by: IWASE Yusuke
---
ryu/services/protocols/bgp/peer.py | 47 +-
1 file changed, 21 insertions(+), 26 deletions(-)
diff --git a/ryu/services/protocols/bgp/peer.py
b/ryu/services/protocols/bgp/peer.py
index 70b486c0..2a0e2a9f 100644
--- a/ryu/services/protocols/bgp
and include some improvements.
IWASE Yusuke (3):
BGPSpeaker: Advertise local routes to RR clients
pycodestyle: Ignore W504 and W605
BGPSpeaker: Fix BGP state string conversion
ryu/services/protocols/bgp/peer.py | 51 ++
tox.ini| 6 ++--
2
The constants BGP_FSM_* are str type values and not callable.
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/peer.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/services/protocols/bgp/peer.py
b/ryu/services/protocols/bgp/peer.py
index 2a0e2a9f
ns.
Query1:
1. To enable route_reflector in RYU, Do i need to configuration any other API
or parameters?
Thanks
Suresh
On Thu, May 31, 2018 at 11:41 AM, Iwase Yusuke <mailto:iwase.yusu...@gmail.com>> wrote:
Hi,
> All routers are same AS number.
This means Ryu and oth
Hi,
I think you need to specify the following options in order to avoid the
conflicts of listening ports.
- BGP listen host addresses (or port number)
https://github.com/osrg/ryu/blob/c29c9019ac8ab862bbc0caad7d49220f27ed0cf0/ryu/services/protocols/bgp/bgp_sample_conf.py#L51-L52
- RPC listen
w to configure this, and little
more details about this.
Can you share something more about this.
Thanks
Suresh.
On Thu, May 31, 2018 at 12:02 PM, Iwase Yusuke
mailto:iwase.yusu...@gmail.com>> wrote:
Hi Suresh,
>
Hi Suresh,
> Query1)
> Can we use the RYU BGP Speaker libaray, in this use case?
Yes.
I guess that use case is what exactly Ryu BGP speaker implementation is
targeting.
> if yes, could you provide some guide lines on how to use it.
Sorry, I have no good document for such, but for example,
Hi,
> All routers are same AS number.
This means Ryu and other routers are connected with the iBGP(internal BGP)
peering, right? On the iBGP, generally the received routes from other iBGP peers
will not be advertised in order to avoid network loops. If you need to advertise
the iBGP routers to
Hi,
Excuse me for jumping in.
This issue hits this bug?
https://www.mail-archive.com/ryu-devel@lists.sourceforge.net/msg13533.html
"gui_topology" seems to cover all wsgi routes, then other wsgi apps can not
register their methods.
Thanks,
Iwase
On 2018年05月08日 17:31, IWAMOTO Toshihiro wrote:
Hi,
Excuse me for jumping in.
How about using "dict" to store temporary match fields like;
match_fields = {
'in_port': in_port,
}
# Do something
match_fields['vlan_vid'] = vlan_vid
# Do something
match = parser.OFPMatch(**match_fields)
Thanks,
Iwase
On
*,
group_id, buckets)
I would like to divide the flow in a way that in port 2 have 50% of the band
and port 3 also have 50% of the band.
I changed the *weight* value to *50* and used *ofp.OFPGT_SELECT* but it didn't
work
2018-04-01 23:09 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.
//csie.nqu.edu.tw/smallko/sdn/ryu_multipath_13.htm
is it right ?
thanks
2018-04-01 22:14 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>>:
Hi Carlos,
H... have you installed any "flow" entry which contained OF
t0:packet_count=0,byte_count=0,byte_count=0,bucket1:packet_count=0,byte_count=0*
*
*
I'm really lost and don't know how to fix that
Do you have any idea of how can I solve this problem?
many thanks.
2018-03-29 1:33 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.co
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/ofproto/ofproto_v1_2.py| 3 +++
ryu/ofproto/ofproto_v1_2_parser.py | 7 +++
2 files changed, 10 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_2.py b/ryu/ofproto/ofproto_v1_2.py
index 1c8a971..acc4ea7 100644
---
e alternatives of the standard OpenFlow
messages.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
doc/source/nicira_ext_ref.rst | 7 +++
ryu/ofproto/nx_message.py | 32
ryu/ofproto/ofproto_v1_0_parser.py | 23
The following patches adds a new module "nx_message" in order to export Nicira
messages, which defined only in "ofproto_v1_0_parser", to other parsers for
other OpenFlow versions.
IWASE Yusuke (2):
ofproto_v1_2: Enable to use NXAction in OpenFlow 1.2
Export Nicira messages
Hi Nadim,
First, please confirm your situation. You want to realize the following?
1. H1 send some packets
2. S1 send the received packets to C1 as Packet-In messages
3. C1 send the packets as Packet-Out to S2
4. S1 send the packets to S3
5. S3 send the packets to C2 as Packet-In messages
And,
The following pathes fix "ryu.lib.mrtlib" to support RFC8050 (Multi-Threaded
Routing Toolkit (MRT) Routing Information Export Format with BGP Additional
Path Extensions).
IWASE Yusuke (4):
mrtlib: Missing subclass for SUBTYPE_RIB_*_MULTICAST
mrtlib: Support RFC8050
test_mrtlib:
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/tests/unit/lib/test_mrtlib.py | 61 +++
1 file changed, 61 insertions(+)
diff --git a/ryu/tests/unit/lib/test_mrtlib.py
b/ryu/tests/unit/lib/test_mrtlib.py
index e870f40..55c7cda 100644
---
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/lib/mrtlib.py | 130 --
1 file changed, 116 insertions(+), 14 deletions(-)
diff --git a/ryu/lib/mrtlib.py b/ryu/lib/mrtlib.py
index c8f86fc..a89ccfc 100644
--- a/ryu/lib/mrt
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/lib/mrtlib.py | 30 ++
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/ryu/lib/mrtlib.py b/ryu/lib/mrtlib.py
index 83b4e53..c8f86fc 100644
--- a/ryu/lib/mrtlib.py
+++ b/ryu/lib/mrt
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/lib/mrtlib.py | 30 ++
1 file changed, 30 insertions(+)
diff --git a/ryu/lib/mrtlib.py b/ryu/lib/mrtlib.py
index a89ccfc..c2d50c6 100644
--- a/ryu/lib/mrtlib.py
+++ b/ryu/lib/mrtlib.py
@@ -264,6 +
nd_msg(out)
Thanks in advance.
2018-03-23 0:29 GMT+01:00 Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>>:
Hi Alvaro,
According to the OpenFlow Spec 1.3, the data field of OFPPacketOut must be
an
Ethernet frame and I think you need to add also
.
I don't know how to do this
Is there any other thing that I am missing
thanks in advanced
2018-03-26 20:28 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>>:
Hi Carlos,
> "*/using the group table with openflow 1.3
Hi,
The cause of this problem seems to be the both controller use the same REST API
(WSGI) port on the same host. How about specifying "--wsapi-port" (or
"--wsapi-host" option?
$ ryu-manager --help
...(snip)...
--wsapi-host WSAPI_HOST
webapp listen host (default
as i said before and it is not working, means that I am
using the group specification and it doens't work.
and about your topology: It has only 2 switches or 4???
i don't know if my code is right or if i am missing something else.
2018-03-25 21:40 GMT-03:00 Iwase Yusuke <iwase.yusu
I observed is - Number of Nodes: 13, Number of Edges:21.
Is there a way this could be increased in terms of number of edges and nodes?
Thanks!
Taha
On Sun, Mar 25, 2018 at 7:33 PM, Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>> wrote:
Hi Taha,
Hi Valson,
How about using OFPPortMod message?
http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPPortMod
Thanks,
Iwase
On 2018年03月24日 04:51, Valson Pereira wrote:
Hi everyone;
How i can disable/enable a specific swicth port with ryu?
Thanks.
mage below
But I dont know if this would be possible using the group table.
2018-03-23 4:04 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>>:
Hi Carlos,
What does "split flows" exactly mean?
> req = parser.
in RYU controller.
Thanks!
Taha
On Fri, Mar 23, 2018 at 3:45 AM, Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>> wrote:
Hi Taha,
IIRC, the similar problems had reported before on this mailing list.
I think you hit the performanc
Hi Taha,
IIRC, the similar problems had reported before on this mailing list.
I think you hit the performance limit of "single" controller in order to use
topology discovery feature against such many switches.
For handling such large topology, how about splitting your topology into some
Hi Soliman,
"ryu.topology" provides such feature, I guess.
How about the following APIs and events?
https://github.com/osrg/ryu/blob/master/ryu/topology/api.py#L38-L44
https://github.com/osrg/ryu/blob/e6773539b546576c13f7397769d2001c46bbfdaa/ryu/topology/event.py#L169-L186
If you want to
Hi Carlos,
What does "split flows" exactly mean?
> req = parser.OFPGroupMod(datapath, ofp.OFPFC_ADD, ofp.OFPGT_SELECT,
> group_id, buckets)
If you specify OFPGT_SELECT, switch will execute "one" bucket in the group and
not copied like the port mirroring. If you intend
Hi,
I think this issue is a problem of Mininet not Ryu. I found the similar script
on Mininet's GitHub, but I don't know further.
https://github.com/mininet/mininet/blob/master/examples/controllers2.py
Thanks,
Iwase
On 2018年03月21日 00:05, Soliman Awad Alshra´a Abdullah TU Ilmenau wrote:
Hello
t;pip", in order to avoid this problem.
IWASE Yusuke (2):
utils: Remove "parse_requirements" function
test_requirements: Avoid using pip as library
ryu/tests/unit/test_requirements.py | 13 ++---
ryu/utils.py| 31 -
Because importing "pip" in Python scripts is not supported usage of
"pip", this patch fixes to use "pkg_resources" + "urllib" instead.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/tests/unit/test_requirements.py | 13 ++---
This patch removes unused function "parse_requirements" in order to
avoid using "pip" as a Python library.
Note: Officially "from pip import req as pip_req" is not supported usage
of "pip".
Reported-by: Katsaounis Molyvas Stamatios <mok...@intrac
Hi,
Thanks a lot for your information! It is very helpful for me!
As you mentioned on the issue #5099, Ryu imports "pip" at;
https://github.com/osrg/ryu/blob/e6773539b546576c13f7397769d2001c46bbfdaa/ryu/utils.py#L143-L144
and also;
Hi Alvaro,
According to the OpenFlow Spec 1.3, the data field of OFPPacketOut must be an
Ethernet frame and I think you need to add also Ethernet header using
"ethernet.ethernet" class.
http://osrg.github.io/ryu-book/en/html/packet_lib.html#generation-of-packets-serialization
> p =
Hi Zhang and Thanks a lot ??!
Excuse me for jumping in.
Please refer to the Ryu-Book for getting started.
For example, "Switching Hub" section describes how to get MAC address of hosts
on Ryu application. I guess you can also get IP address in the similar way.
So, I want to use the Ryu Openflow API to do this.
Does this help?
Thanks
/Shivaram
On Wed, Mar 7, 2018 at 8:27 PM, Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>> wrote:
Hi Shivaram,
You mean you ne
The following patches support the Nicira Extended match for Network Service
Header (NSH).
Note: To use NSH match, OVS v2.8 or later is required.
IWASE Yusuke (2):
nicira_ext: Support Network Service Header match
nicira_ext: Support DEC_NSH_TTL action
doc/source/nicira_ext_ref.rst | 1
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
doc/source/nicira_ext_ref.rst | 1 +
ryu/ofproto/nicira_ext.py | 1 +
ryu/ofproto/nx_actions.py | 36
3 files changed, 38 insertions(+)
diff --git a/doc/source/nicira_ext_ref.rst b/doc/
Hi Shivaram,
You mean you need to send some (stats?) message from Ryu controller to another
Ryu controller, right?
H... Ryu implements the OpenFlow parsers as "Controller side", parsers for
"from switch" messages have no "serialize()" method (some of messages have both
"serialize()" and
0?2--
*From: *?0?2"Iwase Yusuke";<iwase.yusu...@gmail.com>;
*Send time:*?0?2Thursday, Mar 8, 2018 8:23 AM
*To:*?0?2"Zhang Yifan"<zhang*@qq.com>;
*Cc:*?0?2"ryu-devel"<ryu-devel@lists.sourceforge.net>;
*Subject: *?0?2Re: [Ryu-devel] Too man
Hi,
I think it is depending on your flow entries whether Ryu gets tons of Packet-In
or not. You can write rules to filter packets by "match" and "priority" on your
flow entries.
> Q1. How can I get the packet that I have sent through a host?
For example, to compute the shortest path, how
Hi,
Well, which version of Ryu (also OVS on Mininet?) are you using?
And please check whether re-connections between Ryu and your switches occur or
not. If re-connections occurs too frequently, your switches might try to
establish new connections regardless of Ryu could close socket
Hi Pedro,
The usage of OFPMatch is described on the Ryu Documentation.
http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPMatch
And which bits of "value" field should be match against value is represented by
"mask" field, but the OpenFlow Spec 1.3.5
n 3 will raise exception when
failed negotiate the OpenFlow version. The following patches include the fix
for this issue.
Also, the following patches add a new option to close socket connecting to a
switch after sending a specified message.
IWASE Yusuke (5):
controller: Improve pylint result
control
sending the message.
This patch fixes to encode the given str value into a bytes type value
in OFPErrorMsg.__init__() and solves this problem.
Signed-off-by: William Fisher <william.w.fis...@gmail.com>
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/controller/of
nection.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/controller/controller.py | 28 ++--
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index f46cf00..6213533 100644
--- a/ry
With this patch, when failed to negotiate the OpenFlow version with a
switch, Ryu will close the socket connecting to the switch after sending
a OFPT_ERROR message.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/controller/ofp_handler.py | 2 +-
1 file changed, 1 insertion
d_msg()"
method and this option enables to close the socket after sending the
given message. This patch is convenient to close the socket after
sending OFPT_ERROR message to the switch.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/controller/controller.py | 12 +++-
1
e links.
links_list = get_link(self.topology_api_app, None)
print links_list
Do you have any suggestion to fix the problem?
Thank you
On Thu, Mar 1, 2018 at 9:06 PM, Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.
Hi,
I seem the number of "file descriptors" hits the limit of its max.
In most case, 1024 is the max per process and "/proc/sys/fs/file-max" contains
the max of whole of OS.
e.g.)
$ ulimit -n
1024
$ cat /proc/sys/fs/file-max
800471
Thanks,
Iwase
On 2018年03月05日 18:33, Zhang Yifan wrote:
Hi
older, and run it.
2) I am looking for some pluggable manner, where i can plug all my
applications. And run as a single application.
Hope this clarifies my problem.
Thanks
Suresh
On Mon, Mar 5, 2018 at 10:58 AM, Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>&g
Hi Thomas,
Thanks for your reporting!
H... I also tried to implement the similar API (as following), but no bridge
instance was created...
def create_bridge(manager, system_id, bridge_name,
bridge_info=None, port_info=None, iface_info=None,
Hi,
Could you be more specific?
What "one app.py" exactly means?
You have some REST implemented applications, then ... which application do you
need to make multiplex?
Just I guessing... each application are running on each host and you need to
run multi controller apps(App_A) like the
*args)
error: [Errno 32] Broken pipe
Maybe I should update ryu and try again?
------?0?2?0?2--
*??:*?0?2"Iwase Yusuke"<iwase.yusu...@gmail.com>;
*:*?0?22018??3??5??(??) 10:48
*??:*?0?2"Zhang Yifan"<zhangyifa
Hi,
Which version of Ryu are you using?
The similar issue was reported before and it should be fixed on the latest.
https://www.mail-archive.com/ryu-devel@lists.sourceforge.net/msg10491.html
Thanks,
Iwase
On 2018年03月05日 11:33, Zhang Yifan wrote:
Hi everybody,
I am testing topology discovery
have any suggestion to fix the problem?
Thank you
On Thu, Mar 1, 2018 at 9:06 PM, Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>> wrote:
Hi,
You can enables the LLDP topology discovery feature, provided by
"ryu.topology"
module, to dis
Hi Taha,
I couldn't launch your Ryu application on my environment...
(py27) $ ryu-manager shared_arp.py
loading app shared_arp.py
Traceback (most recent call last):
File "/home/iwase/ryu/.tox/py27/bin/ryu-manager", line 11, in
load_entry_point('ryu==4.23', 'console_scripts',
Hi,
You can use SET_FIELD action for such purpose.
$ git diff
diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py
index 06a5d0e..4045b8c 100644
--- a/ryu/app/simple_switch_13.py
+++ b/ryu/app/simple_switch_13.py
@@ -48,6 +48,18 @@ class SimpleSwitch13(app_manager.RyuApp):
Hi,
You can enables the LLDP topology discovery feature, provided by "ryu.topology"
module, to discover switches (and hosts) on your topology.
https://github.com/osrg/ryu/blob/master/ryu/topology/api.py
https://github.com/osrg/ryu/blob/master/ryu/topology/event.py
=
...(snip)...
but I have no idea why I cannot start up the
controller well.
Thanks in advance.
A.Soliman
-Original Message-
From: Iwase Yusuke [mailto:iwase.yusu...@gmail.com]
Sent: Friday, February 23, 2018 2:30 AM
To: Soliman Awad Alshra´a Abdullah TU Ilmenau <abdullah.alsh...@tu-ilmenau.de>
Cc:
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/app/ofctl/api.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/app/ofctl/api.py b/ryu/app/ofctl/api.py
index fe76b80..1149e06 100644
--- a/ryu/app/ofctl/api.py
+++ b/ryu/app/ofctl/api.py
@@ -78,11
With this patch, when failed to negotiate the OpenFlow version with a
switch, Ryu will close the socket connecting to the switch after sending
a OFPT_ERROR message.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/controller/ofp_handler.py | 2 +-
1 file changed, 1 insertion
sending the message.
This patch fixes to encode the given str value into a bytes type value
in OFPErrorMsg.__init__() and solves this problem.
Signed-off-by: William Fisher <william.w.fis...@gmail.com>
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/controller/of
Hi,
Excuse me for jumping in.
How about sending OFPAggregateStatsRequest in synchronous way?
You can use "ryu.app.ofctl.api" to send an OpenFlow message synchronously.
http://ryu.readthedocs.io/en/latest/app/ofctl.html
$ git diff
diff --git a/ryu/app/simple_switch_13.py
Oops, you are right. Here should do "break". Thanks a lot!
I used "break" in the above patches.
Thanks,
Iwase
On 2018年02月28日 15:46, William Fisher wrote:
Hi Iwase,
On Mon, Feb 26, 2018 at 10:55 PM, Iwase Yusuke <iwase.yusu...@gmail.com> wrote:
A little difference thoug
William Fisher pointed out that Ryu on Python 3 will raise exception when
failed negotiate the OpenFlow version. The following patches include the fix
for this issue.
Also, the following patches add a new option to close socket connecting to a
switch after sending a specified message.
IWASE
d_msg()"
method and this option enables to close the socket after sending the
given message. This patch is convenient to close the socket after
sending OFPT_ERROR message to the switch.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/controller/controller.py | 31 +
Hi Taha,
I couldn't investigate why, but on your attached log messages,
"EventSwitchLeave" are shown. Datapath might be disconnected for some reason,
then "EventLinkDelete" occurred.
Thanks,
Iwase
On 2018年02月28日 00:13, Taha Khan wrote:
Hi,
I added EventLinkDelete in my code. And noticed
Hi Ricardo,
I guess you caught a TCP SYN (or SYN+ACK or ACK) packet leading the BGP
handshake, so the received packet has no TCP payload.
I could get the BGP packets with the following modification of simple_switch_13.
diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py
Hi Jade,
Just guessing, you enables IPv6 on your Mininet node? If so, IPv6 Neighbor
Discovery packets might be counted.
If you need to avoid these packets, please disable IPv6 settings on your
machine.
Thanks,
Iwase
On 2018年02月25日 01:45, Jade Manapee wrote:
Hi Everyone,
I am new to Ryu so
Hi,
I'm using the newer version of OVS though, I guess OVS does not supports the
OpenFlow 1.5 structured FlowStats message.
the FlowStats message was restructured in the OpenFlow 1.5 according to
introduction of the FlowDesc message, but OVS does not implement the new
structure of the FlowStats
1.4 parsers for these messages.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/ofproto/ofproto_v1_5_parser.py | 30 ++
1 file changed, 30 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_5_parser.py
b/ryu/ofproto/ofproto_v1_5_parser.py
index 0
ly, I tried to pingall
mininet> pingall
*** Ping: testing ping reachability
h1 -> X X
h2 -> X X
h3 -> X X
*** Results: 100% dropped (0/6 received)
_______
please, could you guide me to run the Ryu Inband controller ?
Best regards
A.Soliman
-Orig
nt=182
match=OFPMatch(oxm_fields={})
instructions=[OFPInstructionActions(actions=[OFPActionOutput(len=16,max_len=65535,port=4294967293,type=0)],len=24,type=4)]']
Thanks,
Iwase
On 2018年02月23日 01:05, shivani dommeti wrote:
Hi Iwase Yusuke,
Thank you for the response.
Working on:
RYU version:3.27
Hi Soliman,
The page you mentioned was written on OCTOBER 5, 2013 and the description might
be old (e.g., the default OpenFlow version on Mininet has been changed).
Please refer to the Ryu-Book for running "Switching Hub" application.
Hi Suresh and Thanks Yi!
FYI, Ryu provides "OpenFlow Switch Test Tool" for testing whether your switch
support the features of OpenFlow including the Meter.
This tool is one of the built-in application of Ryu and easy to start using.
http://osrg.github.io/ryu-book/en/html/switch_test_tool.html
Hi,
> 1) Is the hello failed which i am seeing in ryu 4.16, have any impact on the
> functionality of the switch? (i have tried OFPportstatus request, and it seems
> to work)
Hmmm... I think it is depending on the switch implementation.
The OpenFlow Spec 1.3.5 says the recipient of OFPT_HELLO
Hi Reza,
How about getting the PortStats periodically?
This message contains "rx_dropped", "rx_errors" and so on.
http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPPortStatsReply
Thanks,
Iwase
On 2018年02月09日 18:42, Moh'd Reza Abbasi wrote:
I would
Hi,
> 1) Is the hello failed which i am seeing in ryu 4.16, have any impact on the
> functionality of the switch? (i have tried OFPportstatus request, and it seems
> to work)
Hmmm... I think it is depending on the switch implementation.
The OpenFlow Spec 1.3.5 says the recipient of OFPT_HELLO
Hi Tomas,
Because the contained "data" in the PACKET_IN message is an Ethernet frame
message, I guess it is difficult to implement such feature...
For example, you need to open another socket on tap interface for example, then
open "data" in PACKET_IN messages -> extract TCP payload -> forward
ny dpids as shown in
the attached image. Please let me know if I am following the correct steps.**
Thanks & Regards,
Kaustubh Dinesh Shirodkar
On Fri, Feb 2, 2018 at 11:07 AM, Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>> wrote:
Hi,
Because the usage of "ryu.lib.ovs" is frequently asked at the Ryu-devel mailing
list, the following patches adds the document for this library.
FYI, the document page would be like:
http://ryu-iwase.readthedocs.io/en/doc-lib-ovs/library_ovsdb.html
IWASE Yusuke (2):
lib/ovs:
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
ryu/lib/ovs/vsctl.py | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/ryu/lib/ovs/vsctl.py b/ryu/lib/ovs/vsctl.py
index 2391c90..b18b5ef 100644
--- a/ryu/lib/ovs/vsctl.py
+++ b/ryu/lib/ovs/vsctl.py
@@ -
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
doc/source/library.rst | 1 +
doc/source/library_ovsdb.rst | 76
ryu/lib/ovs/bridge.py| 134 ++-
ryu/lib/ovs/vsctl.py | 57 +++
Hi,
The following document is helpful for you?
http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPMatch
For example, to match the destination IPv4 network "192.168.122.0/24":
match = parser.OFPMatch(
eth_type=0x0800,
Hi,
You are talking about "ryu.app.ofctl_rest", right?
http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html
This application is an example application which provides the APIs related to
the OpenFlow protocol and none to other protocols.
If you mean the OVSDB protocol, I guess you need to use
1 - 100 of 1082 matches
Mail list logo