enable OF1.3 support
Ryu sucessfully connects to CPqD OF1.3 switch. https://github.com/CPqD/ofsoftswitch13 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
91df9a3890
commit
3dcb33bb1e
@ -6,7 +6,7 @@ Ryu aims to provide a logically centralized control and well defined
|
|||||||
API that make it easy for operators to create new network management
|
API that make it easy for operators to create new network management
|
||||||
and control applications. Currently, Ryu manages network devices by
|
and control applications. Currently, Ryu manages network devices by
|
||||||
using OpenFlow. You can say that Ryu is an OpenFlow Controller, which
|
using OpenFlow. You can say that Ryu is an OpenFlow Controller, which
|
||||||
support OpenFlow v1.0, v1.2, and Nicira Extensions.
|
support OpenFlow v1.0, v1.2, v1.3, and Nicira Extensions.
|
||||||
|
|
||||||
All of the code is freely available under the Apache 2.0 license. Ryu
|
All of the code is freely available under the Apache 2.0 license. Ryu
|
||||||
is fully written in Python.
|
is fully written in Python.
|
||||||
|
@ -31,6 +31,8 @@ from ryu.ofproto import ofproto_v1_0
|
|||||||
from ryu.ofproto import ofproto_v1_0_parser
|
from ryu.ofproto import ofproto_v1_0_parser
|
||||||
from ryu.ofproto import ofproto_v1_2
|
from ryu.ofproto import ofproto_v1_2
|
||||||
from ryu.ofproto import ofproto_v1_2_parser
|
from ryu.ofproto import ofproto_v1_2_parser
|
||||||
|
from ryu.ofproto import ofproto_v1_3
|
||||||
|
from ryu.ofproto import ofproto_v1_3_parser
|
||||||
from ryu.ofproto import nx_match
|
from ryu.ofproto import nx_match
|
||||||
|
|
||||||
from ryu.controller import dispatcher
|
from ryu.controller import dispatcher
|
||||||
@ -106,6 +108,8 @@ class Datapath(object):
|
|||||||
ofproto_v1_0_parser),
|
ofproto_v1_0_parser),
|
||||||
ofproto_v1_2.OFP_VERSION: (ofproto_v1_2,
|
ofproto_v1_2.OFP_VERSION: (ofproto_v1_2,
|
||||||
ofproto_v1_2_parser),
|
ofproto_v1_2_parser),
|
||||||
|
ofproto_v1_3.OFP_VERSION: (ofproto_v1_3,
|
||||||
|
ofproto_v1_3_parser),
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, socket, address):
|
def __init__(self, socket, address):
|
||||||
|
@ -69,7 +69,8 @@ def _create_ofp_msg_ev_from_module(modname):
|
|||||||
|
|
||||||
# TODO:XXX
|
# TODO:XXX
|
||||||
_PARSER_MODULE_LIST = ['ryu.ofproto.ofproto_v1_0_parser',
|
_PARSER_MODULE_LIST = ['ryu.ofproto.ofproto_v1_0_parser',
|
||||||
'ryu.ofproto.ofproto_v1_2_parser']
|
'ryu.ofproto.ofproto_v1_2_parser',
|
||||||
|
'ryu.ofproto.ofproto_v1_3_parser']
|
||||||
|
|
||||||
for m in _PARSER_MODULE_LIST:
|
for m in _PARSER_MODULE_LIST:
|
||||||
# print 'loading module %s' % m
|
# print 'loading module %s' % m
|
||||||
|
Loading…
Reference in New Issue
Block a user