Please can someone tell me how to create simple ipv4 traffic in python script to be sent across
If using StcPython, you can do the following:
from StcPython import StcPython stc = StcPython() portLocation = '//10.10.10.20/8/5' hport = stc.create("port", under="project1", location=portLocation) hsb1 = stc.create("streamblock", under=hport)
The above will create a config with 1 port and 1 raw streamblock with Ethernet and IPv4 headers
50 People are following this question.
Hi, i am a new user to spirent test center, and i wanted to automate STC using python technology. Please suggest me how could we do that or if any available scripts were there, please provide me the links.