os-ken/ryu
Minoru TAKAHASHI 6b3c4dfd43 ofproto: Fixes invalid async config property types
The following types are presents in Openflow Spec v1.4.0 and 1.4.1.

OFPTFPT_EXPERIMENTER_SLAVE = 0xFFFE
OFPTFPT_EXPERIMENTER_MASTER = 0xFFFF

Prefix of async config property type should be 'OFPACPT_' but the above are starting with 'OFPTFPT_'.
Because these types have been fixed in Openflow v1.5.0, this patch fixes the above types in ofproto_v1_4.py as follows.

OFPTFPT_EXPERIMENTER_SLAVE = 0xFFFE  <-- treated as deprecated[*1]
OFPTFPT_EXPERIMENTER_MASTER = 0xFFFF <-- treated as deprecated[*1]
OFPACPT_EXPERIMENTER_SLAVE = 0xFFFE
OFPACPT_EXPERIMENTER_MASTER = 0xFFFF

[*1] OFPTFPT_EXPERIMENTER_SLAVE/MASTER are left in ofproto_v1_4.py for backward compatibility.

Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-02-18 13:24:06 +09:00
..
app simple_switch: Separate simple_switch for beginners 2016-02-18 08:42:30 +09:00
base Ensure to terminate threads where RyuApp.start() gives a thread object 2015-12-25 10:03:53 +09:00
cmd python3: import __future__ for just in case 2015-11-13 15:36:51 +09:00
contrib eventlet has already supported WebSocket(RFC6455) in stable releases (>= 0.15) 2015-06-23 14:55:51 +09:00
controller Reconnected event additions and cleanups 2016-01-31 13:19:27 +09:00
lib tox: Adapt to PyPy interpreter 2016-02-10 13:46:35 +09:00
ofproto ofproto: Fixes invalid async config property types 2016-02-18 13:24:06 +09:00
services protocols/bgp: Log socket creation error 2016-02-10 13:35:12 +09:00
tests Fix i386 test failures 2016-02-18 06:51:53 +09:00
topology Reconnected event additions and cleanups 2016-01-31 13:19:27 +09:00
__init__.py Ryu 3.30 2016-02-02 09:27:53 +09:00
cfg.py Adapt to namespace-less oslo 2015-05-19 15:39:27 +09:00
exception.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
flags.py tester: Support to test OpenFlow1.0 switch 2015-10-28 14:32:02 +09:00
hooks.py Fix Windows setup dependency bug 2014-01-06 20:32:05 +09:00
log.py 'ConfigParser' is renamed to 'configparser' in Python 3 2015-04-14 05:31:42 +09:00
utils.py fixes for mutable default arguments 2016-01-19 10:03:57 +09:00