question

gretztx avatar image
gretztx asked cwhitty answered

velocity allPortList

Using this command as part of an ixNetwork session profile in an iTest/Velocity topology. This command is supposed to return the list of ports used in the topology, but it is returning every port name in the Ixia chassis. When i replace the [velocity allPortList] with a list of ports like "1:1,1:2,1:3" it works fine.

iTestvelocity
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

·
cwhitty avatar image
cwhitty answered

Hi Mike,

Actually, that commands needs to take -id as an argument, where id is the resource ID of the device you're interrogating. For example, from the help: [velocity allPortList -id resource_0]

But, to really utilize this in an IxNetwork session, you probably need order to be significant. So you should look into making a quick call that uses TBML commands to create a port list in the order you need and then use variable substitution in your session profile referencing the ordered port list.

BR

10 |950

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

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.