unit/ofproto: Adopt to rename of OFPErrorExperimenterMsg

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
IWASE Yusuke 2017-07-20 14:10:51 +09:00 committed by FUJITA Tomonori
parent 5099034d0c
commit 214cd8c305
5 changed files with 22 additions and 18 deletions

View File

@ -1,5 +1,6 @@
{
"OFPErrorExperimenterMsg": {
"OFPErrorMsg": {
"code": null,
"data": "amlra2VuIGRhdGE=",
"exp_type": 60000,
"experimenter": 999999,

View File

@ -1,5 +1,6 @@
{
"OFPErrorExperimenterMsg": {
"OFPErrorMsg": {
"code": null,
"data": "amlra2VuIGRhdGE=",
"exp_type": 60000,
"experimenter": 999999,

View File

@ -1,5 +1,6 @@
{
"OFPErrorExperimenterMsg": {
"OFPErrorMsg": {
"code": null,
"data": "amlra2VuIGRhdGE=",
"exp_type": 60000,
"experimenter": 999999,

View File

@ -1,5 +1,6 @@
{
"OFPErrorExperimenterMsg": {
"OFPErrorMsg": {
"code": null,
"data": "amlra2VuIGRhdGE=",
"exp_type": 60000,
"experimenter": 999999,

View File

@ -828,7 +828,7 @@ class TestOFPErrorMsg(unittest.TestCase):
self._test_serialize(type_, code, data)
def test_serialize_max(self):
type_ = 65535
type_ = 65534 # 65535 collides OFPET_EXPERIMENTER
code = 65535
data = b'Error Message.'.ljust(65523)
self._test_serialize(type_, code, data)
@ -1242,7 +1242,7 @@ class TestOFPErrorExperimenterMsg(unittest.TestCase):
if data is not None:
buf += data
res = OFPErrorExperimenterMsg.parser(
res = OFPErrorMsg.parser(
object, version, msg_type, msg_len, xid, buf)
eq_(res.version, version)