Printer FriendlyEmail Article Link

Spirent TestCenter:Error "{log {internal operation failed. <stc::perform StreamBlockUpdate -streamblock streamblock1>: RuntimeError in perform: Validation failed: }} {status 0}" in HLTAPI

Symptoms
  • This error is seen while creating multicast traffic with source as IPv4 device [The device has dual stack configuration IPv4/IPv6] and destination as multicast group.
Environment
  • Spirent TestCenter
  • Automation-HLTAPI
Explanation/Resolution
  • Please set the argument -l3_protocol to ipv4 in traffic_config API to send multicast traffic from IPv4 source from dual stack device.
  • If you want to send from IPv6 source then set -l3_protocol to ipv6
 
Code Snippet:
 
set ret [sth::traffic_config\
                   -port_handle port1\
                   -mode create \
                   -l3_protocol ipv4\
                   -emulation_src_handle $sourcefilterdevice\
                   -emulation_dst_handle $macstgroup]
 
Note: -l3_protocol Identifies the Layer 3 protocol to use when creating packets. Possible values are IPv4, IPv6, arp and gre
Root Cause
  • -l3_protocol argument is not specified in traffic_config API.
  • If you do not specify -l3_protocol, the traffic packets created will not contain any Layer 3 header

Product : API