question

xhumme00 avatar image
xhumme00 asked xhumme00 commented

Spirent Testcenter (STC) configuration via xml file

I am using xml file in a tcl script to control STC. I load xml file, start generators, stop generators, change xml (size of packet, mask of modifier, etc...), load xml and do it again and again. The problem is when I load xml every time my port (11/1) is released and then reserved. It takes maybe 30 seconds. I do not want to use TCL API for STC - it's far more effective and general in this way I think... Tcl command to load xml:

set StcSystem(1) [ stc::perform loadfromxml -filename $input_file] I am using Spirent TestCenter Application 4.46 and TCL library 4.46

What I need is partial reconfiguration which do not release port. Is there any way to do it? Thanks for reply...

Spirent TestCenter (STC)tcl scriptxml
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
stebhla avatar image
stebhla answered xhumme00 commented

We have options under global setting to perform partial reset. Please try if it help. Refer to screenshot

partial-reset.png

Same settings can be done by API


partial-reset.png (27.8 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

xhumme00 avatar image xhumme00 commented ·

Thanks, I've tried it, but no significant speed-up. Furthermore, I'm a little bit scared of using it - I change ports on L4 layer so it could be a problem... I was rather thinking about "ParentConfig" or "TargetConfig" attributes of stc::perform loadfromxml, but without success. When I use these parameters the port isn't released - so I think this is the way. It doesn't work yet, but I have still some ideas. Any experience of using it?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.