Printer FriendlyEmail Article Link

Spirent TestCenter-JTAPI: How to start the particular stream if we create bound streamblock?

Environment/Versions
  • Spirent TestCenter
  • Automation-JTAPI
  • PGA
Answer
Patch has been provided over 4.59 GA of JTAPI and will be impelemented in next version of JTAPI.

$rt->setup_traffic_mesh ()

MAP {
[src_ports]
[dst_ports]
[enable_stream {true | false}]
[name]}

For bidirectional streamblock should give list of names if we want to start particular streamblock later.

push @tmap,{src_ports=>["$port1"],
            dst_ports=>["$port2"],
            traffic_type =>"IPv4",
            stream =>$s1,
            name => ['streamblk1_1', 'streamblk1_2']};

Product : Automation,API,Spirent TestCenter,PGA