question

ChrisB avatar image
ChrisB asked ChrisB posted

STG GUI: Can't change Stream Block Frame info

1. Select All Ports/<your port>/Traffic Generator from tree

2. Select a StreamBlock from the list

3. Click Edit... which displays the Stream Block Editor

4. Go to Frames tab

 

Questions:

 - It shows XML, not a GUI. is that intended?

 - We edited the XML (changed a VLAN) and the change doesn't stick. Should this work, or should the XML be read only?

 

Thanks,

chris

iTesttraffic generation
10 |950

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

VidyaH avatar image
VidyaH answered VidyaH posted

I tried to edit the XML in frame section and changes are not getting saved, also it does not give a user message if not supported. Looks like a bug in changes not getting saved after editing the XML in frame section. We should file that as a bug.

3 comments
10 |950

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

RushabhS avatar image RushabhS commented ·

Yes , this was a bug in STC GUI . Thanks for reporting this .

 

It has now been fixed

0 Likes 0 ·
varghese avatar image varghese RushabhS commented ·

Thanks,

Could you let me know which future release would have this fix?

0 Likes 0 ·
RushabhS avatar image RushabhS varghese commented ·

It will be released in the next bugfix release of 3.4

0 Likes 0 ·
RushabhS avatar image
RushabhS answered RushabhS posted

Currently this is how we support this feature . If you want to specify the frames , you have to provide an XML tagged input to that field .

 

In the future versions , we will implement the same GUI that is provided by Spirent TestCenter

 

Regarding the 2nd question , yes , you should be able to edit the frames. If this is not happening , then it might be a bug . I will look into it and see what is happening .

2 comments
10 |950

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

KumarS avatar image KumarS commented ·

Rushabh

 

Can you take a look at the Spirent Tcl API documentation on the packet xml format which Spirent uses and post a link here?

0 Likes 0 ·
varghese avatar image varghese KumarS commented ·

I also tried adding a new stream block and then pasted the xml frame data (from another preconfigured stream) into the frame tab. This did not work either.

This is the xml data I tried adding onto the frame tab

 

<frame ><config><pdus><pdu name="eth1" pdu="ethernet:EthernetII"><dstMac>00:00:00:00:00:02</dstMac><srcMac>00:00:00:00:00:01</srcMac><vlans name="anon_874"><Vlan name="Vlan"><pri>000</pri><id>300</id></Vlan></vlans></pdu><pdu name="ip_1" pdu="ipv4:IPv4"><totalLength>20</totalLength><tosDiffserv name="anon_877"><tos name="anon_878"></tos></tosDiffserv></pdu></pdus></config></frame>

 

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.