Change-Id: I5e101f012ae4a4383e61b274499817d146479993
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
client.set_port_attr(ports=[port_0, port_1], promiscuous=True)
if isinstance(framesize, int):
last_stream_a = int((len(streams) - 2 ) / 2)
client.set_port_attr(ports=[port_0, port_1], promiscuous=True)
if isinstance(framesize, int):
last_stream_a = int((len(streams) - 2 ) / 2)
+ last_stream_b = (last_stream_a * 2)
client.add_streams(streams[0:last_stream_a], ports=[port_0])
if traffic_directions > 1:
client.add_streams(streams[0:last_stream_a], ports=[port_0])
if traffic_directions > 1:
- last_stream_b = (last_stream_a * 2)
client.add_streams(
streams[last_stream_a:last_stream_b], ports=[port_1])
elif isinstance(framesize, str):
client.add_streams(
streams[last_stream_a:last_stream_b], ports=[port_1])
elif isinstance(framesize, str):