add REST-API for VLAN configuration of rest_firewall application.
it implements handling each vlan groups separately.
This update(v1->v2) contains the following change.
make function of conversion of cookie and ruleID for easily understanding.
Signed-off-by: WATANABE Fumitaka
---
ryu/app/re
On Thu, Jun 13, 2013 at 01:33:46PM +0900, YAMAMOTO Takashi wrote:
> >> def parser(cls, datapath, version, msg_type, msg_len, xid, buf):
> >> @@ -195,7 +200,7 @@ class OFPSwitchFeatures(MsgBase):
> >> msg.n_buffers,
> >> msg.n_tables,
> >> msg.capabilities,
> >> -
On Wed, Jun 12, 2013 at 07:44:12PM +0900, YAMAMOTO Takashi wrote:
>
> Signed-off-by: YAMAMOTO Takashi
> ---
> ryu/ofproto/ofproto_v1_2_parser.py | 12 +---
> 1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/ryu/ofproto/ofproto_v1_2_parser.py
> b/ryu/ofproto/ofproto_v1_2
>> def parser(cls, datapath, version, msg_type, msg_len, xid, buf):
>> @@ -195,7 +200,7 @@ class OFPSwitchFeatures(MsgBase):
>> msg.n_buffers,
>> msg.n_tables,
>> msg.capabilities,
>> - msg.reserved) = struct.unpack_from(
>> + msg._reserved) = stru
On Wed, Jun 12, 2013 at 07:44:11PM +0900, YAMAMOTO Takashi wrote:
>
> Signed-off-by: YAMAMOTO Takashi
> ---
> ryu/ofproto/ofproto_v1_2.py| 12 ++
> ryu/ofproto/ofproto_v1_2_parser.py | 246
> +
> 2 files changed, 180 insertions(+), 78 deletions(-)
>
On Wed, Jun 12, 2013 at 07:44:09PM +0900, YAMAMOTO Takashi wrote:
>
> Signed-off-by: YAMAMOTO Takashi
> ---
> ryu/ofproto/ofproto_parser.py | 151
> +-
> 1 file changed, 149 insertions(+), 2 deletions(-)
>
> diff --git a/ryu/ofproto/ofproto_parser.py b/r
On Wed, Jun 12, 2013 at 07:44:01PM +0900, YAMAMOTO Takashi wrote:
>
> Signed-off-by: YAMAMOTO Takashi
> ---
> ryu/controller/controller.py | 11 ---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
> index 66d
On Wed, Jun 12, 2013 at 10:28:36PM +0900, imeat u wrote:
> Hi,
>
>
> > What do you want to achieve?
>
> I'm sorry I couldn't express myself properly.
You mean Ryu plugin? devstack runs ryu-manager for you.
So you should not run simple_switch.py.
thanks,
>
> I want to let "Ping command" succ
Hi YAMAMOTO Takashi,
Now I am able to get fields on the flow table entries whatever I used
for matching.
Thank you so much.
Gandhi
On 12 June 2013 02:02, YAMAMOTO Takashi wrote:
> hi,
>
> please don't drop ML Cc.
>
> i meant something like this.
> https://github.com/FlowForwarding/LINC-Sw
Hey there
Whats the right way to implement a custom-Event between two app's?
That's the way I have done this:
### file: ryu/app/app_one.py ###
import ryu.app.AppOne
...
class EventAppOne(event.EventBase):
def __init__ ...
...
class AppOne(app_manager.RyuApp):
def __init__ ...
Hi,
I'm trying to run the app/cli.py application. I've found 2 versions of the
file: an older one supporting telnet and a newer one supporting ssh.
I've also created the required logger.py, management.py, plogger.py and
call_via_pipe.py files.
They both run, but when trying to connect the server
Hi,
> What do you want to achieve?
I'm sorry I couldn't express myself properly.
I want to let "Ping command" succeed.
o Network Node
# ip netns exec qdhcp-d7b85689-cc2e-4420-bc54-1927ee3a3be2 ping 172.17.0.3
PING 172.17.0.3 (172.17.0.3) 56(84) bytes of data.
From 172.17.0.2 icmp_s
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_3_parser.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py
b/ryu/ofproto/ofproto_v1_3_parser.py
index f8221f2..12c41df 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_
instead of UINTxx_MAX, [], a lack of the "mask" attribute, etc
remove automatic-mask functionality.
it's caller's responsibility to ensure (value & mask) == value now.
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_2_parser.py| 110 ++
ryu/tests/u
From: YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_0_parser.py | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_0_parser.py
b/ryu/ofproto/ofproto_v1_0_parser.py
index 8bca9e9..f647d0c 100644
--- a/ryu/
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/mkdata/Makefile | 5 +
ryu/tests/unit/ofproto/mkdata/rebar.config | 3 +++
ryu/tests/unit/ofproto/mkdata/src/er.app.src | 8 +++
ryu/tests/unit/ofproto/mkdata/src/x.erl | 31
4 files c
avoid crashing when the switch happens to have flows with
non OFPInstructionActions instructions.
Signed-off-by: YAMAMOTO Takashi
---
ryu/lib/ofctl_v1_2.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py
index 0789bf6..d08bb21 100644
--- a/ryu
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_parser.py | 151 +-
1 file changed, 149 insertions(+), 2 deletions(-)
diff --git a/ryu/ofproto/ofproto_parser.py b/ryu/ofproto/ofproto_parser.py
index 73a6d9e..e88802e 100644
--- a/ryu/ofproto/ofprot
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/test_parser.py | 105 ++
1 file changed, 105 insertions(+)
create mode 100644 ryu/tests/unit/ofproto/test_parser.py
diff --git a/ryu/tests/unit/ofproto/test_parser.py
b/ryu/tests/unit/ofproto/test_parse
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/test_parser_v12.py | 10 ++
1 file changed, 10 insertions(+)
diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py
b/ryu/tests/unit/ofproto/test_parser_v12.py
index 550a47b..57fe78c 100644
--- a/ryu/tests/unit/ofproto/test_par
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_3_parser.py | 452 +++--
1 file changed, 230 insertions(+), 222 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py
b/ryu/ofproto/ofproto_v1_3_parser.py
index 12c41df..c54205b 100644
--- a/ryu/o
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_2_parser.py| 390 +++---
ryu/tests/unit/ofproto/test_parser_v12.py | 108 -
2 files changed, 253 insertions(+), 245 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py
b/ryu/ofproto/ofpr
some internal members were renamed.
(OFPSwitchFeatures, OFPPacketOut)
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/test_parser_v12.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py
b/ryu/tests/unit/ofproto/test_par
this is an updated RFC patch set for OFPxxx <-> json conversion.
this includes some not-so-related patches posted here but not merged yet.
i'd like to ask comments about esp. unit test parts.
(the last several patches)
changes from the previous one:
- adapt the major part of OF1.2.
- unit tests
Signed-off-by: YAMAMOTO Takashi
---
ryu/controller/controller.py | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index 66d50a3..60943b7 100644
--- a/ryu/controller/controller.py
+++ b/ryu/controller/contr
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/data/ofp_desc_stats_reply.packet | Bin 0 -> 1072 bytes
ryu/tests/unit/ofproto/data/ofp_packet_out.packet | Bin 0 -> 138 bytes
2 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 ryu/tests/unit/ofproto/data/ofp_de
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_2.py| 12 ++
ryu/ofproto/ofproto_v1_2_parser.py | 246 +
2 files changed, 180 insertions(+), 78 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_2.py b/ryu/ofproto/ofproto_v1_2.py
index 27fc6
Signed-off-by: YAMAMOTO Takashi
---
.../unit/ofproto/data/ofp_desc_stats_reply.packet.json| 14 ++
ryu/tests/unit/ofproto/data/ofp_packet_out.packet.json| 15 +++
2 files changed, 29 insertions(+)
create mode 100644 ryu/tests/unit/ofproto/data/ofp_desc_stats_repl
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_2_parser.py | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py
b/ryu/ofproto/ofproto_v1_2_parser.py
index d13d044..6c0cead 100644
--- a/ryu/ofproto/ofproto_v1_2_parser.py
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/nx_match.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ryu/ofproto/nx_match.py b/ryu/ofproto/nx_match.py
index be65eb5..40c98df 100644
--- a/ryu/ofproto/nx_match.py
+++ b/ryu/ofproto/nx_match.py
@@ -114,6 +114,8 @@ class FlowWildcard
Signed-off-by: YAMAMOTO Takashi
---
ryu/app/rest_firewall.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ryu/app/rest_firewall.py b/ryu/app/rest_firewall.py
index e67ccd5..f007489 100644
--- a/ryu/app/rest_firewall.py
+++ b/ryu/app/rest_firewall.py
@@ -105,9 +105,
hi,
please don't drop ML Cc.
i meant something like this.
https://github.com/FlowForwarding/LINC-Switch/pull/89
YAMAMOTO Takashi
> hi,
>
>> {ofp_message,4,flow_mod,1564942082,{ofp_flow_mod,<<0,0,0,0,0,0,0,0>>,<<0,0,0,0,0,0,0,0>>,0,add,0,0,126,65535,any,any,[],{ofp_match,[{ofp_field,openflow_ba
32 matches
Mail list logo