On Wed, 14 May 2014 15:34:23 +0900
Yoshihiro Kaneko wrote:
> 2014-05-14 13:27 GMT+09:00 FUJITA Tomonori :
>> On Tue, 13 May 2014 19:05:33 +0900
>> Yoshihiro Kaneko wrote:
>>
>>> Add the pep8 section to tox.ini and specify ignoring E113.
>>> Many E113 errors appeared on comments. It seems a bug o
Signed-off-by: Yoshihiro Kaneko
---
ryu/app/rest_qos.py |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/app/rest_qos.py b/ryu/app/rest_qos.py
index 55847a1..b9f2791 100644
--- a/ryu/app/rest_qos.py
+++ b/ryu/app/rest_qos.py
@@ -43,9 +43,9 @@ from ryu.ofproto import
2014-05-14 13:27 GMT+09:00 FUJITA Tomonori :
> On Tue, 13 May 2014 19:05:33 +0900
> Yoshihiro Kaneko wrote:
>
>> Add the pep8 section to tox.ini and specify ignoring E113.
>> Many E113 errors appeared on comments. It seems a bug of pep8, so it can be
>> ignored.
>>
>> Signed-off-by: Yoshihiro Kan
On Tue, 13 May 2014 19:05:33 +0900
Yoshihiro Kaneko wrote:
> Add the pep8 section to tox.ini and specify ignoring E113.
> Many E113 errors appeared on comments. It seems a bug of pep8, so it can be
> ignored.
>
> Signed-off-by: Yoshihiro Kaneko
> ---
> run_tests.sh |3 +--
> tox.ini
On Tue, 13 May 2014 19:33:25 +0900
Kiyonari Harigae wrote:
> Yes, I wanted to contribute for Ryu book if the opportunity arises.
> I would like to write them, and have finished writing the article, I will
> send the patch.
> Anyway, I'll fork the ryu book repository!
Great, looking forward to a
On Tue, 13 May 2014 19:54:01 -0400
saman biook aghazadeh wrote:
> In a simple controller, I wanted to assign a meter to a specific flow. I
> searched the whole documentation, but couldn't find anything useful.
>
> Does anyone have any idea how to do this?
Written in Japanese but I guess you can
Signed-off-by: Yoshihiro Kaneko
---
ryu/tests/unit/lib/test_rpc.py|8 +++---
ryu/tests/unit/ofproto/test_parser_v10.py |6 ++--
ryu/tests/unit/ofproto/test_parser_v12.py |6 ++--
ryu/tests/unit/packet/test_bgp.py | 44 +++--
ryu/tests/unit
Signed-off-by: Yoshihiro Kaneko
---
ryu/tests/integrated/test_request_reply_v12.py |4 ++--
ryu/tests/integrated/vrrp_common.py|8
ryu/tests/switch/tester.py |8
ryu/tests/test_lib.py |6 +++---
4 files cha
Dear All,
In a simple controller, I wanted to assign a meter to a specific flow. I
searched the whole documentation, but couldn't find anything useful.
Does anyone have any idea how to do this?
--
"Accelerate Dev Cycles w
Hi, Here is a way to do.
def remove_table_flows(self, datapath, table_id, match, instructions):
"""Create OFP flow mod message to remove flows from table."""
ofproto = datapath.ofproto
flow_mod = datapath.ofproto_parser.OFPFlowMod(datapath, 0, 0,
table_id,
hi,everyone:
when i want to remove all flows of table 1.i code that
" match = parser.OFPMatch()
instructions = []
flow_mod = datapath.ofproto_parser.OFPFlowMod(datapath, 0, 0,
table_id,
ofproto.OFPFC_DELETE,
0, 0,
Signed-off-by: Yoshihiro Kaneko
---
ryu/services/protocols/bgp/application.py |2 +-
ryu/services/protocols/bgp/bgp_sample_conf.py |4 +--
ryu/services/protocols/bgp/operator/ssh.py| 14 -
ryu/services/protocols/vrrp/dumper.py | 42 +
ry
Signed-off-by: Yoshihiro Kaneko
---
ryu/lib/xflow/sflow.py |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/lib/xflow/sflow.py b/ryu/lib/xflow/sflow.py
index 4e80b56..3b4d72f 100644
--- a/ryu/lib/xflow/sflow.py
+++ b/ryu/lib/xflow/sflow.py
@@ -134,7 +134,7 @@ class
Signed-off-by: Yoshihiro Kaneko
---
ryu/lib/packet/bgp.py | 10 +-
ryu/lib/packet/bpdu.py |2 +-
ryu/lib/packet/ipv6.py |6 +++---
ryu/lib/packet/ospf.py | 37 +++--
ryu/lib/packet/packet_utils.py |6 +++---
Signed-off-by: Yoshihiro Kaneko
---
ryu/lib/of_config/base.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/lib/of_config/base.py b/ryu/lib/of_config/base.py
index ca363bf..c657b10 100644
--- a/ryu/lib/of_config/base.py
+++ b/ryu/lib/of_config/base.py
@@ -111,7 +111,7
Signed-off-by: Yoshihiro Kaneko
---
ryu/lib/of_config/base.py |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/lib/of_config/base.py b/ryu/lib/of_config/base.py
index 6495924..ca363bf 100644
--- a/ryu/lib/of_config/base.py
+++ b/ryu/lib/of_config/base.py
@@ -60,7 +
Signed-off-by: Yoshihiro Kaneko
---
ryu/lib/igmplib.py| 46 +++---
ryu/lib/lacplib.py| 20 ++--
ryu/lib/ofctl_v1_2.py |4 ++--
ryu/lib/ofctl_v1_3.py |4 ++--
ryu/lib/rpc.py|2 +-
ryu/lib/stplib.py |8 +
Hi Fujita,
Thank you for apply.
Yes, I wanted to contribute for Ryu book if the opportunity arises.
I would like to write them, and have finished writing the article, I will
send the patch.
Anyway, I'll fork the ryu book repository!
Kiyonari Harigae
2014-05-13 14:41 GMT+09:00 FUJITA Tomonori :
Signed-off-by: Yoshihiro Kaneko
---
ryu/controller/controller.py |6 +++---
ryu/controller/dpset.py |4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index 48ab83c..a18d666 100644
--- a/ryu/controller/c
Signed-off-by: Yoshihiro Kaneko
---
ryu/app/ofctl/service.py | 10 +-
ryu/app/ofctl_rest.py |8
ryu/app/rest.py|4 ++--
ryu/app/rest_firewall.py | 15 ---
ryu/app/rest_router.py | 30 +++---
Signed-off-by: Yoshihiro Kaneko
---
ryu/topology/switches.py | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/ryu/topology/switches.py b/ryu/topology/switches.py
index 70226f1..4c66f0e 100644
--- a/ryu/topology/switches.py
+++ b/ryu/topology/switches.
Signed-off-by: Yoshihiro Kaneko
---
ryu/base/app_manager.py | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py
index 971918c..387d6ce 100644
--- a/ryu/base/app_manager.py
+++ b/ryu/base/app_manager.py
@@ -47,7 +47,7 @
Add the pep8 section to tox.ini and specify ignoring E113.
Many E113 errors appeared on comments. It seems a bug of pep8, so it can be
ignored.
Signed-off-by: Yoshihiro Kaneko
---
run_tests.sh |3 +--
tox.ini |4
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/r
Hi, answers below.
> > I believe the flow entry is correctly installed in the switch. When I run
> > the "ovs-ofctl dump-flows" cmd, it returns me two entries, the wildcard
> and
> > the one I created. However, the pkt and byte counters of mine rule are
> > always empty. To test it I created a pc
Hi, everyone,
I am a beginner of ryu development,I plan to develop my own APP based
on RYU. I need invoke the components in RYU,and use the library in it.
But, I confused how to find the components I need. futhermore I need to
define my own components and add more library, but ,I don't kown ho
25 matches
Mail list logo