diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2014-10-03 14:20:48 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-10-09 23:44:20 +0900 |
commit | 9c83c8dba9280949eda22a234d7af802ad9184a0 (patch) | |
tree | ff02f914e44a4ca67497eee09041f8d07672be54 | |
parent | 75753841aa66ce1aab5f56d83ea618ede8d82193 (diff) |
oxm_fields: Add a comment
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/oxm_fields.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ryu/ofproto/oxm_fields.py b/ryu/ofproto/oxm_fields.py index 1ca5f657..2e58386b 100644 --- a/ryu/ofproto/oxm_fields.py +++ b/ryu/ofproto/oxm_fields.py @@ -230,6 +230,10 @@ def parse(mod, buf, offset): offset + hdr_len) exp_hdr_len = struct.calcsize(exp_hdr_pack_str) if exp_id == ofproto_common.ONF_EXPERIMENTER_ID: + # XXX + # This block implements EXT-256 style experimenter OXM. + # However, according to blp, the extension will be rectified. + # https://www.mail-archive.com/dev%40openvswitch.org/msg37644.html onf_exp_type_pack_str = '!H' (exp_type, ) = struct.unpack_from(onf_exp_type_pack_str, buf, offset + hdr_len + exp_hdr_len) |