TODO: Because Open vSwitch (lib/ofp-util) does not support Egress
Tables [EXT-306] yet, re-generate the packet data by using
packet_data_generator2 when Open vSwitch supports it.
Reference: OpenFlow 1.1+ support status of Open vSwitch
https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.
OpenFlow Spec 1.5 introduces a new ofp_table_features structures
in accordance with table feature request commands for simpler table
features updates.
This patch fixes OFPTableFeaturesStats class to support the new
structure of ofp_table_features.
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofp
OpenFlow Spec 1.5 introduces new table feature properties as following.
enum ofp_table_feature_prop_type {
...
OFPTFPT_WRITE_COPYFIELD = 18, /* Write Copy-Field property. */
OFPTFPT_WRITE_COPYFIELD_MISS = 19, /* Write Copy-Field for table-miss. */
OFPTFPT_APPLY_COPYFIELD = 20, /*
These patches are related to the updates of 'B.18.1 Egress Tables'
EXT-306 and EXT-233 in OpenFlow 1.5.
IWASE Yusuke (3):
ofproto_v1_5_parser: Add new table feature properties support
ofproto_v1_5_parser: Support new OFPTableFeaturesStats structure
test_parser: Add test case for OFP15 table_
Note: ofproto_v1_[034]_parser was done in previous commits.
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofproto_v1_5_parser.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_5_parser.py
b/ryu/ofproto/ofproto_v1_5_parser.py
index 4b6b235..02f980c
To support Python3, buffer() type need to be replaced with
six.binary_type().
Note: ofproto_v1_[0234]_parser was done in previous commits.
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofproto_v1_5_parser.py | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/ryu
TODO: Because Open vSwitch (lib/ofp-util) does not support OF1.5
group_desc structure [EXT-350] yet, re-generate the packet data by
using packet_data_generator2 when Open vSwitch supports it.
Reference: OpenFlow 1.1+ support status of Open vSwitch
https://github.com/openvswitch/ovs/blob/master/OPE
Signed-off-by: IWASE Yusuke
---
.../of15/libofproto-OFP15-group_mod.packet.json| 61 ++
1 file changed, 61 insertions(+)
create mode 100644
ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_mod.packet.json
diff --git
a/ryu/tests/unit/ofproto/json/of15/libofproto-
Signed-off-by: IWASE Yusuke
---
.../packet_data/of15/libofproto-OFP15-group_mod.packet | Bin 0 -> 80 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-group_mod.packet
diff --git a/ryu/tests/packet_data/of15/libofproto-OFP1
OpenFlow Spec 1.5 adds properties field which is a list of group
properties.
This patch adds properties field support in group description
multipart reply message.
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofproto_v1_5_parser.py | 29 +++--
1 file changed, 19 insertion
Signed-off-by: IWASE Yusuke
---
ryu/tests/packet_data_generator2/gen.c | 37 ++
1 file changed, 37 insertions(+)
diff --git a/ryu/tests/packet_data_generator2/gen.c
b/ryu/tests/packet_data_generator2/gen.c
index 11d4c49..db16391 100644
--- a/ryu/tests/packet_data
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofproto_v1_3.py | 9 +++--
ryu/ofproto/ofproto_v1_4.py | 11 ++-
ryu/ofproto/ofproto_v1_5.py | 11 ++-
3 files changed, 19 insertions(+), 12 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py
index
OpenFlow Spec 1.5 adds bucket_id and properties fields.
And also introduces command_bucket_id field which indicates
Bucket Id used as part of the new commands, OFPGC_INSERT_BUCKET
and OFPGC_REMOVE_BUCKET.
This patch adds these fields support and fixes the example of
usage according to this changes
OpenFlow Spec 1.5 introduces group property to extend groups.
This patch add group property support.
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofproto_v1_5_parser.py | 9 +
1 file changed, 9 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_5_parser.py
b/ryu/ofproto/ofproto_v1_5_par
OpenFlow Spec 1.5 introduces group bucket properties to extend
group buckets and redefine bucket fields weight, watch_port and
watch_group as group bucket properties.
This patch adds group bucket properties support and restructures
bucket fields.
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofpr
Signed-off-by: IWASE Yusuke
---
ryu/ofproto/ofproto_v1_5.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_5.py b/ryu/ofproto/ofproto_v1_5.py
index 753b951..0740884 100644
--- a/ryu/ofproto/ofproto_v1_5.py
+++ b/ryu/ofproto/ofproto_v1_5.py
@@ -666
The previous patches are missing the compatibility with Python3.
The following are the additional patches to support Python3 in
ofproto_v1_5_parser.py.
+ ofproto_v1_5_parser: Use six.binary_type instead of buffer
+ ofproto_v1_5_parser: Use b'str' for binary data
(Previous Post)
This patches ar
Hi,
Here's a new release including lots of stuff:
- Python3 support
- OF1.5 support improvement
- NX support improvement
- New OVSDB manager protocol application
- Topology app improvement
Another big news is that Ryu became one of Python libraries that
OpenStack officially depends on:
https://
On Sat, 1 Aug 2015 07:49:08 + (UTC)
Saurabh Jain wrote:
> I have tried setup.py script to install Ryu Controller, but it seems
> that some packages should be installed before using this script.May
> be Ryu can install dependencies through script.
Unfortunately, that's Python limit. Python ca
Hi Fujita-San,
On 2015年07月31日 16:42, FUJITA Tomonori wrote:
> On Fri, 31 Jul 2015 10:28:19 +0900
> Yusuke Iwase wrote:
>
>> This patches are related to the updates of 'B.18.8 Group command
>> for selective bucket operation' in OpenFlow 1.5.
>>
>> IWASE Yusuke (10):
>> ofproto_v1_5: Fix a typo
20 matches
Mail list logo