mirror of
https://github.com/openvswitch/ovs
synced 2025-09-04 16:25:17 +00:00
Initial OpenFlow 1.3 support
Initial OpenFlow 1.3 support with new include/openflow/openflow-1.3.h. Most of the messages that differ from 1.2 are implemented. OFPT_SET_ASYNC is implemented via NX_SET_ASYNC_CONFIG, other new message types are yet to be implemented. Stats replies that add duration fields are implemented at encode/decode level only. Test cases for implemented features are included. Remaining FIXME:s should not cause runtime aborts. Make check comes out clean. Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
committed by
Ben Pfaff
parent
6ed3b860fe
commit
2e1ae2005e
@@ -31,6 +31,8 @@ ofperr_domain_from_version(enum ofp_version version)
|
||||
return &ofperr_of11;
|
||||
case OFP12_VERSION:
|
||||
return &ofperr_of12;
|
||||
case OFP13_VERSION:
|
||||
return &ofperr_of13;
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
@@ -257,6 +259,7 @@ ofperr_encode_hello(enum ofperr error, enum ofp_version ofp_version,
|
||||
case OFP10_VERSION:
|
||||
case OFP11_VERSION:
|
||||
case OFP12_VERSION:
|
||||
case OFP13_VERSION:
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user