Example:
Build a 512 nodes Target Pool table wit the following distribution :
#################################################
# Activity iSCSIServer1 of NetTraffic Traffic1@Network1
#################################################
set Activity_iSCSIServer1 [$Traffic1_Network1 activityList.appendItem -protocolAndType "iscsi Server"]
#################################################
# Timeline1 for activities iSCSIServer1
#################################################
set Timeline1 [::IxLoad new ixTimeline]
$Timeline1 config
$Activity_iSCSIServer1 config \
-name "iSCSIServer1" \
-timeline $Timeline1
$Activity_iSCSIServer1 agent.config
$Activity_iSCSIServer1 agent.pm.advOptions.config
$Activity_iSCSIServer1 agent.pm.iscsi.config
set N 512
$Activity_iSCSIServer1 agent.pm.iscsiTarget.config \
-numberOfTargets $N \
-numberOfLuns $N \
-numberOfPortals 1
$Activity_iSCSIServer1 agent.pm.iscsiTarget.nodeList.clear
$Activity_iSCSIServer1 agent.pm.iscsiTarget.nodeList.appendItem \
-id "NodeTargetPortal" \
-parentName "" \
-nodeType 2 \
-name "TP1" \
-enableTargetAlias true \
-selfId 1 \
-numberOfChildren $N \
-parentId -1
for {set i 1} {$i <=$N} {incr i} {
set A [expr { 2* $i}]
set B [expr {$A + 1}]
$Activity_iSCSIServer1 agent.pm.iscsiTarget.nodeList.appendItem \
-id "NodeTargetGroup" \
-targetAlias "ixiacom-iscsiTG$i" \
-parentName "TP1" \
-nodeType 1 \
-name "TG$i" \
-enableTargetAlias true \
-selfId $A \
-numberOfChildren 1 \
-parentId 1 \
-targetName "iqn.2010-11.com.ixia:ixload:iscsiTG$i"
$Activity_iSCSIServer1 agent.pm.iscsiTarget.nodeList.appendItem \
-id "Node" \
-parentName "TG$i" \
-name "LUN$i" \
-selfId $B \
-lunBlockSize "512" \
-logicalUnitNumber "0" \
-parentId $A \
-lunCapacity "307199"
}
$Activity_iSCSIServer1 agent.pm.availableTosList.clear
$Traffic1_Network1 traffic.config
$Traffic1_Network1 setPortOperationModeAllowed $::ixPort(kOperationModeThroughputAcceleration) false
$Traffic1_Network1 setPortOperationModeAllowed $::ixPort(kOperationModeFCoEOffload) true
$Traffic1_Network1 setTcpAccelerationAllowed $::ixAgent(kTcpAcceleration) true
$Originate elementList.appendItem -object $Traffic1_Network1
$Originate config -name "Originate"
$Scenario1 columnList.appendItem -object $Originate
set DUT [::IxLoad new ixTrafficColumn]
$DUT elementList.clear
$DUT config -name "DUT"
$Scenario1 columnList.appendItem -object $DUT
set Terminate [::IxLoad new ixTrafficColumn]
$Terminate elementList.clear
$Terminate config -name "Terminate"
$Scenario1 columnList.appendItem -object $Terminate
$Scenario1 links.clear
$Scenario1 config
$Test1 config \
-csvThroughputScalingFactor 1000 \
-enableNetworkDiagnostics false \
-currentUniqueIDForAgent 1 \
-profileDirectory $profileDirectory \
-eventHandlerSettings $my_ixEventHandlerSettings \
-captureViewOptions $my_ixViewOptions