Printer FriendlyEmail Article Link

Spirent TestCenter-JTAPI:How to create the Range modifer on traffic class for Raw StreamBlock?

Environment/Versions
  • Spirent TestCenter
  • Automation-JTAPI
  • PGA
  • IPV6

 

Answer

Below is the code:

my $stream1 = {pps=> 200, trafficClass=>160, trafficClass_count=>10, trafficClass_step=>32, trafficClass_stream=>"true"};
my @tmap = ({name => "stream1", src => $port1, src_ipv6 => "2000::1", dest_ipv6 => ["2001::2"], gateway_ipv6 => "2000::1", stream => $stream1},
           );
my $result = $rt->setup_unicast_flows(map=>\@tmap);


Product : Spirent TestCenter,Automation,API,Spirent TestCenter,IPv6,PGA