X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fipfix.py;h=dd43560d9a68e27d4907776411b6e2764a9e1f73;hb=a6bee0a11a07e4e1e4ac67e5041e9ad197766ba2;hp=97b559e083b1eb49befdd167f3c2aa4de32ed5a2;hpb=a431ad1c486ad0fd9ca35e14c527fe7611965fc2;p=vpp.git diff --git a/test/ipfix.py b/test/ipfix.py index 97b559e083b..dd43560d9a6 100644 --- a/test/ipfix.py +++ b/test/ipfix.py @@ -1,7 +1,9 @@ #!/usr/bin/env python # IPFIX support for Scapy (RFC7011) -from scapy.all import * +from scapy.all import bind_layers, FieldLenField, IntField, Packet, \ + PacketListField, ShortEnumField, ShortField, StrLenField +from scapy.layers.inet import UDP # IPFIX Information Elements http://www.iana.org/assignments/ipfix/ipfix.xhtml @@ -507,7 +509,7 @@ class IPFIXDecoder(object): def add_template(self, template): """ - Add IPFIX tempalte + Add IPFIX template :param template: IPFIX template """