diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-06-15 13:25:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-06-15 13:25:53 +0900 |
commit | 9319c3e8ce26b79538a8199b2c53aaff83fac560 (patch) | |
tree | be04658aad773cf2040182cec0f0c39ccbd5efd2 | |
parent | 3fafa122d45f3e5577a8f72ff14e51feb915b402 (diff) |
of1.2: add MAX_XID constant
MAX_XID is the value that Ryu chooses. It not in the spec. So I tried
to move it out of ofproto_v1.2.py in the commit
500c744f9610e8a5ff05b6bb8a997b27e5c7f5ee. However, I forgot to add it
to somewhere. I'm not sure where is the best place for it so let's add
it to ofproto_v1.2.py for now.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/ofproto_v1_2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_2.py b/ryu/ofproto/ofproto_v1_2.py index 5567427f..7c9227ca 100644 --- a/ryu/ofproto/ofproto_v1_2.py +++ b/ryu/ofproto/ofproto_v1_2.py @@ -774,3 +774,5 @@ assert (calcsize(OFP_EXPERIMENTER_HEADER_PACK_STR) + OFP_HEADER_SIZE == # define constants OFP_VERSION = 0x03 OFP_TCP_PORT = 6633 + +MAX_XID = 0xffffffff |