Signed-off-by: Yuichi Ito
---
doc/source/library_packet_ref.rst |4 +
ryu/lib/packet/igmp.py | 104 +
ryu/lib/packet/ipv4.py |2 +
ryu/ofproto/inet.py|1 +
ryu/tests/unit/packet/test_igmp.py | 146 +
this application provides the simple example of link aggregation using LACP.
the module "lacplib" controls exchange of LACP packets and watches the status
of the slave i/fs.
the status changes if the i/fs went into a LAG or timeout to exchange LACP
occurred.
the module sends a "EventSlaveStateCh
Hi,
I would like to know what 'acts' will assume as a argument. I have noticed
that a map is used as a default argument of 'to_actions' function in
lib/ofctl_v1_3.py:257. However, it seems that 'acts' assumes a seq. I think
that acts.items() is used if it is a map.
(lib/ofctl_v1_3.py:245)
def mod
Ooo i see, thanks for the reply.
It usually works assynchronously, i even used it like that on NOX and POX,
but i was having a tough time with this. Will include it on the
documentation!
It worked now, will carry on to doing a tutorial *all you need to program
in RYU* now. Thanks for all the help
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/test_parser_compat.py | 133 +++
1 file changed, 133 insertions(+)
create mode 100644 ryu/tests/unit/ofproto/test_parser_compat.py
diff --git a/ryu/tests/unit/ofproto/test_parser_compat.py
b/ryu/tests/unit/ofpr
On Wed, 7 Aug 2013 14:13:04 -0300
Tonhão - Antonio Brasolin wrote:
> Sorry to bother you again, i still can't quite get it to work.
>
> I tried to use the method defined there, but the stats always returns empty.
>
> How i tried:
> .
> .
> .
> def getPeriodicStats(dp):
> """show periodic st
Sorry to bother you again, i still can't quite get it to work.
I tried to use the method defined there, but the stats always returns empty.
How i tried:
.
.
.
def getPeriodicStats(dp):
"""show periodic stats on screen
:param dp: the datapath from which the stats shall be shown
"""
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
b/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
index 415a20f
following the recent OFPMatch api changes,
this set changes OFPActionSetField api.
for now, compatibility with the old api is maintained.
old api:
ofproto_v1_3_parser.OFPActionSetField(ofproto_v1_3_parser.MTInPort(
ofproto_v1_3.OXM_OF_IN_PORT, 1))
new api:
ofproto_v1_3_parser.OFP
old api:
OFPActionSetField(MTInPort(OXM_OF_IN_PORT, 1))
new api:
OFPActionSetField("in_port", 1)
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_2_parser.py | 155 +
1 file changed, 122 insertions(+), 33 deletions(-)
diff --git a/ryu/ofpro
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/packet_data_generator/src/x3.erl | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ryu/tests/packet_data_generator/src/x3.erl
b/ryu/tests/packet_data_generator/src/x3.erl
index 4052327..6f608ac 100644
--- a/ryu/tests/packet_dat
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/packet_data/of13/4-2-ofp_flow_mod.packet | Bin 88 -> 104 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/ryu/tests/packet_data/of13/4-2-ofp_flow_mod.packet
b/ryu/tests/packet_data/of13/4-2-ofp_flow_mod.packet
index
4760fa63f20f
old api:
OFPActionSetField(MTInPort(OXM_OF_IN_PORT, 1))
new api:
OFPActionSetField("in_port", 1)
Signed-off-by: YAMAMOTO Takashi
---
ryu/ofproto/ofproto_v1_3_parser.py | 155 +
1 file changed, 122 insertions(+), 33 deletions(-)
diff --git a/ryu/ofpro
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/packet_data_generator/src/x4.erl | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ryu/tests/packet_data_generator/src/x4.erl
b/ryu/tests/packet_data_generator/src/x4.erl
index 154bfec..c87dcb1 100644
--- a/ryu/tests/packet_dat
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/packet_data/of12/3-2-ofp_flow_mod.packet | Bin 88 -> 104 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/ryu/tests/packet_data/of12/3-2-ofp_flow_mod.packet
b/ryu/tests/packet_data/of12/3-2-ofp_flow_mod.packet
index
67796d776503
Signed-off-by: YAMAMOTO Takashi
---
ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json
b/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json
index 415a20f
16 matches
Mail list logo