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:
parent
5099034d0c
commit
214cd8c305
@ -1,5 +1,6 @@
|
||||
{
|
||||
"OFPErrorExperimenterMsg": {
|
||||
"OFPErrorMsg": {
|
||||
"code": null,
|
||||
"data": "amlra2VuIGRhdGE=",
|
||||
"exp_type": 60000,
|
||||
"experimenter": 999999,
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"OFPErrorExperimenterMsg": {
|
||||
"OFPErrorMsg": {
|
||||
"code": null,
|
||||
"data": "amlra2VuIGRhdGE=",
|
||||
"exp_type": 60000,
|
||||
"experimenter": 999999,
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"OFPErrorExperimenterMsg": {
|
||||
"OFPErrorMsg": {
|
||||
"code": null,
|
||||
"data": "amlra2VuIGRhdGE=",
|
||||
"exp_type": 60000,
|
||||
"experimenter": 999999,
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"OFPErrorExperimenterMsg": {
|
||||
"OFPErrorMsg": {
|
||||
"code": null,
|
||||
"data": "amlra2VuIGRhdGE=",
|
||||
"exp_type": 60000,
|
||||
"experimenter": 999999,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user