Skip to content
Snippets Groups Projects
Commit 78702752 authored by Frank Sigalas's avatar Frank Sigalas
Browse files

add unit tests

parent 94dce6df
No related branches found
No related tags found
No related merge requests found
% Tests for OpenFlow v1.3 with Scapy
+ Fields
= GroupDescPacketListField(), check getfield
remain, lst = GroupDescPacketListField(None, None, None).getfield(None, b'\x00\x10')
not remain
all([OFPGroupDesc in gd for gd in lst])
lst[0].length == 0x0010
+ Usual OFv1.3 messages
= OFPTHello(), hello without version bitmap
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment