diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-10 16:32:54 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-10 16:32:54 +0200 |
commit | 0f03cc467be9c0b37310b7e2a589a86a1771c96f (patch) | |
tree | 32983679b9033b0379d2036740b796d8fe557c3f /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py | |
parent | a69c4dd80e88b6fb4ebfae8d84366b11561d7660 (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.py | 4 |
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() |