diff --git a/scapy/contrib/openflow3.uts b/scapy/contrib/openflow3.uts index 0fb844ac548bedd4b189a3384166687dcbfab1e5..b86230091c98ed9f6cfee8cef6b1fbeb03efa299 100755 --- a/scapy/contrib/openflow3.uts +++ b/scapy/contrib/openflow3.uts @@ -1,5 +1,13 @@ % 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