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>
This commit is contained in:

committed by
Damjan Marion

parent
8a140616a5
commit
2cc29a5264
@ -33,7 +33,12 @@ extensions = [
|
|||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
]
|
]
|
||||||
autodoc_mock_imports = ['objgraph',
|
autodoc_mock_imports = ['objgraph',
|
||||||
|
'parameterized',
|
||||||
|
'pexpect',
|
||||||
|
'psutil',
|
||||||
'pympler',
|
'pympler',
|
||||||
|
'scapy',
|
||||||
|
'syslog_rfc5424_parser',
|
||||||
'vpp_papi']
|
'vpp_papi']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# IPFIX support for Scapy (RFC7011)
|
# 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
|
# IPFIX Information Elements http://www.iana.org/assignments/ipfix/ipfix.xhtml
|
||||||
|
Reference in New Issue
Block a user