aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_scripts/ipfix_sessions.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-09-21 10:52:31 +0200
committerPeter Mikus <pmikus@cisco.com>2016-10-03 13:13:24 +0000
commitac8b7ce3b05805a978b8186440e62dcd0d9023c3 (patch)
tree738c1db28b573db3d1e29f7e2487294177ffa433 /resources/traffic_scripts/ipfix_sessions.py
parente87a07f056891f328b22e97f03f4c3ca5231d681 (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_sessions.py')
-rwxr-xr-xresources/traffic_scripts/ipfix_sessions.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/traffic_scripts/ipfix_sessions.py b/resources/traffic_scripts/ipfix_sessions.py
index 2994916144..e7597a894a 100755
--- a/resources/traffic_scripts/ipfix_sessions.py
+++ b/resources/traffic_scripts/ipfix_sessions.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
@@ -133,8 +134,6 @@ def main():
tx_if = args.get_arg('tx_if')
protocol = args.get_arg('protocol')
- source_port = int(args.get_arg('port'))
- destination_port = int(args.get_arg('port'))
count = int(args.get_arg('count'))
sessions = int(args.get_arg('sessions'))