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
h sites, Slashdot.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,
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
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>&
following 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/pro
-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
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
gt; On second thought, I 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,
IW
-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
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
Signed-off-by: IWASE Yusuke
---
tox.ini | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tox.ini b/tox.ini
index 758d1661..5d8712e1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -52,14 +52,16 @@ commands =
[pycodestyle]
exclude = pbr-*,.venv,.tox,.git,doc,dist,tools
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
date happens.
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 R
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 hos
t. How 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, the
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 o
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 2018年04月
*ofp.OFPGT_ALL*,
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 <mailto:
//csie.nqu.edu.tw/smallko/sdn/ryu_multipath_13.htm
is it right ?
thanks
2018-04-01 22:14 GMT-03:00 Iwase Yusuke <mailto:iwase.yusu...@gmail.com>>:
Hi Carlos,
H... have you installed any "flow" entry which contained OFPActionGroup?
Also, in your code, you
bucket0: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 <mailto:iwase.yusu...@gmail.com>>:
Signed-off-by: IWASE Yusuke
---
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
--- a/ryu/ofproto/ofproto_v1_2.py
e alternatives of the standard OpenFlow
messages.
Signed-off-by: IWASE Yusuke
---
doc/source/nicira_ext_ref.rst | 7 +++
ryu/ofproto/nx_message.py | 32
ryu/ofproto/ofproto_v1_0_parser.py | 23 +++
ryu/ofproto/ofproto_
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, i
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
---
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
--- a/ryu/tests/unit/lib
Signed-off-by: IWASE Yusuke
---
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/mrtlib.py
+++ b/ryu/lib/mrtlib.py
Signed-off-by: IWASE Yusuke
---
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/mrtlib.py
@@ -667,22 +667,44 @@ class
Signed-off-by: IWASE Yusuke
---
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 +264,12 @@ class Ospf2MrtMessage
match=match_out, actions=actions_out,
data=p.data)
datapath.send_msg(out)
Thanks in advance.
2018-03-23 0:29 GMT+01:00 Iwase Yusuke <mailto:iwase.yusu...@gmail.com>>:
Hi Alvaro,
According to the OpenFlow Spec 1.3, the data fie
ed up.
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 <mailto:iwase.yusu...@gmail.com>>:
Hi Carlos,
> "*/using the group table with openflow 1.3 with no sucess/*&quo
t;, line 85, in _packet_in_handler
A = obj.to_dict()
File "/home/mininet/ryu/ryu/topology/switches.py", line 124, in to_dict
d = {'dpid': dpid_to_str(self.dp.id),
AttributeError: 'list' object has no attribute 'id'
any solution ?
-Original
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 0.0.0.0
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 <mailto:iw
Well, What 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 <mailto:iwase.yusu...@gmail.com>> wrote:
Hi Taha,
> But do you ha
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.
the image below
But I dont know if this would be possible using the group table.
2018-03-23 4:04 GMT-03:00 Iwase Yusuke <mailto:iwase.yusu...@gmail.com>>:
Hi Carlos,
What does "split flows" exactly mean?
> req = parser.OFPGroupMod(data
formation in RYU controller.
Thanks!
Taha
On Fri, Mar 23, 2018 at 3:45 AM, Iwase Yusuke <mailto:iwase.yusu...@gmail.com>> wrote:
Hi Taha,
IIRC, the similar problems had reported before on this mailing list.
I think you hit the performance limit of "sing
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
sub-topo
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 impleme
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 t
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
---
ryu/tests/unit/test_requirements.py | 13 ++---
1 file changed, 6 insertions(+)
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
Signed-off-
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;
https://github.com/osrg/ryu/blob/e6773539b546576c13f7397769d2001
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 = packet.Packet
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.
http://osrg.github.io/ryu-book/
is.
Does this help?
Thanks
/Shivaram
On Wed, Mar 7, 2018 at 8:27 PM, Iwase Yusuke mailto:iwase.yusu...@gmail.com>> wrote:
Hi Shivaram,
You mean you need to send some (stats?) message from Ryu controller to
another
Ryu controller, right?
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/ether_types.py | 1 +
ryu/ofproto/nicira_ext.py | 38 ++
ryu/ofproto/ofproto_common.py | 1 +
ryu/ofproto/oxm_fields.py | 4
4 files changed, 44 insertions(+)
diff --git a/ryu/lib/packet
Signed-off-by: IWASE Yusuke
---
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/source/nicira_ext_ref.rst
index
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
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 "par
2Original?0?2--
*From: *?0?2"Iwase Yusuke";;
*Send time:*?0?2Thursday, Mar 8, 2018 8:23 AM
*To:*?0?2"Zhang Yifan";
*Cc:*?0?2"ryu-devel";
*Subject: *?0?2Re: [Ryu-devel] Too many open files
Hi,
Well, which version of Ryu (also OVS on Mininet?) are you usin
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 about
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 successfully
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 says
ill 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
Signed-off-by: IWASE Yusuke
---
ryu/controller/ofp_handler.py | 11 ++-
ryu/ofproto/ofproto_v1_0_parser.py
tion.
Signed-off-by: IWASE Yusuke
---
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/ryu/controller/controller.py
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
---
ryu/controller/ofp_handler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
uot;
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
---
ryu/controller/controller.py | 12 +++-
1 file changed, 7 insertions(+),
Signed-off-by: IWASE Yusuke
---
ryu/controller/controller.py | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index 8484891..c0e5865 100644
--- a/ryu/controller/controller.py
+++ b/ryu
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 mailto:iwase.yusu...@gmail.com> <mailto:iwase.yusu...@gmail.com
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 e
Hi Thomas,
Thanks a lot for submitting your patch!
It looks good to me!
Thanks,
Iwase
On 2018年03月06日 02:41, Thomas Bechtold wrote:
From: Thomas Bechtold
msgpack-python got renamed to msgpack[1] so use the new name.
[1] https://pypi.python.org/pypi/msgpack/0.5.1
Signed-off-by: Thomas Bechto
oxy folder, 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 <mailto:iwase.yusu...@gmail.com>> wrote:
Hi,
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,
bridge_insert
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 followin
*args)
error: [Errno 32] Broken pipe
Maybe I should update ryu and try again?
------?0?2?0?2--
*??:*?0?2"Iwase Yusuke";
*:*?0?22018??3??5??(??) 10:48
*??:*?0?2"Zhang Yifan";
*:*?0?2"ryu-devel";
*:
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
you have any suggestion to fix the problem?
Thank you
On Thu, Mar 1, 2018 at 9:06 PM, Iwase Yusuke <mailto:iwase.yusu...@gmail.com>> wrote:
Hi,
You can enables the LLDP topology discovery feature, provided by
"ryu.topology"
module, to discover switches (an
.0.2', 'in_port': 3, 'ipv4_dst':
'10.0.0.1'}),out_group=0,out_port=0,priority=1,table_id=0)
datpath_list {1: ,
2: , 3:
, 4:
, 5:
, 6:
} =
...(No more log message while 10 minutes)...
Thanks,
Iwase
On 2018年03月05日 03:55, Taha Khan wrote:
Hi Iwase,
Even
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)...
be simple, 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
Cc: ryu-devel@lists.sourceforge.ne
Signed-off-by: IWASE Yusuke
---
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 +78,11 @@ def send_msg(app, msg
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
---
ryu/controller/ofp_handler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
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
Signed-off-by: IWASE Yusuke
---
ryu/controller/ofp_handler.py | 11 ++-
ryu/ofproto/ofproto_v1_0_parser.py
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 b/ryu/app/simple_switch
ctivate.
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 wrote:
A little difference though, how about do
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
uot;
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
---
ryu/controller/controller.py | 31 ---
1 file changed,
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 Even
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
inde
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 I
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
---
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 0394662..f635e53 100644
--- a/ryu
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
-Original
d=0 duration_sec=0 duration_nsec=0 priority=0 idle_timeout=0
hard_timeout=0 flags=0x importance=0 cookie=0 packet_count=3 byte_count=182
match=OFPMatch(oxm_fields={})
instructions=[OFPInstructionActions(actions=[OFPActionOutput(len=16,max_len=65535,port=4294967293,type=0)],len=24,type=4)]']
Thanks
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.
http://osrg.github.io/ryu-book/en/html/switching_hub.html#exe
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
T
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 m
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 lik
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 m
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 th
1 - 100 of 1229 matches
Mail list logo