diff options
author | selias <samelias@cisco.com> | 2016-09-21 10:52:31 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2016-10-03 13:13:24 +0000 |
commit | ac8b7ce3b05805a978b8186440e62dcd0d9023c3 (patch) | |
tree | 738c1db28b573db3d1e29f7e2487294177ffa433 /resources/traffic_scripts/ipfix_check.py | |
parent | e87a07f056891f328b22e97f03f4c3ca5231d681 (diff) |
CSIT-235: Switched Port Analyzer mirroring (SPAN) - IPv4
- add library for SPAN setup
- add telemetry traffic script and a keyword to run it
- add "telemetry" folders for python and robot libraries
- move IPFIX libraries to these new folders
- add first SPAN test case, mirroring IPv4 ICMP packets
Change-Id: Ibca35f724c13662bf80dce2d7e2649d1a0b8676a
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/traffic_scripts/ipfix_check.py')
-rwxr-xr-x | resources/traffic_scripts/ipfix_check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/traffic_scripts/ipfix_check.py b/resources/traffic_scripts/ipfix_check.py index 14b5a074db..aa04b24038 100755 --- a/resources/traffic_scripts/ipfix_check.py +++ b/resources/traffic_scripts/ipfix_check.py @@ -22,7 +22,8 @@ from scapy.layers.inet import IP, TCP, UDP from scapy.layers.inet6 import IPv6 from scapy.layers.l2 import Ether -from resources.libraries.python.IPFIXUtil import IPFIXHandler, IPFIXData +from resources.libraries.python.telemetry.IPFIXUtil import IPFIXHandler, \ + IPFIXData from resources.libraries.python.PacketVerifier import RxQueue, TxQueue, auto_pad from resources.libraries.python.TrafficScriptArg import TrafficScriptArg @@ -81,7 +82,6 @@ def main(): rxq = RxQueue(tx_if) # generate simple packet based on arguments - ip_version = None if valid_ipv4(src_ip) and valid_ipv4(dst_ip): ip_version = IP elif valid_ipv6(src_ip) and valid_ipv6(dst_ip): |