Printer FriendlyEmail Article Link

How to setup the DMF name as a variable into the LSTAPI on Landslide?

Answer

It’s about the usage of list. dmf_list accepts a list of DMF and host index.

We can use below method to configure what you want.
For one DMF:
set dmf1 "spirent/udp_traffic 0"
-dmf_list [list $dmf1]
 
For Multiple DMFs:
set dmf1 "spirent/udp_traffic1 0"
set dmf2 "spirent/udp_traffic2 0"
-dmf_list [list $dmf1 $dmf2]

Product : Landslide,Tcl API