1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
"""Test GetConfigReply message."""
from pyof.v0x01.controller2switch.common import ConfigFlag
from pyof.v0x01.controller2switch.get_config_reply import GetConfigReply
from tests.unit.test_struct import TestStruct
class TestGetConfigReply(TestStruct):
"""Test class for TestGetConfigReply."""
@classmethod
def setUpClass(cls):
"""[Controller2Switch/GetConfigReply] - size 12."""
super().setUpClass()
super().set_raw_dump_file('v0x01', 'ofpt_get_config_reply')
super().set_raw_dump_object(GetConfigReply, xid=13,
flags=ConfigFlag.OFPC_FRAG_REASM,
miss_send_len=1024)
super().set_minimum_size(12)
|