summaryrefslogtreecommitdiffstats
path: root/test/ipfix.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-02-13 07:44:52 -0800
committerDamjan Marion <dmarion@me.com>2019-02-20 09:35:00 +0000
commit2cc29a5264d22185a97190eeb820a7ce4978eaf7 (patch)
tree1374f55570f02ce7143cb2de2151d2a3419c024d /test/ipfix.py
parent8a140616a5bab477817e7ed59afe6b01bd3d2f3a (diff)
make test-doc: Clean up import errors.
Mock additional 3rd party modules and replace wildcard imports that were confusing sphinx. Change-Id: Ia9e599901a2a3fad854d3631dd0991183ae6d715 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/ipfix.py')
-rw-r--r--test/ipfix.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ipfix.py b/test/ipfix.py
index 97b559e083b..e1c41b708d7 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