VIAVI TestCenter-HLTAPI:ERROR-Argument "-frame_size" not found in mandatory or optional argument list,it is not a supported switch.
Knowledge Base - FAQ
• Script is aborting with the below error while executing the sth::traffic_config API:
set streamblock_ret1 [sth::traffic_config -mode create -transmit_mode continuous -mac_dst_mode random -l3_protocol ipv4 -ip_dst_mode increment -ip_dst_count 10 -ip_dst_step 0.0.0.1 -ip_dst_addr 225.1.1.1 -ip_src_addr 7.1.1.2 -ip_src_mode fixed -rate_percent 50 -stream_id 0 -vlan_id 100 -frame_size 1500 -port_handle port1 -l2_encap ethernet_ii_vlan -length_mode fixed]
[09:50:31] :fail: :abort: HLTAPI error. l_status="{log {[Traffic] commandInit FAILED. parse_dashed_args: Argument "-frame_size" not found in mandatory or optional argument list,it is not a supported switch.}} {status 0}" (tgTrafficConfig)
• Observed the issue with t4.30 and t4.39 version of HLTAPI.
N/A