summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-02-10 16:32:54 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-02-10 16:32:54 +0200
commit0f03cc467be9c0b37310b7e2a589a86a1771c96f (patch)
tree32983679b9033b0379d2036740b796d8fe557c3f /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
parenta69c4dd80e88b6fb4ebfae8d84366b11561d7660 (diff)
update hltapi + functional regression + remove old packet_builder tests
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
index 732cfc1e..b1cf9ebc 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
@@ -52,7 +52,7 @@ class Port(object):
self.port_stats = trex_stl_stats.CPortStats(self)
- self.next_available_id = 1
+ self.next_available_id = long(1)
def err(self, msg):
@@ -132,7 +132,7 @@ class Port(object):
# TODO: handle syncing the streams into stream_db
- self.next_available_id = rc.data()['max_stream_id']
+ self.next_available_id = long(rc.data()['max_stream_id'])
return self.ok()