ixia: Fix VLAN support by IxNet class
[vswitchperf.git] / 3rd_party / ixia / ixnetrfc2544.tcl
1 #!/usr/bin/env tclsh
2
3 # Copyright (c) 2014, Ixia
4 # Copyright (c) 2015-2017, Intel Corporation
5 # All rights reserved.
6 #
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
9 # are met:
10 #
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 #
14 # 2. Redistributions in binary form must reproduce the above copyright
15 # notice, this list of conditions and the following disclaimer in the
16 # documentation and/or other materials provided with the distribution.
17 #
18 # 3. Neither the name of the copyright holder nor the names of its
19 # contributors may be used to endorse or promote products derived
20 # from this software without specific prior written permission.
21 #
22 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26 # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 # POSSIBILITY OF SUCH DAMAGE.
34
35 # This file is a modified version of a script generated by Ixia
36 # IxNetwork.
37
38 lappend auto_path [list $lib_path]
39
40 ###################################################################
41 ########################## Configuration ##########################
42 ###################################################################
43
44 # verify that the IXIA chassis spec is given
45
46 set reqVars [list "machine" "port" "user" "chassis" "card" "port1" "port2" "output_dir" "bidir"]
47 set rfc2544test ""
48
49 foreach var $reqVars {
50     set var_ns [namespace which -variable "$var"]
51     if { [string compare $var_ns ""] == 0 } {
52         errorMsg "The '$var' variable is undefined. Did you set it?"
53         return -1
54     }
55 }
56
57 # machine configuration
58
59 set ::IxNserver $machine
60 set ::IxNport   $port
61 set ::biDirect  $bidir
62
63 # change to windows path format and append directory
64 set output_dir [string map {"/" "\\"} $output_dir]
65 set output_dir "$output_dir\\rfctests"
66 puts "Output directory is $output_dir"
67
68 proc startRfc2544Test { testSpec trafficSpec } {
69     # Start RFC2544 quicktest.
70
71     # Configure global variables. See documentation on 'global' for more
72     # information on why this is necessary
73     #   https://www.tcl.tk/man/tcl8.5/tutorial/Tcl13.html
74     global rfc2544test
75     global sg_rfc2544throughput
76     global sg_rfc2544back2back
77
78     # Suffix for stack names
79     # This variable should be incremented after setting sg_stack like:
80     # set sg_stack $ixNetSG_Stack(2)/stack:"protocolnamehere-$stack_number"
81     # incr stack_number
82     set stack_number    1
83
84     # flow spec
85
86     set rfc2544TestType         [dict get $testSpec rfc2544TestType]
87
88     set binary                  [dict get $testSpec binary]
89
90     set duration                [dict get $testSpec duration]
91
92     # RFC2544 to IXIA terminology mapping (it affects Ixia configuration inside this script):
93     # Test    => Trial
94     # Trial   => Iteration
95     if {$binary} {
96         set numTests            [dict get $testSpec tests]
97         set frameRate           100
98         set tolerance           [dict get $testSpec lossrate]
99         set loadType            binary
100     } else {
101         set numTests            1
102         set frameRate           [dict get $testSpec framerate]
103         set tolerance           0.0
104         set loadType            custom
105     }
106
107     set learningFrames          True
108
109     set L2CountValue            1
110     set L2Increment             False
111     set L3ValueType             singleValue
112     set L3CountValue            1
113     set L4ValueType             singleValue
114     set L4CountValue            1
115
116     if {$learningFrames} {
117         set learningFrequency   oncePerTest
118         set fastPathEnable      True
119     } else {
120         set learningFrequency   never
121         set fastPathEnable      False
122     }
123
124     set multipleStreams         [dict get $testSpec multipleStreams]
125     set streamType              [dict get $testSpec streamType]
126
127     if {($multipleStreams < 0)} {
128         set multipleStreams     0
129     }
130
131     if {$multipleStreams} {
132         if {($streamType == "L2")} {
133             set L2CountValue    $multipleStreams
134             set L2Increment     True
135         } elseif {($streamType == "L3")} {
136             set L3ValueType     increment
137             set L3CountValue    $multipleStreams
138         } else {
139             set L4ValueType     increment
140             set L4CountValue    $multipleStreams
141         }
142     }
143
144     set fastConvergence         True
145     set convergenceDuration     [expr $duration/10]
146
147     # traffic spec
148
149     # extract nested dictionaries
150     set trafficSpec_l2          [dict get $trafficSpec l2]
151     set trafficSpec_l3          [dict get $trafficSpec l3]
152     set trafficSpec_l4          [dict get $trafficSpec l4]
153     set trafficSpec_vlan        [dict get $trafficSpec vlan]
154
155     set frameSize               [dict get $trafficSpec_l2 framesize]
156     set srcMac                  [dict get $trafficSpec_l2 srcmac]
157     set dstMac                  [dict get $trafficSpec_l2 dstmac]
158     set srcPort                 [dict get $trafficSpec_l4 srcport]
159     set dstPort                 [dict get $trafficSpec_l4 dstport]
160
161     set proto                   [dict get $trafficSpec_l3 proto]
162     set srcIp                   [dict get $trafficSpec_l3 srcip]
163     set dstIp                   [dict get $trafficSpec_l3 dstip]
164
165     set vlanEnabled             [dict get $trafficSpec_vlan enabled]
166     if {$vlanEnabled == 1 } {
167         # these keys won't exist if vlan wasn't enabled
168         set vlanId                  [dict get $trafficSpec_vlan id]
169         set vlanUserPrio            [dict get $trafficSpec_vlan priority]
170         set vlanCfi                 [dict get $trafficSpec_vlan cfi]
171     } else {
172         set vlanId                  0
173         set vlanUserPrio            0
174         set vlanCfi                 0
175     }
176
177     if {$frameSize < 68 } {
178         if {$rfc2544TestType == "back2back"} {
179             puts "INFO: Packet size too small, packet size will be \
180                   increased to 68 for this test"
181         }
182     }
183     # constants
184
185     set VERSION [package require IxTclNetwork]
186
187     ###################################################################
188     ############################ Operation ############################
189     ###################################################################
190
191     puts "Connecting to IxNetwork machine..."
192
193     ixNet connect $::IxNserver -port $::IxNport -version $VERSION
194
195     puts "Connected to IxNetwork machine"
196
197     puts "Configuring IxNetwork machine..."
198
199     set ::_sg_cc 0
200     proc sg_commit {} {ixNet commit}
201
202     ixNet rollback
203     ixNet setSessionParameter version 6.30.701.16
204     ixNet execute newConfig
205     set ixNetSG_Stack(0) [ixNet getRoot]
206
207     #
208     # setting global options
209     #
210     set sg_top [ixNet getRoot]
211     ixNet setMultiAttrs $sg_top/availableHardware \
212      -offChassisHwM {} \
213      -isOffChassis False
214     ixNet setMultiAttrs $sg_top/globals/preferences \
215      -connectPortsOnLoadConfig True \
216      -rebootPortsOnConnect False
217     ixNet setMultiAttrs $sg_top/globals/interfaces \
218      -arpOnLinkup True \
219      -nsOnLinkup True \
220      -sendSingleArpPerGateway True \
221      -sendSingleNsPerGateway True
222     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/checksums \
223      -dropRxL2FcsErrors False \
224      -correctTxL2FcsErrors False \
225      -alwaysCorrectWhenModifying True \
226      -correctTxChecksumOverIp False \
227      -correctTxIpv4Checksum False
228     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/rxRateLimit \
229      -enabled False \
230      -value 8 \
231      -units {kKilobitsPerSecond}
232     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/drop \
233      -enabled False \
234      -clusterSize 1 \
235      -percentRate 0
236     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/reorder \
237      -enabled False \
238      -clusterSize 1 \
239      -percentRate 0 \
240      -skipCount 1
241     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/duplicate \
242      -enabled False \
243      -clusterSize 1 \
244      -percentRate 0 \
245      -duplicateCount 1
246     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/bitError \
247      -enabled False \
248      -logRate 3 \
249      -skipEndOctets 0 \
250      -skipStartOctets 0
251     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delay \
252      -enabled False \
253      -value 300 \
254      -units {kMicroseconds}
255     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delayVariation \
256      -uniformSpread 0 \
257      -enabled False \
258      -units {kMicroseconds} \
259      -distribution {kUniform} \
260      -exponentialMeanArrival 0 \
261      -gaussianStandardDeviation 0
262     ixNet setMultiAttrs $sg_top/impairment/defaultProfile/customDelayVariation \
263      -enabled False \
264      -name {}
265     ixNet setMultiAttrs $sg_top/statistics \
266      -additionalFcoeStat2 fcoeInvalidFrames \
267      -csvLogPollIntervalMultiplier 1 \
268      -pollInterval 2 \
269      -guardrailEnabled True \
270      -enableCsvLogging False \
271      -dataStorePollingIntervalMultiplier 1 \
272      -maxNumberOfStatsPerCustomGraph 16 \
273      -additionalFcoeStat1 fcoeInvalidDelimiter \
274      -timestampPrecision 3 \
275      -enableDataCenterSharedStats False \
276      -timeSynchronization syncTimeToTestStart \
277      -enableAutoDataStore False
278     ixNet setMultiAttrs $sg_top/statistics/measurementMode \
279      -measurementMode mixedMode
280     ixNet setMultiAttrs $sg_top/eventScheduler \
281      -licenseServerLocation {127.0.0.1}
282     ixNet setMultiAttrs $sg_top/traffic \
283      -destMacRetryCount 1 \
284      -maxTrafficGenerationQueries 500 \
285      -enableStaggeredTransmit False \
286      -learningFrameSize $frameSize \
287      -useTxRxSync True \
288      -enableDestMacRetry True \
289      -enableMulticastScalingFactor False \
290      -destMacRetryDelay 5 \
291      -largeErrorThreshhold 2 \
292      -refreshLearnedInfoBeforeApply False \
293      -enableMinFrameSize True \
294      -macChangeOnFly False \
295      -waitTime 1 \
296      -enableInstantaneousStatsSupport False \
297      -learningFramesCount 10 \
298      -globalStreamControl continuous \
299      -displayMplsCurrentLabelValue False \
300      -mplsLabelLearningTimeout 30 \
301      -enableStaggeredStartDelay True \
302      -enableDataIntegrityCheck False \
303      -enableSequenceChecking False \
304      -globalStreamControlIterations 1 \
305      -enableStreamOrdering False \
306      -frameOrderingMode none \
307      -learningFramesRate 100
308     ixNet setMultiAttrs $sg_top/traffic/statistics/latency \
309      -enabled True \
310      -mode storeForward
311     ixNet setMultiAttrs $sg_top/traffic/statistics/interArrivalTimeRate \
312      -enabled False
313     ixNet setMultiAttrs $sg_top/traffic/statistics/delayVariation \
314      -enabled False \
315      -statisticsMode rxDelayVariationErrorsAndRate \
316      -latencyMode storeForward \
317      -largeSequenceNumberErrorThreshold 2
318     ixNet setMultiAttrs $sg_top/traffic/statistics/sequenceChecking \
319      -enabled False \
320      -sequenceMode rxThreshold
321     ixNet setMultiAttrs $sg_top/traffic/statistics/advancedSequenceChecking \
322      -enabled False \
323      -advancedSequenceThreshold 1
324     ixNet setMultiAttrs $sg_top/traffic/statistics/cpdpConvergence \
325      -enabled False \
326      -dataPlaneJitterWindow 10485760 \
327      -dataPlaneThreshold 95 \
328      -enableDataPlaneEventsRateMonitor False \
329      -enableControlPlaneEvents False
330     ixNet setMultiAttrs $sg_top/traffic/statistics/packetLossDuration \
331      -enabled False
332     ixNet setMultiAttrs $sg_top/traffic/statistics/dataIntegrity \
333      -enabled False
334     ixNet setMultiAttrs $sg_top/traffic/statistics/errorStats \
335      -enabled False
336     ixNet setMultiAttrs $sg_top/traffic/statistics/prbs \
337      -enabled False
338     ixNet setMultiAttrs $sg_top/traffic/statistics/iptv \
339      -enabled False
340     ixNet setMultiAttrs $sg_top/traffic/statistics/l1Rates \
341      -enabled False
342     ixNet setMultiAttrs $sg_top/quickTest/globals \
343      -productLabel {Your switch/router name here} \
344      -serialNumber {Your switch/router serial number here} \
345      -version {Your firmware version here} \
346      -comments {} \
347      -titlePageComments {} \
348      -maxLinesToDisplay 100 \
349      -enableCheckLinkState False \
350      -enableAbortIfLinkDown False \
351      -enableSwitchToStats True \
352      -enableCapture False \
353      -enableSwitchToResult True \
354      -enableGenerateReportAfterRun False \
355      -enableRebootCpu False \
356      -saveCaptureBeforeRun False \
357      -linkDownTimeout 5 \
358      -sleepTimeAfterReboot 10 \
359      -useDefaultRootPath False \
360      -outputRootPath $::output_dir
361     sg_commit
362     set sg_top [lindex [ixNet remapIds $sg_top] 0]
363     set ixNetSG_Stack(0) $sg_top
364
365     ###
366     ### /vport area
367     ###
368
369     #
370     # configuring the object that corresponds to /vport:1
371     #
372     set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
373     ixNet setMultiAttrs $sg_vport \
374      -transmitIgnoreLinkStatus False \
375      -txGapControlMode averageMode \
376      -type tenGigLan \
377      -connectedTo ::ixNet::OBJ-null \
378      -txMode interleaved \
379      -isPullOnly False \
380      -rxMode captureAndMeasure \
381      -name {10GE LAN - 001}
382     ixNet setMultiAttrs $sg_vport/l1Config \
383      -currentType tenGigLan
384     ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
385      -ppm 0 \
386      -flowControlDirectedAddress "01 80 C2 00 00 01" \
387      -enablePPM False \
388      -autoInstrumentation endOfFrame \
389      -transmitClocking internal \
390      -txIgnoreRxLinkFaults False \
391      -loopback False \
392      -enableLASIMonitoring False \
393      -enabledFlowControl True
394     ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
395      -tlvType {00} \
396      -linkEvents False \
397      -enabled False \
398      -vendorSpecificInformation {00 00 00 00} \
399      -macAddress "00:00:00:00:00:00" \
400      -loopback False \
401      -idleTimer 5 \
402      -tlvValue {00} \
403      -enableTlvOption False \
404      -maxOAMPDUSize 64 \
405      -organizationUniqueIdentifier {000000}
406     ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
407      -supportDataCenterMode False \
408      -priorityGroupSize priorityGroupSize-8 \
409      -pfcPauseDelay 1 \
410      -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
411      -flowControlType ieee802.1Qbb \
412      -enablePFCPauseDelay False
413     ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
414      -ppm 0 \
415      -flowControlDirectedAddress "01 80 C2 00 00 01" \
416      -enablePPM False \
417      -autoInstrumentation endOfFrame \
418      -transmitClocking internal \
419      -txIgnoreRxLinkFaults False \
420      -loopback False \
421      -enableLASIMonitoring False \
422      -enabledFlowControl False
423     ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
424      -supportDataCenterMode False \
425      -priorityGroupSize priorityGroupSize-8 \
426      -pfcPauseDelay 1 \
427      -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
428      -flowControlType ieee802.1Qbb \
429      -enablePFCPauseDelay False
430     ixNet setMultiAttrs $sg_vport/l1Config/OAM \
431      -tlvType {00} \
432      -linkEvents False \
433      -enabled False \
434      -vendorSpecificInformation {00 00 00 00} \
435      -macAddress "00:00:00:00:00:00" \
436      -loopback False \
437      -idleTimer 5 \
438      -tlvValue {00} \
439      -enableTlvOption False \
440      -maxOAMPDUSize 64 \
441      -organizationUniqueIdentifier {000000}
442     ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
443      -sourceAddress1Mask {00:00:00:00:00:00} \
444      -destinationAddress1Mask {00:00:00:00:00:00} \
445      -sourceAddress2 {00:00:00:00:00:00} \
446      -pattern2OffsetType fromStartOfFrame \
447      -pattern2Offset 20 \
448      -pattern1Mask {00} \
449      -sourceAddress2Mask {00:00:00:00:00:00} \
450      -destinationAddress2 {00:00:00:00:00:00} \
451      -destinationAddress1 {00:00:00:00:00:00} \
452      -sourceAddress1 {00:00:00:00:00:00} \
453      -pattern1 {00} \
454      -destinationAddress2Mask {00:00:00:00:00:00} \
455      -pattern2Mask {00} \
456      -pattern1Offset 20 \
457      -pattern2 {00} \
458      -pattern1OffsetType fromStartOfFrame
459     ixNet setMultiAttrs $sg_vport/protocols/arp \
460      -enabled False
461     ixNet setMultiAttrs $sg_vport/protocols/bfd \
462      -enabled False \
463      -intervalValue 0 \
464      -packetsPerInterval 0
465     ixNet setMultiAttrs $sg_vport/protocols/bgp \
466      -autoFillUpDutIp False \
467      -disableReceivedUpdateValidation False \
468      -enableAdVplsPrefixLengthInBits False \
469      -enableExternalActiveConnect True \
470      -enableInternalActiveConnect True \
471      -enableVpnLabelExchangeOverLsp True \
472      -enabled False \
473      -externalRetries 0 \
474      -externalRetryDelay 120 \
475      -internalRetries 0 \
476      -internalRetryDelay 120 \
477      -mldpP2mpFecType 6 \
478      -triggerVplsPwInitiation False
479     ixNet setMultiAttrs $sg_vport/protocols/cfm \
480      -enableOptionalLmFunctionality False \
481      -enableOptionalTlvValidation True \
482      -enabled False \
483      -receiveCcm True \
484      -sendCcm True \
485      -suppressErrorsOnAis True
486     ixNet setMultiAttrs $sg_vport/protocols/eigrp \
487      -enabled False
488     ixNet setMultiAttrs $sg_vport/protocols/elmi \
489      -enabled False
490     ixNet setMultiAttrs $sg_vport/protocols/igmp \
491      -enabled False \
492      -numberOfGroups 0 \
493      -numberOfQueries 0 \
494      -queryTimePeriod 0 \
495      -sendLeaveOnStop True \
496      -statsEnabled False \
497      -timePeriod 0
498     ixNet setMultiAttrs $sg_vport/protocols/isis \
499      -allL1RbridgesMac "01:80:c2:00:00:40" \
500      -emulationType isisL3Routing \
501      -enabled False \
502      -helloMulticastMac "01:80:c2:00:00:41" \
503      -lspMgroupPdusPerInterval 0 \
504      -nlpId 192 \
505      -rateControlInterval 0 \
506      -sendP2PHellosToUnicastMac True \
507      -spbAllL1BridgesMac "09:00:2b:00:00:05" \
508      -spbHelloMulticastMac "09:00:2b:00:00:05" \
509      -spbNlpId 192
510     ixNet setMultiAttrs $sg_vport/protocols/lacp \
511      -enablePreservePartnerInfo False \
512      -enabled False
513     ixNet setMultiAttrs $sg_vport/protocols/ldp \
514      -enableDiscardSelfAdvFecs False \
515      -enableHelloJitter True \
516      -enableVpnLabelExchangeOverLsp True \
517      -enabled False \
518      -helloHoldTime 15 \
519      -helloInterval 5 \
520      -keepAliveHoldTime 30 \
521      -keepAliveInterval 10 \
522      -p2mpCapabilityParam 1288 \
523      -p2mpFecType 6 \
524      -targetedHelloInterval 15 \
525      -targetedHoldTime 45 \
526      -useTransportLabelsForMplsOam False
527     ixNet setMultiAttrs $sg_vport/protocols/linkOam \
528      -enabled False
529     ixNet setMultiAttrs $sg_vport/protocols/lisp \
530      -burstIntervalInMs 0 \
531      -enabled False \
532      -ipv4MapRegisterPacketsPerBurst 0 \
533      -ipv4MapRequestPacketsPerBurst 0 \
534      -ipv4SmrPacketsPerBurst 0 \
535      -ipv6MapRegisterPacketsPerBurst 0 \
536      -ipv6MapRequestPacketsPerBurst 0 \
537      -ipv6SmrPacketsPerBurst 0
538     ixNet setMultiAttrs $sg_vport/protocols/mld \
539      -enableDoneOnStop True \
540      -enabled False \
541      -mldv2Report type143 \
542      -numberOfGroups 0 \
543      -numberOfQueries 0 \
544      -queryTimePeriod 0 \
545      -timePeriod 0
546     ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
547      -enabled False
548     ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
549      -apsChannelType {00 02 } \
550      -bfdCcChannelType {00 07 } \
551      -delayManagementChannelType {00 05 } \
552      -enableHighPerformanceMode True \
553      -enabled False \
554      -faultManagementChannelType {00 58 } \
555      -lossMeasurementChannelType {00 04 } \
556      -onDemandCvChannelType {00 09 } \
557      -pwStatusChannelType {00 0B } \
558      -y1731ChannelType {7F FA }
559     ixNet setMultiAttrs $sg_vport/protocols/ospf \
560      -enableDrOrBdr False \
561      -enabled False \
562      -floodLinkStateUpdatesPerInterval 0 \
563      -rateControlInterval 0
564     ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
565      -enabled False
566     ixNet setMultiAttrs $sg_vport/protocols/pimsm \
567      -bsmFramePerInterval 0 \
568      -crpFramePerInterval 0 \
569      -dataMdtFramePerInterval 0 \
570      -denyGrePimIpPrefix {0.0.0.0/32} \
571      -enableDiscardJoinPruneProcessing False \
572      -enableRateControl False \
573      -enabled False \
574      -helloMsgsPerInterval 0 \
575      -interval 0 \
576      -joinPruneMessagesPerInterval 0 \
577      -registerMessagesPerInterval 0 \
578      -registerStopMessagesPerInterval 0
579     ixNet setMultiAttrs $sg_vport/protocols/ping \
580      -enabled False
581     ixNet setMultiAttrs $sg_vport/protocols/rip \
582      -enabled False
583     ixNet setMultiAttrs $sg_vport/protocols/ripng \
584      -enabled False
585     ixNet setMultiAttrs $sg_vport/protocols/rsvp \
586      -enableControlLspInitiationRate False \
587      -enableShowTimeValue False \
588      -enableVpnLabelExchangeOverLsp True \
589      -enabled False \
590      -maxLspInitiationsPerSec 400 \
591      -useTransportLabelsForMplsOam False
592     ixNet setMultiAttrs $sg_vport/protocols/stp \
593      -enabled False
594     ixNet setMultiAttrs $sg_vport/rateControlParameters \
595      -maxRequestsPerBurst 1 \
596      -maxRequestsPerSec 250 \
597      -minRetryInterval 10 \
598      -retryCount 3 \
599      -sendInBursts False \
600      -sendRequestsAsFastAsPossible False
601     ixNet setMultiAttrs $sg_vport/capture \
602      -controlCaptureTrigger {} \
603      -controlCaptureFilter {} \
604      -hardwareEnabled False \
605      -softwareEnabled False \
606      -displayFiltersDataCapture {} \
607      -displayFiltersControlCapture {} \
608      -controlBufferSize 30 \
609      -controlBufferBehaviour bufferLiveNonCircular
610     ixNet setMultiAttrs $sg_vport/protocolStack/options \
611      -routerSolicitationDelay 1 \
612      -routerSolicitationInterval 4 \
613      -routerSolicitations 3 \
614      -retransTime 1000 \
615      -dadTransmits 1 \
616      -dadEnabled True \
617      -ipv4RetransTime 3000 \
618      -ipv4McastSolicit 4
619     sg_commit
620     set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
621     set ixNetSG_ref(2) $sg_vport
622     set ixNetSG_Stack(1) $sg_vport
623
624     #
625     # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:1
626     #
627     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
628     ixNet setMultiAttrs $sg_uds \
629      -destinationAddressSelector anyAddr \
630      -customFrameSizeTo 0 \
631      -customFrameSizeFrom 0 \
632      -error errAnyFrame \
633      -patternSelector anyPattern \
634      -sourceAddressSelector anyAddr \
635      -isEnabled True \
636      -frameSizeType any
637     sg_commit
638     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
639
640     #
641     # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:2
642     #
643     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
644     ixNet setMultiAttrs $sg_uds \
645      -destinationAddressSelector anyAddr \
646      -customFrameSizeTo 0 \
647      -customFrameSizeFrom 0 \
648      -error errAnyFrame \
649      -patternSelector anyPattern \
650      -sourceAddressSelector anyAddr \
651      -isEnabled True \
652      -frameSizeType any
653     sg_commit
654     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
655
656     #
657     # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:3
658     #
659     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
660     ixNet setMultiAttrs $sg_uds \
661      -destinationAddressSelector anyAddr \
662      -customFrameSizeTo 0 \
663      -customFrameSizeFrom 0 \
664      -error errAnyFrame \
665      -patternSelector anyPattern \
666      -sourceAddressSelector anyAddr \
667      -isEnabled True \
668      -frameSizeType any
669     sg_commit
670     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
671
672     #
673     # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:4
674     #
675     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
676     ixNet setMultiAttrs $sg_uds \
677      -destinationAddressSelector anyAddr \
678      -customFrameSizeTo 0 \
679      -customFrameSizeFrom 0 \
680      -error errAnyFrame \
681      -patternSelector anyPattern \
682      -sourceAddressSelector anyAddr \
683      -isEnabled True \
684      -frameSizeType any
685     sg_commit
686     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
687
688     #
689     # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:5
690     #
691     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
692     ixNet setMultiAttrs $sg_uds \
693      -destinationAddressSelector anyAddr \
694      -customFrameSizeTo 0 \
695      -customFrameSizeFrom 0 \
696      -error errAnyFrame \
697      -patternSelector anyPattern \
698      -sourceAddressSelector anyAddr \
699      -isEnabled True \
700      -frameSizeType any
701     sg_commit
702     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
703
704     #
705     # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:6
706     #
707     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
708     ixNet setMultiAttrs $sg_uds \
709      -destinationAddressSelector anyAddr \
710      -customFrameSizeTo 0 \
711      -customFrameSizeFrom 0 \
712      -error errAnyFrame \
713      -patternSelector anyPattern \
714      -sourceAddressSelector anyAddr \
715      -isEnabled True \
716      -frameSizeType any
717     sg_commit
718     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
719
720     #
721     # configuring the object that corresponds to /vport:1/protocols/static/lan:1
722     #
723     set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
724     ixNet setMultiAttrs $sg_lan \
725      -atmEncapsulation ::ixNet::OBJ-null \
726      -count $L2CountValue \
727      -countPerVc 1 \
728      -enableIncrementMac $L2Increment \
729      -enableIncrementVlan False \
730      -enableSiteId False \
731      -enableVlan False \
732      -enabled True \
733      -frEncapsulation ::ixNet::OBJ-null \
734      -incrementPerVcVlanMode noIncrement \
735      -incrementVlanMode noIncrement \
736      -mac $srcMac \
737      -macRangeMode normal \
738      -numberOfVcs 1 \
739      -siteId 0 \
740      -skipVlanIdZero True \
741      -tpid {0x8100} \
742      -trafficGroupId ::ixNet::OBJ-null \
743      -vlanCount 1 \
744      -vlanId {1} \
745      -vlanPriority {0}
746     sg_commit
747     set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
748
749     #
750     # configuring the object that corresponds to /vport:2
751     #
752     set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
753     ixNet setMultiAttrs $sg_vport \
754      -transmitIgnoreLinkStatus False \
755      -txGapControlMode averageMode \
756      -type tenGigLan \
757      -connectedTo ::ixNet::OBJ-null \
758      -txMode interleaved \
759      -isPullOnly False \
760      -rxMode captureAndMeasure \
761      -name {10GE LAN - 002}
762     ixNet setMultiAttrs $sg_vport/l1Config \
763      -currentType tenGigLan
764     ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
765      -ppm 0 \
766      -flowControlDirectedAddress "01 80 C2 00 00 01" \
767      -enablePPM False \
768      -autoInstrumentation endOfFrame \
769      -transmitClocking internal \
770      -txIgnoreRxLinkFaults False \
771      -loopback False \
772      -enableLASIMonitoring False \
773      -enabledFlowControl False
774     ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
775      -tlvType {00} \
776      -linkEvents False \
777      -enabled False \
778      -vendorSpecificInformation {00 00 00 00} \
779      -macAddress "00:00:00:00:00:00" \
780      -loopback False \
781      -idleTimer 5 \
782      -tlvValue {00} \
783      -enableTlvOption False \
784      -maxOAMPDUSize 64 \
785      -organizationUniqueIdentifier {000000}
786     ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
787      -supportDataCenterMode False \
788      -priorityGroupSize priorityGroupSize-8 \
789      -pfcPauseDelay 1 \
790      -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
791      -flowControlType ieee802.1Qbb \
792      -enablePFCPauseDelay False
793     ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
794      -ppm 0 \
795      -flowControlDirectedAddress "01 80 C2 00 00 01" \
796      -enablePPM False \
797      -autoInstrumentation endOfFrame \
798      -transmitClocking internal \
799      -txIgnoreRxLinkFaults False \
800      -loopback False \
801      -enableLASIMonitoring False \
802      -enabledFlowControl False
803     ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
804      -supportDataCenterMode False \
805      -priorityGroupSize priorityGroupSize-8 \
806      -pfcPauseDelay 1 \
807      -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
808      -flowControlType ieee802.1Qbb \
809      -enablePFCPauseDelay False
810     ixNet setMultiAttrs $sg_vport/l1Config/OAM \
811      -tlvType {00} \
812      -linkEvents False \
813      -enabled False \
814      -vendorSpecificInformation {00 00 00 00} \
815      -macAddress "00:00:00:00:00:00" \
816      -loopback False \
817      -idleTimer 5 \
818      -tlvValue {00} \
819      -enableTlvOption False \
820      -maxOAMPDUSize 64 \
821      -organizationUniqueIdentifier {000000}
822     ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
823      -sourceAddress1Mask {00:00:00:00:00:00} \
824      -destinationAddress1Mask {00:00:00:00:00:00} \
825      -sourceAddress2 {00:00:00:00:00:00} \
826      -pattern2OffsetType fromStartOfFrame \
827      -pattern2Offset 20 \
828      -pattern1Mask {00} \
829      -sourceAddress2Mask {00:00:00:00:00:00} \
830      -destinationAddress2 {00:00:00:00:00:00} \
831      -destinationAddress1 {00:00:00:00:00:00} \
832      -sourceAddress1 {00:00:00:00:00:00} \
833      -pattern1 {00} \
834      -destinationAddress2Mask {00:00:00:00:00:00} \
835      -pattern2Mask {00} \
836      -pattern1Offset 20 \
837      -pattern2 {00} \
838      -pattern1OffsetType fromStartOfFrame
839     ixNet setMultiAttrs $sg_vport/protocols/arp \
840      -enabled False
841     ixNet setMultiAttrs $sg_vport/protocols/bfd \
842      -enabled False \
843      -intervalValue 0 \
844      -packetsPerInterval 0
845     ixNet setMultiAttrs $sg_vport/protocols/bgp \
846      -autoFillUpDutIp False \
847      -disableReceivedUpdateValidation False \
848      -enableAdVplsPrefixLengthInBits False \
849      -enableExternalActiveConnect True \
850      -enableInternalActiveConnect True \
851      -enableVpnLabelExchangeOverLsp True \
852      -enabled False \
853      -externalRetries 0 \
854      -externalRetryDelay 120 \
855      -internalRetries 0 \
856      -internalRetryDelay 120 \
857      -mldpP2mpFecType 6 \
858      -triggerVplsPwInitiation False
859     ixNet setMultiAttrs $sg_vport/protocols/cfm \
860      -enableOptionalLmFunctionality False \
861      -enableOptionalTlvValidation True \
862      -enabled False \
863      -receiveCcm True \
864      -sendCcm True \
865      -suppressErrorsOnAis True
866     ixNet setMultiAttrs $sg_vport/protocols/eigrp \
867      -enabled False
868     ixNet setMultiAttrs $sg_vport/protocols/elmi \
869      -enabled False
870     ixNet setMultiAttrs $sg_vport/protocols/igmp \
871      -enabled False \
872      -numberOfGroups 0 \
873      -numberOfQueries 0 \
874      -queryTimePeriod 0 \
875      -sendLeaveOnStop True \
876      -statsEnabled False \
877      -timePeriod 0
878     ixNet setMultiAttrs $sg_vport/protocols/isis \
879      -allL1RbridgesMac "01:80:c2:00:00:40" \
880      -emulationType isisL3Routing \
881      -enabled False \
882      -helloMulticastMac "01:80:c2:00:00:41" \
883      -lspMgroupPdusPerInterval 0 \
884      -nlpId 192 \
885      -rateControlInterval 0 \
886      -sendP2PHellosToUnicastMac True \
887      -spbAllL1BridgesMac "09:00:2b:00:00:05" \
888      -spbHelloMulticastMac "09:00:2b:00:00:05" \
889      -spbNlpId 192
890     ixNet setMultiAttrs $sg_vport/protocols/lacp \
891      -enablePreservePartnerInfo False \
892      -enabled False
893     ixNet setMultiAttrs $sg_vport/protocols/ldp \
894      -enableDiscardSelfAdvFecs False \
895      -enableHelloJitter True \
896      -enableVpnLabelExchangeOverLsp True \
897      -enabled False \
898      -helloHoldTime 15 \
899      -helloInterval 5 \
900      -keepAliveHoldTime 30 \
901      -keepAliveInterval 10 \
902      -p2mpCapabilityParam 1288 \
903      -p2mpFecType 6 \
904      -targetedHelloInterval 15 \
905      -targetedHoldTime 45 \
906      -useTransportLabelsForMplsOam False
907     ixNet setMultiAttrs $sg_vport/protocols/linkOam \
908      -enabled False
909     ixNet setMultiAttrs $sg_vport/protocols/lisp \
910      -burstIntervalInMs 0 \
911      -enabled False \
912      -ipv4MapRegisterPacketsPerBurst 0 \
913      -ipv4MapRequestPacketsPerBurst 0 \
914      -ipv4SmrPacketsPerBurst 0 \
915      -ipv6MapRegisterPacketsPerBurst 0 \
916      -ipv6MapRequestPacketsPerBurst 0 \
917      -ipv6SmrPacketsPerBurst 0
918     ixNet setMultiAttrs $sg_vport/protocols/mld \
919      -enableDoneOnStop True \
920      -enabled False \
921      -mldv2Report type143 \
922      -numberOfGroups 0 \
923      -numberOfQueries 0 \
924      -queryTimePeriod 0 \
925      -timePeriod 0
926     ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
927      -enabled False
928     ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
929      -apsChannelType {00 02 } \
930      -bfdCcChannelType {00 07 } \
931      -delayManagementChannelType {00 05 } \
932      -enableHighPerformanceMode True \
933      -enabled False \
934      -faultManagementChannelType {00 58 } \
935      -lossMeasurementChannelType {00 04 } \
936      -onDemandCvChannelType {00 09 } \
937      -pwStatusChannelType {00 0B } \
938      -y1731ChannelType {7F FA }
939     ixNet setMultiAttrs $sg_vport/protocols/ospf \
940      -enableDrOrBdr False \
941      -enabled False \
942      -floodLinkStateUpdatesPerInterval 0 \
943      -rateControlInterval 0
944     ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
945      -enabled False
946     ixNet setMultiAttrs $sg_vport/protocols/pimsm \
947      -bsmFramePerInterval 0 \
948      -crpFramePerInterval 0 \
949      -dataMdtFramePerInterval 0 \
950      -denyGrePimIpPrefix {0.0.0.0/32} \
951      -enableDiscardJoinPruneProcessing False \
952      -enableRateControl False \
953      -enabled False \
954      -helloMsgsPerInterval 0 \
955      -interval 0 \
956      -joinPruneMessagesPerInterval 0 \
957      -registerMessagesPerInterval 0 \
958      -registerStopMessagesPerInterval 0
959     ixNet setMultiAttrs $sg_vport/protocols/ping \
960      -enabled False
961     ixNet setMultiAttrs $sg_vport/protocols/rip \
962      -enabled False
963     ixNet setMultiAttrs $sg_vport/protocols/ripng \
964      -enabled False
965     ixNet setMultiAttrs $sg_vport/protocols/rsvp \
966      -enableControlLspInitiationRate False \
967      -enableShowTimeValue False \
968      -enableVpnLabelExchangeOverLsp True \
969      -enabled False \
970      -maxLspInitiationsPerSec 400 \
971      -useTransportLabelsForMplsOam False
972     ixNet setMultiAttrs $sg_vport/protocols/stp \
973      -enabled False
974     ixNet setMultiAttrs $sg_vport/rateControlParameters \
975      -maxRequestsPerBurst 1 \
976      -maxRequestsPerSec 250 \
977      -minRetryInterval 10 \
978      -retryCount 3 \
979      -sendInBursts False \
980      -sendRequestsAsFastAsPossible False
981     ixNet setMultiAttrs $sg_vport/capture \
982      -controlCaptureTrigger {} \
983      -controlCaptureFilter {} \
984      -hardwareEnabled False \
985      -softwareEnabled False \
986      -displayFiltersDataCapture {} \
987      -displayFiltersControlCapture {} \
988      -controlBufferSize 30 \
989      -controlBufferBehaviour bufferLiveNonCircular
990     ixNet setMultiAttrs $sg_vport/protocolStack/options \
991      -routerSolicitationDelay 1 \
992      -routerSolicitationInterval 4 \
993      -routerSolicitations 3 \
994      -retransTime 1000 \
995      -dadTransmits 1 \
996      -dadEnabled True \
997      -ipv4RetransTime 3000 \
998      -ipv4McastSolicit 4
999     sg_commit
1000     set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
1001     set ixNetSG_ref(10) $sg_vport
1002     set ixNetSG_Stack(1) $sg_vport
1003
1004     #
1005     # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:1
1006     #
1007     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
1008     ixNet setMultiAttrs $sg_uds \
1009      -destinationAddressSelector anyAddr \
1010      -customFrameSizeTo 0 \
1011      -customFrameSizeFrom 0 \
1012      -error errAnyFrame \
1013      -patternSelector anyPattern \
1014      -sourceAddressSelector anyAddr \
1015      -isEnabled True \
1016      -frameSizeType any
1017     sg_commit
1018     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1019
1020     #
1021     # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:2
1022     #
1023     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
1024     ixNet setMultiAttrs $sg_uds \
1025      -destinationAddressSelector anyAddr \
1026      -customFrameSizeTo 0 \
1027      -customFrameSizeFrom 0 \
1028      -error errAnyFrame \
1029      -patternSelector anyPattern \
1030      -sourceAddressSelector anyAddr \
1031      -isEnabled True \
1032      -frameSizeType any
1033     sg_commit
1034     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1035
1036     #
1037     # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:3
1038     #
1039     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
1040     ixNet setMultiAttrs $sg_uds \
1041      -destinationAddressSelector anyAddr \
1042      -customFrameSizeTo 0 \
1043      -customFrameSizeFrom 0 \
1044      -error errAnyFrame \
1045      -patternSelector anyPattern \
1046      -sourceAddressSelector anyAddr \
1047      -isEnabled True \
1048      -frameSizeType any
1049     sg_commit
1050     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1051
1052     #
1053     # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:4
1054     #
1055     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
1056     ixNet setMultiAttrs $sg_uds \
1057      -destinationAddressSelector anyAddr \
1058      -customFrameSizeTo 0 \
1059      -customFrameSizeFrom 0 \
1060      -error errAnyFrame \
1061      -patternSelector anyPattern \
1062      -sourceAddressSelector anyAddr \
1063      -isEnabled True \
1064      -frameSizeType any
1065     sg_commit
1066     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1067
1068     #
1069     # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:5
1070     #
1071     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
1072     ixNet setMultiAttrs $sg_uds \
1073      -destinationAddressSelector anyAddr \
1074      -customFrameSizeTo 0 \
1075      -customFrameSizeFrom 0 \
1076      -error errAnyFrame \
1077      -patternSelector anyPattern \
1078      -sourceAddressSelector anyAddr \
1079      -isEnabled True \
1080      -frameSizeType any
1081     sg_commit
1082     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1083
1084     #
1085     # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:6
1086     #
1087     set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
1088     ixNet setMultiAttrs $sg_uds \
1089      -destinationAddressSelector anyAddr \
1090      -customFrameSizeTo 0 \
1091      -customFrameSizeFrom 0 \
1092      -error errAnyFrame \
1093      -patternSelector anyPattern \
1094      -sourceAddressSelector anyAddr \
1095      -isEnabled True \
1096      -frameSizeType any
1097     sg_commit
1098     set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1099
1100     #
1101     # configuring the object that corresponds to /vport:2/protocols/static/lan:1
1102     #
1103     set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
1104     ixNet setMultiAttrs $sg_lan \
1105      -atmEncapsulation ::ixNet::OBJ-null \
1106      -count $L2CountValue \
1107      -countPerVc 1 \
1108      -enableIncrementMac $L2Increment \
1109      -enableIncrementVlan False \
1110      -enableSiteId False \
1111      -enableVlan False \
1112      -enabled True \
1113      -frEncapsulation ::ixNet::OBJ-null \
1114      -incrementPerVcVlanMode noIncrement \
1115      -incrementVlanMode noIncrement \
1116      -mac $dstMac \
1117      -macRangeMode normal \
1118      -numberOfVcs 1 \
1119      -siteId 0 \
1120      -skipVlanIdZero True \
1121      -tpid {0x8100} \
1122      -trafficGroupId ::ixNet::OBJ-null \
1123      -vlanCount 1 \
1124      -vlanId {1} \
1125      -vlanPriority {0}
1126     sg_commit
1127     set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
1128
1129     ###
1130     ### /availableHardware area
1131     ###
1132
1133     #
1134     # configuring the object that corresponds to /availableHardware/chassis"
1135     #
1136     set sg_chassis [ixNet add $ixNetSG_Stack(0)/availableHardware chassis]
1137     ixNet setMultiAttrs $sg_chassis \
1138      -masterChassis {} \
1139      -sequenceId 1 \
1140      -cableLength 0 \
1141      -hostname $::chassis
1142     sg_commit
1143     set sg_chassis [lindex [ixNet remapIds $sg_chassis] 0]
1144     set ixNetSG_Stack(1) $sg_chassis
1145
1146     #
1147     # configuring the object that corresponds to /availableHardware/chassis/card
1148     #
1149     set sg_card $ixNetSG_Stack(1)/card:$::card
1150     ixNet setMultiAttrs $sg_card \
1151      -aggregationMode normal
1152     sg_commit
1153     set sg_card [lindex [ixNet remapIds $sg_card] 0]
1154     set ixNetSG_ref(19) $sg_card
1155     set ixNetSG_Stack(2) $sg_card
1156
1157     #
1158     # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:1
1159     #
1160     set sg_aggregation $ixNetSG_Stack(2)/aggregation:1
1161     ixNet setMultiAttrs $sg_aggregation \
1162      -mode normal
1163     sg_commit
1164     set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1165
1166     #
1167     # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:2
1168     #
1169     set sg_aggregation $ixNetSG_Stack(2)/aggregation:2
1170     ixNet setMultiAttrs $sg_aggregation \
1171      -mode normal
1172     sg_commit
1173     set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1174
1175     #
1176     # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:3
1177     #
1178     set sg_aggregation $ixNetSG_Stack(2)/aggregation:3
1179     ixNet setMultiAttrs $sg_aggregation \
1180      -mode normal
1181     sg_commit
1182     set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1183
1184     #
1185     # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:4
1186     #
1187     set sg_aggregation $ixNetSG_Stack(2)/aggregation:4
1188     ixNet setMultiAttrs $sg_aggregation \
1189      -mode normal
1190     sg_commit
1191     set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1192     ixNet setMultiAttrs $ixNetSG_ref(2) \
1193      -connectedTo $ixNetSG_ref(19)/port:$::port1
1194     sg_commit
1195     ixNet setMultiAttrs $ixNetSG_ref(10) \
1196      -connectedTo $ixNetSG_ref(19)/port:$::port2
1197     sg_commit
1198     sg_commit
1199
1200     ###
1201     ### /impairment area
1202     ###
1203
1204     #
1205     # configuring the object that corresponds to /impairment/profile:3
1206     #
1207     set sg_profile [ixNet add $ixNetSG_Stack(0)/impairment profile]
1208     ixNet setMultiAttrs $sg_profile \
1209      -enabled False \
1210      -name {Impairment Profile 1} \
1211      -links {} \
1212      -allLinks True \
1213      -priority 1
1214     ixNet setMultiAttrs $sg_profile/checksums \
1215      -dropRxL2FcsErrors False \
1216      -correctTxL2FcsErrors False \
1217      -alwaysCorrectWhenModifying True \
1218      -correctTxChecksumOverIp False \
1219      -correctTxIpv4Checksum False
1220     ixNet setMultiAttrs $sg_profile/rxRateLimit \
1221      -enabled False \
1222      -value 8 \
1223      -units {kKilobitsPerSecond}
1224     ixNet setMultiAttrs $sg_profile/drop \
1225      -enabled True \
1226      -clusterSize 1 \
1227      -percentRate 0
1228     ixNet setMultiAttrs $sg_profile/reorder \
1229      -enabled False \
1230      -clusterSize 1 \
1231      -percentRate 0 \
1232      -skipCount 1
1233     ixNet setMultiAttrs $sg_profile/duplicate \
1234      -enabled False \
1235      -clusterSize 1 \
1236      -percentRate 0 \
1237      -duplicateCount 1
1238     ixNet setMultiAttrs $sg_profile/bitError \
1239      -enabled False \
1240      -logRate 3 \
1241      -skipEndOctets 0 \
1242      -skipStartOctets 0
1243     ixNet setMultiAttrs $sg_profile/delay \
1244      -enabled True \
1245      -value 300 \
1246      -units {kMicroseconds}
1247     ixNet setMultiAttrs $sg_profile/delayVariation \
1248      -uniformSpread 0 \
1249      -enabled False \
1250      -units {kMicroseconds} \
1251      -distribution {kUniform} \
1252      -exponentialMeanArrival 0 \
1253      -gaussianStandardDeviation 0
1254     ixNet setMultiAttrs $sg_profile/customDelayVariation \
1255      -enabled False \
1256      -name {}
1257     sg_commit
1258     set sg_profile [lindex [ixNet remapIds $sg_profile] 0]
1259     set ixNetSG_Stack(1) $sg_profile
1260
1261     #
1262     # configuring the object that corresponds to /impairment/profile:3/fixedClassifier:1
1263     #
1264     set sg_fixedClassifier [ixNet add $ixNetSG_Stack(1) fixedClassifier]
1265     sg_commit
1266     set sg_fixedClassifier [lindex [ixNet remapIds $sg_fixedClassifier] 0]
1267
1268     ###
1269     ### /traffic area
1270     ###
1271
1272     #
1273     # configuring the object that corresponds to /traffic/trafficItem:1
1274     #
1275     set sg_trafficItem [ixNet add $ixNetSG_Stack(0)/traffic trafficItem]
1276     ixNet setMultiAttrs $sg_trafficItem \
1277      -transportRsvpTePreference one \
1278      -trafficItemType l2L3 \
1279      -biDirectional $::biDirect \
1280      -mergeDestinations True \
1281      -hostsPerNetwork 1 \
1282      -transmitMode interleaved \
1283      -ordinalNo 0 \
1284      -trafficType {ethernetVlan} \
1285      -interAsLdpPreference two \
1286      -allowSelfDestined False \
1287      -enabled True \
1288      -maxNumberOfVpnLabelStack 2 \
1289      -interAsBgpPreference one \
1290      -suspend False \
1291      -transportLdpPreference two \
1292      -egressEnabled False \
1293      -enableDynamicMplsLabelValues False \
1294      -routeMesh oneToOne \
1295      -name {Traffic Item 1} \
1296      -srcDestMesh oneToOne
1297     sg_commit
1298     set sg_trafficItem [lindex [ixNet remapIds $sg_trafficItem] 0]
1299     set ixNetSG_ref(26) $sg_trafficItem
1300     set ixNetSG_Stack(1) $sg_trafficItem
1301
1302     #
1303     # configuring the object that corresponds to /traffic/trafficItem:1/endpointSet:1
1304     #
1305     set sg_endpointSet [ixNet add $ixNetSG_Stack(1) endpointSet]
1306     ixNet setMultiAttrs $sg_endpointSet \
1307      -destinations [list $ixNetSG_ref(10)/protocols] \
1308      -destinationFilter {} \
1309      -sourceFilter {} \
1310      -trafficGroups {} \
1311      -sources [list $ixNetSG_ref(2)/protocols] \
1312      -name {EndpointSet-1}
1313     sg_commit
1314     set sg_endpointSet [lindex [ixNet remapIds $sg_endpointSet] 0]
1315
1316     #
1317     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1
1318     #
1319     set sg_configElement $ixNetSG_Stack(1)/configElement:1
1320     ixNet setMultiAttrs $sg_configElement \
1321      -crc goodCrc \
1322      -preambleCustomSize 8 \
1323      -enableDisparityError False \
1324      -preambleFrameSizeMode auto \
1325      -destinationMacMode manual
1326     ixNet setMultiAttrs $sg_configElement/frameSize \
1327      -weightedPairs {} \
1328      -fixedSize 64 \
1329      -incrementFrom 64 \
1330      -randomMin 64 \
1331      -randomMax 1518 \
1332      -quadGaussian {} \
1333      -type fixed \
1334      -presetDistribution cisco \
1335      -incrementStep 1 \
1336      -incrementTo 1518
1337     ixNet setMultiAttrs $sg_configElement/frameRate \
1338      -bitRateUnitsType bitsPerSec \
1339      -rate 10 \
1340      -enforceMinimumInterPacketGap 0 \
1341      -type percentLineRate \
1342      -interPacketGapUnitsType nanoseconds
1343     ixNet setMultiAttrs $sg_configElement/framePayload \
1344      -type incrementByte \
1345      -customRepeat True \
1346      -customPattern {}
1347     ixNet setMultiAttrs $sg_configElement/frameRateDistribution \
1348      -streamDistribution applyRateToAll \
1349      -portDistribution applyRateToAll
1350     ixNet setMultiAttrs $sg_configElement/transmissionControl \
1351      -frameCount 1 \
1352      -minGapBytes 12 \
1353      -interStreamGap 0 \
1354      -interBurstGap 0 \
1355      -interBurstGapUnits nanoseconds \
1356      -type continuous \
1357      -duration 1 \
1358      -repeatBurst 1 \
1359      -enableInterStreamGap False \
1360      -startDelayUnits bytes \
1361      -iterationCount 1 \
1362      -burstPacketCount 1 \
1363      -enableInterBurstGap False \
1364      -startDelay 0
1365     sg_commit
1366     set sg_configElement [lindex [ixNet remapIds $sg_configElement] 0]
1367     set ixNetSG_Stack(2) $sg_configElement
1368
1369     #
1370     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"
1371     #
1372     set sg_stack $ixNetSG_Stack(2)/stack:"ethernet-$stack_number"
1373     sg_commit
1374     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1375     set ixNetSG_Stack(3) $sg_stack
1376     incr stack_number
1377
1378     #
1379     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
1380     #
1381     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
1382     ixNet setMultiAttrs $sg_field \
1383      -singleValue $dstMac \
1384      -seed {1} \
1385      -optionalEnabled True \
1386      -fullMesh False \
1387      -valueList {{00:00:00:00:00:00}} \
1388      -stepValue {00:00:00:00:00:01} \
1389      -fixedBits {00:00:00:00:00:00} \
1390      -fieldValue $dstMac \
1391      -auto False \
1392      -randomMask {00:00:00:00:00:00} \
1393      -trackingEnabled False \
1394      -valueType singleValue \
1395      -activeFieldChoice False \
1396      -startValue $dstMac \
1397      -countValue {1}
1398     sg_commit
1399     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1400
1401     #
1402     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
1403     #
1404     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
1405     ixNet setMultiAttrs $sg_field \
1406      -singleValue $srcMac \
1407      -seed {1} \
1408      -optionalEnabled True \
1409      -fullMesh False \
1410      -valueList {{00:00:00:00:00:00}} \
1411      -stepValue {00:00:00:00:00:00} \
1412      -fixedBits {00:00:00:00:00:00} \
1413      -fieldValue $srcMac \
1414      -auto False \
1415      -randomMask {00:00:00:00:00:00} \
1416      -trackingEnabled False \
1417      -valueType singleValue \
1418      -activeFieldChoice False \
1419      -startValue $srcMac \
1420      -countValue {1}
1421     sg_commit
1422     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1423
1424     #
1425     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
1426     #
1427     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
1428     ixNet setMultiAttrs $sg_field \
1429      -singleValue {800} \
1430      -seed {1} \
1431      -optionalEnabled True \
1432      -fullMesh False \
1433      -valueList {{0xFFFF}} \
1434      -stepValue {0xFFFF} \
1435      -fixedBits {0xFFFF} \
1436      -fieldValue {800} \
1437      -auto True \
1438      -randomMask {0xFFFF} \
1439      -trackingEnabled False \
1440      -valueType singleValue \
1441      -activeFieldChoice False \
1442      -startValue {0xFFFF} \
1443      -countValue {1}
1444     sg_commit
1445     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1446
1447     #
1448     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
1449     #
1450     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
1451     ixNet setMultiAttrs $sg_field \
1452      -singleValue {0} \
1453      -seed {1} \
1454      -optionalEnabled True \
1455      -fullMesh False \
1456      -valueList {{0}} \
1457      -stepValue {0} \
1458      -fixedBits {0} \
1459      -fieldValue {0} \
1460      -auto False \
1461      -randomMask {0} \
1462      -trackingEnabled False \
1463      -valueType singleValue \
1464      -activeFieldChoice False \
1465      -startValue {0} \
1466      -countValue {1}
1467     sg_commit
1468     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1469
1470     if {$vlanEnabled == 1 } {
1471         set sg_stack $ixNetSG_Stack(2)/stack:"vlan-$stack_number"
1472         sg_commit
1473         set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1474         set ixNetSG_Stack(3) $sg_stack
1475         incr stack_number
1476
1477         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanUserPriority-1"
1478         ixNet setMultiAttrs $sg_field \
1479                 -singleValue $vlanUserPrio \
1480                 -seed 1 \
1481                 -optionalEnabled true \
1482                 -fullMesh false \
1483                 -valueList [list 0] \
1484                 -stepValue 0 \
1485                 -fixedBits 0 \
1486                 -fieldValue $vlanUserPrio \
1487                 -auto false \
1488                 -randomMask 0 \
1489                 -trackingEnabled false \
1490                 -valueType singleValue \
1491                 -activeFieldChoice false \
1492                 -startValue 0 \
1493                 -countValue 1
1494
1495         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.cfi-2"
1496         ixNet setMultiAttrs $sg_field \
1497                 -singleValue $vlanCfi \
1498                 -seed 1 \
1499                 -optionalEnabled true \
1500                 -fullMesh false \
1501                 -valueList [list 0] \
1502                 -stepValue 0 \
1503                 -fixedBits 0 \
1504                 -fieldValue $vlanCfi \
1505                 -auto false \
1506                 -randomMask 0 \
1507                 -trackingEnabled false \
1508                 -valueType singleValue \
1509                 -activeFieldChoice false \
1510                 -startValue 0 \
1511                 -countValue 1
1512
1513         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanID-3"
1514         ixNet setMultiAttrs $sg_field \
1515                 -singleValue $vlanId \
1516                 -seed 1 \
1517                 -optionalEnabled true \
1518                 -fullMesh false \
1519                 -valueList [list 0] \
1520                 -stepValue 0 \
1521                 -fixedBits 0 \
1522                 -fieldValue $vlanId \
1523                 -auto false \
1524                 -randomMask 0 \
1525                 -trackingEnabled false \
1526                 -valueType singleValue \
1527                 -activeFieldChoice false \
1528                 -startValue 0 \
1529                 -countValue 1
1530
1531         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.protocolID-4"
1532         ixNet setMultiAttrs $sg_field \
1533                 -singleValue ffff \
1534                 -seed 1 \
1535                 -optionalEnabled true \
1536                 -fullMesh false \
1537                 -valueList [list 0xffff] \
1538                 -stepValue 0xffff \
1539                 -fixedBits 0xffff \
1540                 -fieldValue ffff \
1541                 -auto true \
1542                 -randomMask 0xffff \
1543                 -trackingEnabled false \
1544                 -valueType singleValue \
1545                 -activeFieldChoice false \
1546                 -startValue 0xffff \
1547                 -countValue 1
1548     }
1549
1550     #
1551     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"
1552     #
1553     set sg_stack $ixNetSG_Stack(2)/stack:"ipv4-$stack_number"
1554     sg_commit
1555     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1556     set ixNetSG_Stack(3) $sg_stack
1557     incr stack_number
1558
1559     #
1560     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.version-1"
1561     #
1562     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
1563     ixNet setMultiAttrs $sg_field \
1564      -singleValue {4} \
1565      -seed {1} \
1566      -optionalEnabled True \
1567      -fullMesh False \
1568      -valueList {{4}} \
1569      -stepValue {4} \
1570      -fixedBits {4} \
1571      -fieldValue {4} \
1572      -auto False \
1573      -randomMask {4} \
1574      -trackingEnabled False \
1575      -valueType singleValue \
1576      -activeFieldChoice False \
1577      -startValue {4} \
1578      -countValue {1}
1579     sg_commit
1580     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1581
1582     #
1583     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
1584     #
1585     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
1586     ixNet setMultiAttrs $sg_field \
1587      -singleValue {5} \
1588      -seed {1} \
1589      -optionalEnabled True \
1590      -fullMesh False \
1591      -valueList {{0}} \
1592      -stepValue {0} \
1593      -fixedBits {0} \
1594      -fieldValue {5} \
1595      -auto True \
1596      -randomMask {0} \
1597      -trackingEnabled False \
1598      -valueType singleValue \
1599      -activeFieldChoice False \
1600      -startValue {0} \
1601      -countValue {1}
1602     sg_commit
1603     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1604
1605     #
1606     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
1607     #
1608     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
1609     ixNet setMultiAttrs $sg_field \
1610      -singleValue {0} \
1611      -seed {1} \
1612      -optionalEnabled True \
1613      -fullMesh False \
1614      -valueList {{0}} \
1615      -stepValue {0} \
1616      -fixedBits {0} \
1617      -fieldValue {0} \
1618      -auto False \
1619      -randomMask {0} \
1620      -trackingEnabled False \
1621      -valueType singleValue \
1622      -activeFieldChoice False \
1623      -startValue {0} \
1624      -countValue {1}
1625     sg_commit
1626     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1627
1628     #
1629     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
1630     #
1631     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
1632     ixNet setMultiAttrs $sg_field \
1633      -singleValue {0} \
1634      -seed {1} \
1635      -optionalEnabled True \
1636      -fullMesh False \
1637      -valueList {{0}} \
1638      -stepValue {0} \
1639      -fixedBits {0} \
1640      -fieldValue {000 Routine} \
1641      -auto False \
1642      -randomMask {0} \
1643      -trackingEnabled False \
1644      -valueType singleValue \
1645      -activeFieldChoice True \
1646      -startValue {0} \
1647      -countValue {1}
1648     sg_commit
1649     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1650
1651     #
1652     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
1653     #
1654     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
1655     ixNet setMultiAttrs $sg_field \
1656      -singleValue {0} \
1657      -seed {1} \
1658      -optionalEnabled True \
1659      -fullMesh False \
1660      -valueList {{0}} \
1661      -stepValue {0} \
1662      -fixedBits {0} \
1663      -fieldValue {Normal} \
1664      -auto False \
1665      -randomMask {0} \
1666      -trackingEnabled False \
1667      -valueType singleValue \
1668      -activeFieldChoice True \
1669      -startValue {0} \
1670      -countValue {1}
1671     sg_commit
1672     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1673
1674     #
1675     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
1676     #
1677     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
1678     ixNet setMultiAttrs $sg_field \
1679      -singleValue {0} \
1680      -seed {1} \
1681      -optionalEnabled True \
1682      -fullMesh False \
1683      -valueList {{0}} \
1684      -stepValue {0} \
1685      -fixedBits {0} \
1686      -fieldValue {Normal} \
1687      -auto False \
1688      -randomMask {0} \
1689      -trackingEnabled False \
1690      -valueType singleValue \
1691      -activeFieldChoice True \
1692      -startValue {0} \
1693      -countValue {1}
1694     sg_commit
1695     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1696
1697     #
1698     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
1699     #
1700     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
1701     ixNet setMultiAttrs $sg_field \
1702      -singleValue {0} \
1703      -seed {1} \
1704      -optionalEnabled True \
1705      -fullMesh False \
1706      -valueList {{0}} \
1707      -stepValue {0} \
1708      -fixedBits {0} \
1709      -fieldValue {Normal} \
1710      -auto False \
1711      -randomMask {0} \
1712      -trackingEnabled False \
1713      -valueType singleValue \
1714      -activeFieldChoice True \
1715      -startValue {0} \
1716      -countValue {1}
1717     sg_commit
1718     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1719
1720     #
1721     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
1722     #
1723     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
1724     ixNet setMultiAttrs $sg_field \
1725      -singleValue {0} \
1726      -seed {1} \
1727      -optionalEnabled True \
1728      -fullMesh False \
1729      -valueList {{0}} \
1730      -stepValue {0} \
1731      -fixedBits {0} \
1732      -fieldValue {Normal} \
1733      -auto False \
1734      -randomMask {0} \
1735      -trackingEnabled False \
1736      -valueType singleValue \
1737      -activeFieldChoice True \
1738      -startValue {0} \
1739      -countValue {1}
1740     sg_commit
1741     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1742
1743     #
1744     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
1745     #
1746     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
1747     ixNet setMultiAttrs $sg_field \
1748      -singleValue {0} \
1749      -seed {1} \
1750      -optionalEnabled True \
1751      -fullMesh False \
1752      -valueList {{0}} \
1753      -stepValue {0} \
1754      -fixedBits {0} \
1755      -fieldValue {0} \
1756      -auto False \
1757      -randomMask {0} \
1758      -trackingEnabled False \
1759      -valueType singleValue \
1760      -activeFieldChoice True \
1761      -startValue {0} \
1762      -countValue {1}
1763     sg_commit
1764     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1765
1766     #
1767     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1768     #
1769     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1770     ixNet setMultiAttrs $sg_field \
1771      -singleValue {0} \
1772      -seed {1} \
1773      -optionalEnabled True \
1774      -fullMesh False \
1775      -valueList {{0}} \
1776      -stepValue {0} \
1777      -fixedBits {0} \
1778      -fieldValue {0} \
1779      -auto False \
1780      -randomMask {0} \
1781      -trackingEnabled False \
1782      -valueType singleValue \
1783      -activeFieldChoice False \
1784      -startValue {0} \
1785      -countValue {1}
1786     sg_commit
1787     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1788
1789     #
1790     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1791     #
1792     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1793     ixNet setMultiAttrs $sg_field \
1794      -singleValue {0} \
1795      -seed {1} \
1796      -optionalEnabled True \
1797      -fullMesh False \
1798      -valueList {{0}} \
1799      -stepValue {0} \
1800      -fixedBits {0} \
1801      -fieldValue {0} \
1802      -auto False \
1803      -randomMask {0} \
1804      -trackingEnabled False \
1805      -valueType singleValue \
1806      -activeFieldChoice False \
1807      -startValue {0} \
1808      -countValue {1}
1809     sg_commit
1810     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1811
1812     #
1813     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1814     #
1815     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1816     ixNet setMultiAttrs $sg_field \
1817      -singleValue {8} \
1818      -seed {1} \
1819      -optionalEnabled True \
1820      -fullMesh False \
1821      -valueList {{8}} \
1822      -stepValue {8} \
1823      -fixedBits {8} \
1824      -fieldValue {Precedence 1} \
1825      -auto False \
1826      -randomMask {8} \
1827      -trackingEnabled False \
1828      -valueType singleValue \
1829      -activeFieldChoice False \
1830      -startValue {8} \
1831      -countValue {1}
1832     sg_commit
1833     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1834
1835     #
1836     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1837     #
1838     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1839     ixNet setMultiAttrs $sg_field \
1840      -singleValue {0} \
1841      -seed {1} \
1842      -optionalEnabled True \
1843      -fullMesh False \
1844      -valueList {{0}} \
1845      -stepValue {0} \
1846      -fixedBits {0} \
1847      -fieldValue {0} \
1848      -auto False \
1849      -randomMask {0} \
1850      -trackingEnabled False \
1851      -valueType singleValue \
1852      -activeFieldChoice False \
1853      -startValue {0} \
1854      -countValue {1}
1855     sg_commit
1856     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1857
1858     #
1859     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1860     #
1861     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1862     ixNet setMultiAttrs $sg_field \
1863      -singleValue {10} \
1864      -seed {1} \
1865      -optionalEnabled True \
1866      -fullMesh False \
1867      -valueList {{10}} \
1868      -stepValue {10} \
1869      -fixedBits {10} \
1870      -fieldValue {Class 1, Low drop precedence} \
1871      -auto False \
1872      -randomMask {10} \
1873      -trackingEnabled False \
1874      -valueType singleValue \
1875      -activeFieldChoice False \
1876      -startValue {10} \
1877      -countValue {1}
1878     sg_commit
1879     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1880
1881     #
1882     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1883     #
1884     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1885     ixNet setMultiAttrs $sg_field \
1886      -singleValue {0} \
1887      -seed {1} \
1888      -optionalEnabled True \
1889      -fullMesh False \
1890      -valueList {{0}} \
1891      -stepValue {0} \
1892      -fixedBits {0} \
1893      -fieldValue {0} \
1894      -auto False \
1895      -randomMask {0} \
1896      -trackingEnabled False \
1897      -valueType singleValue \
1898      -activeFieldChoice False \
1899      -startValue {0} \
1900      -countValue {1}
1901     sg_commit
1902     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1903
1904     #
1905     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1906     #
1907     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1908     ixNet setMultiAttrs $sg_field \
1909      -singleValue {46} \
1910      -seed {1} \
1911      -optionalEnabled True \
1912      -fullMesh False \
1913      -valueList {{46}} \
1914      -stepValue {46} \
1915      -fixedBits {46} \
1916      -fieldValue {46} \
1917      -auto False \
1918      -randomMask {46} \
1919      -trackingEnabled False \
1920      -valueType singleValue \
1921      -activeFieldChoice False \
1922      -startValue {46} \
1923      -countValue {1}
1924     sg_commit
1925     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1926
1927     #
1928     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1929     #
1930     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1931     ixNet setMultiAttrs $sg_field \
1932      -singleValue {0} \
1933      -seed {1} \
1934      -optionalEnabled True \
1935      -fullMesh False \
1936      -valueList {{0}} \
1937      -stepValue {0} \
1938      -fixedBits {0} \
1939      -fieldValue {0} \
1940      -auto False \
1941      -randomMask {0} \
1942      -trackingEnabled False \
1943      -valueType singleValue \
1944      -activeFieldChoice False \
1945      -startValue {0} \
1946      -countValue {1}
1947     sg_commit
1948     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1949
1950     #
1951     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
1952     #
1953     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
1954     ixNet setMultiAttrs $sg_field \
1955      -singleValue {46} \
1956      -seed {1} \
1957      -optionalEnabled True \
1958      -fullMesh False \
1959      -valueList {{20}} \
1960      -stepValue {20} \
1961      -fixedBits {20} \
1962      -fieldValue {46} \
1963      -auto True \
1964      -randomMask {20} \
1965      -trackingEnabled False \
1966      -valueType singleValue \
1967      -activeFieldChoice False \
1968      -startValue {20} \
1969      -countValue {1}
1970     sg_commit
1971     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1972
1973     #
1974     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.identification-19"
1975     #
1976     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
1977     ixNet setMultiAttrs $sg_field \
1978      -singleValue {0} \
1979      -seed {1} \
1980      -optionalEnabled True \
1981      -fullMesh False \
1982      -valueList {{0}} \
1983      -stepValue {0} \
1984      -fixedBits {0} \
1985      -fieldValue {0} \
1986      -auto False \
1987      -randomMask {0} \
1988      -trackingEnabled False \
1989      -valueType singleValue \
1990      -activeFieldChoice False \
1991      -startValue {0} \
1992      -countValue {1}
1993     sg_commit
1994     set sg_field [lindex [ixNet remapIds $sg_field] 0]
1995
1996     #
1997     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
1998     #
1999     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
2000     ixNet setMultiAttrs $sg_field \
2001      -singleValue {0} \
2002      -seed {1} \
2003      -optionalEnabled True \
2004      -fullMesh False \
2005      -valueList {{0}} \
2006      -stepValue {0} \
2007      -fixedBits {0} \
2008      -fieldValue {0} \
2009      -auto False \
2010      -randomMask {0} \
2011      -trackingEnabled False \
2012      -valueType singleValue \
2013      -activeFieldChoice False \
2014      -startValue {0} \
2015      -countValue {1}
2016     sg_commit
2017     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2018
2019     #
2020     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
2021     #
2022     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
2023     ixNet setMultiAttrs $sg_field \
2024      -singleValue {0} \
2025      -seed {1} \
2026      -optionalEnabled True \
2027      -fullMesh False \
2028      -valueList {{0}} \
2029      -stepValue {0} \
2030      -fixedBits {0} \
2031      -fieldValue {May fragment} \
2032      -auto False \
2033      -randomMask {0} \
2034      -trackingEnabled False \
2035      -valueType singleValue \
2036      -activeFieldChoice False \
2037      -startValue {0} \
2038      -countValue {1}
2039     sg_commit
2040     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2041
2042     #
2043     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
2044     #
2045     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
2046     ixNet setMultiAttrs $sg_field \
2047      -singleValue {0} \
2048      -seed {1} \
2049      -optionalEnabled True \
2050      -fullMesh False \
2051      -valueList {{0}} \
2052      -stepValue {0} \
2053      -fixedBits {0} \
2054      -fieldValue {Last fragment} \
2055      -auto False \
2056      -randomMask {0} \
2057      -trackingEnabled False \
2058      -valueType singleValue \
2059      -activeFieldChoice False \
2060      -startValue {0} \
2061      -countValue {1}
2062     sg_commit
2063     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2064
2065     #
2066     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
2067     #
2068     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
2069     ixNet setMultiAttrs $sg_field \
2070      -singleValue {0} \
2071      -seed {1} \
2072      -optionalEnabled True \
2073      -fullMesh False \
2074      -valueList {{0}} \
2075      -stepValue {0} \
2076      -fixedBits {0} \
2077      -fieldValue {0} \
2078      -auto False \
2079      -randomMask {0} \
2080      -trackingEnabled False \
2081      -valueType singleValue \
2082      -activeFieldChoice False \
2083      -startValue {0} \
2084      -countValue {1}
2085     sg_commit
2086     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2087
2088     #
2089     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
2090     #
2091     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
2092     ixNet setMultiAttrs $sg_field \
2093      -singleValue {64} \
2094      -seed {1} \
2095      -optionalEnabled True \
2096      -fullMesh False \
2097      -valueList {{64}} \
2098      -stepValue {64} \
2099      -fixedBits {64} \
2100      -fieldValue {64} \
2101      -auto False \
2102      -randomMask {64} \
2103      -trackingEnabled False \
2104      -valueType singleValue \
2105      -activeFieldChoice False \
2106      -startValue {64} \
2107      -countValue {1}
2108     sg_commit
2109     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2110
2111     #
2112     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
2113     #
2114     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
2115     ixNet setMultiAttrs $sg_field \
2116      -singleValue {17} \
2117      -seed {1} \
2118      -optionalEnabled True \
2119      -fullMesh False \
2120      -valueList {{61}} \
2121      -stepValue {61} \
2122      -fixedBits {61} \
2123      -fieldValue {UDP} \
2124      -auto True \
2125      -randomMask {61} \
2126      -trackingEnabled False \
2127      -valueType singleValue \
2128      -activeFieldChoice False \
2129      -startValue {61} \
2130      -countValue {1}
2131     sg_commit
2132     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2133
2134     #
2135     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
2136     #
2137     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
2138     ixNet setMultiAttrs $sg_field \
2139      -singleValue {0} \
2140      -seed {1} \
2141      -optionalEnabled True \
2142      -fullMesh False \
2143      -valueList {{0}} \
2144      -stepValue {0} \
2145      -fixedBits {0} \
2146      -fieldValue {0} \
2147      -auto True \
2148      -randomMask {0} \
2149      -trackingEnabled False \
2150      -valueType singleValue \
2151      -activeFieldChoice False \
2152      -startValue {0} \
2153      -countValue {1}
2154     sg_commit
2155     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2156
2157     #
2158     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
2159     #
2160     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
2161     ixNet setMultiAttrs $sg_field \
2162      -singleValue $srcIp \
2163      -seed {1} \
2164      -optionalEnabled True \
2165      -fullMesh False \
2166      -valueList {{0.0.0.0}} \
2167      -stepValue {0.0.0.0} \
2168      -fixedBits {0.0.0.0} \
2169      -fieldValue $srcIp \
2170      -auto False \
2171      -randomMask {0.0.0.0} \
2172      -trackingEnabled False \
2173      -valueType singleValue \
2174      -activeFieldChoice False \
2175      -startValue {0.0.0.0} \
2176      -countValue {1}
2177     sg_commit
2178     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2179
2180     #
2181     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
2182     #
2183     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
2184     ixNet setMultiAttrs $sg_field \
2185      -singleValue $dstIp \
2186      -seed {1} \
2187      -optionalEnabled True \
2188      -fullMesh False \
2189      -valueList {{0.0.0.0}} \
2190      -stepValue {0.0.0.1} \
2191      -fixedBits {0.0.0.0} \
2192      -fieldValue $dstIp \
2193      -auto False \
2194      -randomMask {0.0.0.0} \
2195      -trackingEnabled False \
2196      -valueType $L3ValueType \
2197      -activeFieldChoice False \
2198      -startValue $dstIp \
2199      -countValue $L3CountValue
2200     sg_commit
2201     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2202
2203     #
2204     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
2205     #
2206     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
2207     ixNet setMultiAttrs $sg_field \
2208      -singleValue {1} \
2209      -seed {1} \
2210      -optionalEnabled False \
2211      -fullMesh False \
2212      -valueList {{1}} \
2213      -stepValue {1} \
2214      -fixedBits {1} \
2215      -fieldValue {1} \
2216      -auto False \
2217      -randomMask {1} \
2218      -trackingEnabled False \
2219      -valueType singleValue \
2220      -activeFieldChoice True \
2221      -startValue {1} \
2222      -countValue {1}
2223     sg_commit
2224     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2225
2226     #
2227     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
2228     #
2229     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
2230     ixNet setMultiAttrs $sg_field \
2231      -singleValue {130} \
2232      -seed {1} \
2233      -optionalEnabled False \
2234      -fullMesh False \
2235      -valueList {{130}} \
2236      -stepValue {130} \
2237      -fixedBits {130} \
2238      -fieldValue {130} \
2239      -auto False \
2240      -randomMask {130} \
2241      -trackingEnabled False \
2242      -valueType singleValue \
2243      -activeFieldChoice False \
2244      -startValue {130} \
2245      -countValue {1}
2246     sg_commit
2247     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2248
2249     #
2250     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
2251     #
2252     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
2253     ixNet setMultiAttrs $sg_field \
2254      -singleValue {11} \
2255      -seed {1} \
2256      -optionalEnabled False \
2257      -fullMesh False \
2258      -valueList {{11}} \
2259      -stepValue {11} \
2260      -fixedBits {11} \
2261      -fieldValue {11} \
2262      -auto False \
2263      -randomMask {11} \
2264      -trackingEnabled False \
2265      -valueType singleValue \
2266      -activeFieldChoice False \
2267      -startValue {11} \
2268      -countValue {1}
2269     sg_commit
2270     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2271
2272     #
2273     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
2274     #
2275     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
2276     ixNet setMultiAttrs $sg_field \
2277      -singleValue {0} \
2278      -seed {1} \
2279      -optionalEnabled False \
2280      -fullMesh False \
2281      -valueList {{0}} \
2282      -stepValue {0} \
2283      -fixedBits {0} \
2284      -fieldValue {Unclassified} \
2285      -auto False \
2286      -randomMask {0} \
2287      -trackingEnabled False \
2288      -valueType singleValue \
2289      -activeFieldChoice False \
2290      -startValue {0} \
2291      -countValue {1}
2292     sg_commit
2293     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2294
2295     #
2296     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2297     #
2298     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2299     ixNet setMultiAttrs $sg_field \
2300      -singleValue {0} \
2301      -seed {1} \
2302      -optionalEnabled False \
2303      -fullMesh False \
2304      -valueList {{0}} \
2305      -stepValue {0} \
2306      -fixedBits {0} \
2307      -fieldValue {0} \
2308      -auto False \
2309      -randomMask {0} \
2310      -trackingEnabled False \
2311      -valueType singleValue \
2312      -activeFieldChoice False \
2313      -startValue {0} \
2314      -countValue {1}
2315     sg_commit
2316     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2317
2318     #
2319     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
2320     #
2321     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
2322     ixNet setMultiAttrs $sg_field \
2323      -singleValue {0} \
2324      -seed {1} \
2325      -optionalEnabled False \
2326      -fullMesh False \
2327      -valueList {{0}} \
2328      -stepValue {0} \
2329      -fixedBits {0} \
2330      -fieldValue {0} \
2331      -auto False \
2332      -randomMask {0} \
2333      -trackingEnabled False \
2334      -valueType singleValue \
2335      -activeFieldChoice False \
2336      -startValue {0} \
2337      -countValue {1}
2338     sg_commit
2339     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2340
2341     #
2342     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2343     #
2344     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2345     ixNet setMultiAttrs $sg_field \
2346      -singleValue {0} \
2347      -seed {1} \
2348      -optionalEnabled False \
2349      -fullMesh False \
2350      -valueList {{0}} \
2351      -stepValue {0} \
2352      -fixedBits {0} \
2353      -fieldValue {0} \
2354      -auto False \
2355      -randomMask {0} \
2356      -trackingEnabled False \
2357      -valueType singleValue \
2358      -activeFieldChoice False \
2359      -startValue {0} \
2360      -countValue {1}
2361     sg_commit
2362     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2363
2364     #
2365     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2366     #
2367     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2368     ixNet setMultiAttrs $sg_field \
2369      -singleValue {131} \
2370      -seed {1} \
2371      -optionalEnabled False \
2372      -fullMesh False \
2373      -valueList {{131}} \
2374      -stepValue {131} \
2375      -fixedBits {131} \
2376      -fieldValue {131} \
2377      -auto False \
2378      -randomMask {131} \
2379      -trackingEnabled False \
2380      -valueType singleValue \
2381      -activeFieldChoice False \
2382      -startValue {131} \
2383      -countValue {1}
2384     sg_commit
2385     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2386
2387     #
2388     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2389     #
2390     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2391     ixNet setMultiAttrs $sg_field \
2392      -singleValue {8} \
2393      -seed {1} \
2394      -optionalEnabled False \
2395      -fullMesh False \
2396      -valueList {{8}} \
2397      -stepValue {8} \
2398      -fixedBits {8} \
2399      -fieldValue {8} \
2400      -auto False \
2401      -randomMask {8} \
2402      -trackingEnabled False \
2403      -valueType singleValue \
2404      -activeFieldChoice False \
2405      -startValue {8} \
2406      -countValue {1}
2407     sg_commit
2408     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2409
2410     #
2411     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
2412     #
2413     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
2414     ixNet setMultiAttrs $sg_field \
2415      -singleValue {4} \
2416      -seed {1} \
2417      -optionalEnabled False \
2418      -fullMesh False \
2419      -valueList {{4}} \
2420      -stepValue {4} \
2421      -fixedBits {4} \
2422      -fieldValue {4} \
2423      -auto False \
2424      -randomMask {4} \
2425      -trackingEnabled False \
2426      -valueType singleValue \
2427      -activeFieldChoice False \
2428      -startValue {4} \
2429      -countValue {1}
2430     sg_commit
2431     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2432
2433     #
2434     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
2435     #
2436     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
2437     ixNet setMultiAttrs $sg_field \
2438      -singleValue {0} \
2439      -seed {1} \
2440      -optionalEnabled False \
2441      -fullMesh False \
2442      -valueList {{0}} \
2443      -stepValue {0} \
2444      -fixedBits {0} \
2445      -fieldValue {0} \
2446      -auto False \
2447      -randomMask {0} \
2448      -trackingEnabled False \
2449      -valueType singleValue \
2450      -activeFieldChoice False \
2451      -startValue {0} \
2452      -countValue {1}
2453     sg_commit
2454     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2455
2456     #
2457     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2458     #
2459     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2460     ixNet setMultiAttrs $sg_field \
2461      -singleValue {137} \
2462      -seed {1} \
2463      -optionalEnabled False \
2464      -fullMesh False \
2465      -valueList {{137}} \
2466      -stepValue {137} \
2467      -fixedBits {137} \
2468      -fieldValue {137} \
2469      -auto False \
2470      -randomMask {137} \
2471      -trackingEnabled False \
2472      -valueType singleValue \
2473      -activeFieldChoice False \
2474      -startValue {137} \
2475      -countValue {1}
2476     sg_commit
2477     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2478
2479     #
2480     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2481     #
2482     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2483     ixNet setMultiAttrs $sg_field \
2484      -singleValue {8} \
2485      -seed {1} \
2486      -optionalEnabled False \
2487      -fullMesh False \
2488      -valueList {{8}} \
2489      -stepValue {8} \
2490      -fixedBits {8} \
2491      -fieldValue {8} \
2492      -auto False \
2493      -randomMask {8} \
2494      -trackingEnabled False \
2495      -valueType singleValue \
2496      -activeFieldChoice False \
2497      -startValue {8} \
2498      -countValue {1}
2499     sg_commit
2500     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2501
2502     #
2503     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2504     #
2505     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2506     ixNet setMultiAttrs $sg_field \
2507      -singleValue {7} \
2508      -seed {1} \
2509      -optionalEnabled False \
2510      -fullMesh False \
2511      -valueList {{7}} \
2512      -stepValue {7} \
2513      -fixedBits {7} \
2514      -fieldValue {7} \
2515      -auto False \
2516      -randomMask {7} \
2517      -trackingEnabled False \
2518      -valueType singleValue \
2519      -activeFieldChoice False \
2520      -startValue {7} \
2521      -countValue {1}
2522     sg_commit
2523     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2524
2525     #
2526     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2527     #
2528     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2529     ixNet setMultiAttrs $sg_field \
2530      -singleValue {8} \
2531      -seed {1} \
2532      -optionalEnabled False \
2533      -fullMesh False \
2534      -valueList {{8}} \
2535      -stepValue {8} \
2536      -fixedBits {8} \
2537      -fieldValue {8} \
2538      -auto False \
2539      -randomMask {8} \
2540      -trackingEnabled False \
2541      -valueType singleValue \
2542      -activeFieldChoice False \
2543      -startValue {8} \
2544      -countValue {1}
2545     sg_commit
2546     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2547
2548     #
2549     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2550     #
2551     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2552     ixNet setMultiAttrs $sg_field \
2553      -singleValue {136} \
2554      -seed {1} \
2555      -optionalEnabled False \
2556      -fullMesh False \
2557      -valueList {{136}} \
2558      -stepValue {136} \
2559      -fixedBits {136} \
2560      -fieldValue {136} \
2561      -auto False \
2562      -randomMask {136} \
2563      -trackingEnabled False \
2564      -valueType singleValue \
2565      -activeFieldChoice False \
2566      -startValue {136} \
2567      -countValue {1}
2568     sg_commit
2569     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2570
2571     #
2572     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2573     #
2574     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2575     ixNet setMultiAttrs $sg_field \
2576      -singleValue {4} \
2577      -seed {1} \
2578      -optionalEnabled False \
2579      -fullMesh False \
2580      -valueList {{4}} \
2581      -stepValue {4} \
2582      -fixedBits {4} \
2583      -fieldValue {4} \
2584      -auto False \
2585      -randomMask {4} \
2586      -trackingEnabled False \
2587      -valueType singleValue \
2588      -activeFieldChoice False \
2589      -startValue {4} \
2590      -countValue {1}
2591     sg_commit
2592     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2593
2594     #
2595     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2596     #
2597     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2598     ixNet setMultiAttrs $sg_field \
2599      -singleValue {0} \
2600      -seed {1} \
2601      -optionalEnabled False \
2602      -fullMesh False \
2603      -valueList {{0}} \
2604      -stepValue {0} \
2605      -fixedBits {0} \
2606      -fieldValue {0} \
2607      -auto False \
2608      -randomMask {0} \
2609      -trackingEnabled False \
2610      -valueType singleValue \
2611      -activeFieldChoice False \
2612      -startValue {0} \
2613      -countValue {1}
2614     sg_commit
2615     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2616
2617     #
2618     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2619     #
2620     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2621     ixNet setMultiAttrs $sg_field \
2622      -singleValue {68} \
2623      -seed {1} \
2624      -optionalEnabled False \
2625      -fullMesh False \
2626      -valueList {{68}} \
2627      -stepValue {68} \
2628      -fixedBits {68} \
2629      -fieldValue {68} \
2630      -auto False \
2631      -randomMask {68} \
2632      -trackingEnabled False \
2633      -valueType singleValue \
2634      -activeFieldChoice False \
2635      -startValue {68} \
2636      -countValue {1}
2637     sg_commit
2638     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2639
2640     #
2641     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2642     #
2643     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2644     ixNet setMultiAttrs $sg_field \
2645      -singleValue {12} \
2646      -seed {1} \
2647      -optionalEnabled False \
2648      -fullMesh False \
2649      -valueList {{12}} \
2650      -stepValue {12} \
2651      -fixedBits {12} \
2652      -fieldValue {12} \
2653      -auto False \
2654      -randomMask {12} \
2655      -trackingEnabled False \
2656      -valueType singleValue \
2657      -activeFieldChoice False \
2658      -startValue {12} \
2659      -countValue {1}
2660     sg_commit
2661     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2662
2663     #
2664     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2665     #
2666     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2667     ixNet setMultiAttrs $sg_field \
2668      -singleValue {5} \
2669      -seed {1} \
2670      -optionalEnabled False \
2671      -fullMesh False \
2672      -valueList {{5}} \
2673      -stepValue {5} \
2674      -fixedBits {5} \
2675      -fieldValue {5} \
2676      -auto False \
2677      -randomMask {5} \
2678      -trackingEnabled False \
2679      -valueType singleValue \
2680      -activeFieldChoice False \
2681      -startValue {5} \
2682      -countValue {1}
2683     sg_commit
2684     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2685
2686     #
2687     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2688     #
2689     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2690     ixNet setMultiAttrs $sg_field \
2691      -singleValue {0} \
2692      -seed {1} \
2693      -optionalEnabled False \
2694      -fullMesh False \
2695      -valueList {{0}} \
2696      -stepValue {0} \
2697      -fixedBits {0} \
2698      -fieldValue {0} \
2699      -auto False \
2700      -randomMask {0} \
2701      -trackingEnabled False \
2702      -valueType singleValue \
2703      -activeFieldChoice False \
2704      -startValue {0} \
2705      -countValue {1}
2706     sg_commit
2707     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2708
2709     #
2710     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2711     #
2712     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2713     ixNet setMultiAttrs $sg_field \
2714      -singleValue {0} \
2715      -seed {1} \
2716      -optionalEnabled False \
2717      -fullMesh False \
2718      -valueList {{0}} \
2719      -stepValue {0} \
2720      -fixedBits {0} \
2721      -fieldValue {Timestamps only, in consecutive 32-bit words} \
2722      -auto False \
2723      -randomMask {0} \
2724      -trackingEnabled False \
2725      -valueType singleValue \
2726      -activeFieldChoice False \
2727      -startValue {0} \
2728      -countValue {1}
2729     sg_commit
2730     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2731
2732     #
2733     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2734     #
2735     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2736     ixNet setMultiAttrs $sg_field \
2737      -singleValue {0} \
2738      -seed {1} \
2739      -optionalEnabled False \
2740      -fullMesh False \
2741      -valueList {{0}} \
2742      -stepValue {0} \
2743      -fixedBits {0} \
2744      -fieldValue {0} \
2745      -auto False \
2746      -randomMask {0} \
2747      -trackingEnabled False \
2748      -valueType singleValue \
2749      -activeFieldChoice False \
2750      -startValue {0} \
2751      -countValue {1}
2752     sg_commit
2753     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2754
2755     #
2756     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2757     #
2758     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2759     ixNet setMultiAttrs $sg_field \
2760      -singleValue {0} \
2761      -seed {1} \
2762      -optionalEnabled False \
2763      -fullMesh False \
2764      -valueList {{0}} \
2765      -stepValue {0} \
2766      -fixedBits {0} \
2767      -fieldValue {0} \
2768      -auto False \
2769      -randomMask {0} \
2770      -trackingEnabled False \
2771      -valueType singleValue \
2772      -activeFieldChoice False \
2773      -startValue {0} \
2774      -countValue {1}
2775     sg_commit
2776     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2777
2778     #
2779     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
2780     #
2781     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
2782     ixNet setMultiAttrs $sg_field \
2783      -singleValue {0} \
2784      -seed {1} \
2785      -optionalEnabled False \
2786      -fullMesh False \
2787      -valueList {{0}} \
2788      -stepValue {0} \
2789      -fixedBits {0} \
2790      -fieldValue {0} \
2791      -auto False \
2792      -randomMask {0} \
2793      -trackingEnabled False \
2794      -valueType singleValue \
2795      -activeFieldChoice False \
2796      -startValue {0} \
2797      -countValue {1}
2798     sg_commit
2799     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2800
2801     #
2802     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2803     #
2804     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2805     ixNet setMultiAttrs $sg_field \
2806      -singleValue {94} \
2807      -seed {1} \
2808      -optionalEnabled False \
2809      -fullMesh False \
2810      -valueList {{0x94}} \
2811      -stepValue {0x94} \
2812      -fixedBits {0x94} \
2813      -fieldValue {94} \
2814      -auto False \
2815      -randomMask {0x94} \
2816      -trackingEnabled False \
2817      -valueType singleValue \
2818      -activeFieldChoice False \
2819      -startValue {0x94} \
2820      -countValue {1}
2821     sg_commit
2822     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2823
2824     #
2825     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2826     #
2827     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2828     ixNet setMultiAttrs $sg_field \
2829      -singleValue {4} \
2830      -seed {1} \
2831      -optionalEnabled False \
2832      -fullMesh False \
2833      -valueList {{0x04}} \
2834      -stepValue {0x04} \
2835      -fixedBits {0x04} \
2836      -fieldValue {4} \
2837      -auto False \
2838      -randomMask {0x04} \
2839      -trackingEnabled False \
2840      -valueType singleValue \
2841      -activeFieldChoice False \
2842      -startValue {0x04} \
2843      -countValue {1}
2844     sg_commit
2845     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2846
2847     #
2848     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2849     #
2850     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2851     ixNet setMultiAttrs $sg_field \
2852      -singleValue {0} \
2853      -seed {1} \
2854      -optionalEnabled False \
2855      -fullMesh False \
2856      -valueList {{0}} \
2857      -stepValue {0} \
2858      -fixedBits {0} \
2859      -fieldValue {Router shall examine packet} \
2860      -auto False \
2861      -randomMask {0} \
2862      -trackingEnabled False \
2863      -valueType singleValue \
2864      -activeFieldChoice False \
2865      -startValue {0} \
2866      -countValue {1}
2867     sg_commit
2868     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2869
2870     #
2871     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
2872     #
2873     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
2874     ixNet setMultiAttrs $sg_field \
2875      -singleValue {0} \
2876      -seed {1} \
2877      -optionalEnabled False \
2878      -fullMesh False \
2879      -valueList {{0}} \
2880      -stepValue {0} \
2881      -fixedBits {0} \
2882      -fieldValue {0} \
2883      -auto True \
2884      -randomMask {0} \
2885      -trackingEnabled False \
2886      -valueType singleValue \
2887      -activeFieldChoice False \
2888      -startValue {0} \
2889      -countValue {1}
2890     sg_commit
2891     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2892
2893     #
2894     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"
2895     #
2896     set sg_stack $ixNetSG_Stack(2)/stack:"udp-$stack_number"
2897     sg_commit
2898     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
2899     set ixNetSG_Stack(3) $sg_stack
2900     incr stack_number
2901
2902     #
2903     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.srcPort-1"
2904     #
2905     set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
2906     ixNet setMultiAttrs $sg_field \
2907      -singleValue $srcPort \
2908      -seed {1} \
2909      -optionalEnabled True \
2910      -fullMesh False \
2911      -valueList {{63}} \
2912      -stepValue {63} \
2913      -fixedBits {63} \
2914      -fieldValue $srcPort \
2915      -auto False \
2916      -randomMask {63} \
2917      -trackingEnabled False \
2918      -valueType singleValue \
2919      -activeFieldChoice False \
2920      -startValue $srcPort \
2921      -countValue {1}
2922     sg_commit
2923     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2924
2925     #
2926     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.dstPort-2"
2927     #
2928     set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
2929     ixNet setMultiAttrs $sg_field \
2930      -singleValue $dstPort \
2931      -seed {1} \
2932      -optionalEnabled True \
2933      -fullMesh False \
2934      -valueList {{63}} \
2935      -stepValue {1} \
2936      -fixedBits {63} \
2937      -fieldValue $dstPort \
2938      -auto False \
2939      -randomMask {63} \
2940      -trackingEnabled False \
2941      -valueType $L4ValueType \
2942      -activeFieldChoice False \
2943      -startValue {0} \
2944      -countValue $L4CountValue
2945     sg_commit
2946     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2947
2948     #
2949     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.length-3"
2950     #
2951     set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
2952     ixNet setMultiAttrs $sg_field \
2953      -singleValue {26} \
2954      -seed {1} \
2955      -optionalEnabled True \
2956      -fullMesh False \
2957      -valueList {{8}} \
2958      -stepValue {8} \
2959      -fixedBits {8} \
2960      -fieldValue {26} \
2961      -auto True \
2962      -randomMask {8} \
2963      -trackingEnabled False \
2964      -valueType singleValue \
2965      -activeFieldChoice False \
2966      -startValue {8} \
2967      -countValue {1}
2968     sg_commit
2969     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2970
2971     #
2972     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.checksum-4"
2973     #
2974     set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
2975     ixNet setMultiAttrs $sg_field \
2976      -singleValue {0} \
2977      -seed {1} \
2978      -optionalEnabled True \
2979      -fullMesh False \
2980      -valueList {{0}} \
2981      -stepValue {0} \
2982      -fixedBits {0} \
2983      -fieldValue {0} \
2984      -auto True \
2985      -randomMask {0} \
2986      -trackingEnabled False \
2987      -valueType singleValue \
2988      -activeFieldChoice False \
2989      -startValue {0} \
2990      -countValue {1}
2991     sg_commit
2992     set sg_field [lindex [ixNet remapIds $sg_field] 0]
2993
2994     #
2995     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"
2996     #
2997     set sg_stack $ixNetSG_Stack(2)/stack:"fcs-$stack_number"
2998     sg_commit
2999     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3000     set ixNetSG_Stack(3) $sg_stack
3001     incr stack_number
3002
3003     #
3004     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"/field:"ethernet.fcs-1"
3005     #
3006     set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
3007     ixNet setMultiAttrs $sg_field \
3008      -singleValue {0} \
3009      -seed {1} \
3010      -optionalEnabled True \
3011      -fullMesh False \
3012      -valueList {{0}} \
3013      -stepValue {0} \
3014      -fixedBits {0} \
3015      -fieldValue {0} \
3016      -auto True \
3017      -randomMask {0} \
3018      -trackingEnabled False \
3019      -valueType singleValue \
3020      -activeFieldChoice False \
3021      -startValue {0} \
3022      -countValue {1}
3023     sg_commit
3024     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3025
3026     #
3027     # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/transmissionDistribution
3028     #
3029     set sg_transmissionDistribution $ixNetSG_Stack(2)/transmissionDistribution
3030     ixNet setMultiAttrs $sg_transmissionDistribution \
3031      -distributions {}
3032     sg_commit
3033     set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3034
3035     #
3036     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1
3037     #
3038     set sg_highLevelStream $ixNetSG_Stack(1)/highLevelStream:1
3039     ixNet setMultiAttrs $sg_highLevelStream \
3040      -destinationMacMode manual \
3041      -crc goodCrc \
3042      -txPortId $ixNetSG_ref(2) \
3043      -preambleFrameSizeMode auto \
3044      -rxPortIds [list $ixNetSG_ref(10)] \
3045      -suspend False \
3046      -preambleCustomSize 8 \
3047      -name {Traffic Item 1-EndpointSet-1 - Flow Group 0001}
3048     ixNet setMultiAttrs $sg_highLevelStream/frameSize \
3049      -weightedPairs {} \
3050      -fixedSize 64 \
3051      -incrementFrom 64 \
3052      -randomMin 64 \
3053      -randomMax 1518 \
3054      -quadGaussian {} \
3055      -type fixed \
3056      -presetDistribution cisco \
3057      -incrementStep 1 \
3058      -incrementTo 1518
3059     ixNet setMultiAttrs $sg_highLevelStream/frameRate \
3060      -bitRateUnitsType bitsPerSec \
3061      -rate 10 \
3062      -enforceMinimumInterPacketGap 0 \
3063      -type percentLineRate \
3064      -interPacketGapUnitsType nanoseconds
3065     ixNet setMultiAttrs $sg_highLevelStream/framePayload \
3066      -type incrementByte \
3067      -customRepeat True \
3068      -customPattern {}
3069     ixNet setMultiAttrs $sg_highLevelStream/transmissionControl \
3070      -frameCount 1 \
3071      -minGapBytes 12 \
3072      -interStreamGap 0 \
3073      -interBurstGap 0 \
3074      -interBurstGapUnits nanoseconds \
3075      -type continuous \
3076      -duration 1 \
3077      -repeatBurst 1 \
3078      -enableInterStreamGap False \
3079      -startDelayUnits bytes \
3080      -iterationCount 1 \
3081      -burstPacketCount 1 \
3082      -enableInterBurstGap False \
3083      -startDelay 0
3084     sg_commit
3085     set sg_highLevelStream [lindex [ixNet remapIds $sg_highLevelStream] 0]
3086     set ixNetSG_Stack(2) $sg_highLevelStream
3087
3088     #
3089     # Reset stack_number after configElement processing before highLevelStream processing starts
3090     #
3091     set stack_number    1
3092
3093     #
3094     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ethernet-1"
3095     #
3096     set sg_stack $ixNetSG_Stack(2)/stack:"ethernet-$stack_number"
3097     sg_commit
3098     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3099     set ixNetSG_Stack(3) $sg_stack
3100     incr stack_number
3101
3102     #
3103     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
3104     #
3105     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
3106     ixNet setMultiAttrs $sg_field \
3107      -singleValue $dstMac \
3108      -seed {1} \
3109      -optionalEnabled True \
3110      -fullMesh False \
3111      -valueList {{00:00:00:00:00:00}} \
3112      -stepValue {00:00:00:00:00:01} \
3113      -fixedBits {00:00:00:00:00:00} \
3114      -fieldValue $dstMac \
3115      -auto False \
3116      -randomMask {00:00:00:00:00:00} \
3117      -trackingEnabled False \
3118      -valueType singleValue \
3119      -activeFieldChoice False \
3120      -startValue $dstMac \
3121      -countValue {1}
3122     sg_commit
3123     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3124
3125     #
3126     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
3127     #
3128     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
3129     ixNet setMultiAttrs $sg_field \
3130      -singleValue {00:00:00:00:00:01} \
3131      -seed {1} \
3132      -optionalEnabled True \
3133      -fullMesh False \
3134      -valueList {{00:00:00:00:00:00}} \
3135      -stepValue {00:00:00:00:00:00} \
3136      -fixedBits {00:00:00:00:00:00} \
3137      -fieldValue {00:00:00:00:00:01} \
3138      -auto False \
3139      -randomMask {00:00:00:00:00:00} \
3140      -trackingEnabled False \
3141      -valueType singleValue \
3142      -activeFieldChoice False \
3143      -startValue {00:00:00:00:00:00} \
3144      -countValue {1}
3145     sg_commit
3146     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3147
3148     #
3149     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
3150     #
3151     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
3152     ixNet setMultiAttrs $sg_field \
3153      -singleValue {800} \
3154      -seed {1} \
3155      -optionalEnabled True \
3156      -fullMesh False \
3157      -valueList {{0xFFFF}} \
3158      -stepValue {0xFFFF} \
3159      -fixedBits {0xFFFF} \
3160      -fieldValue {800} \
3161      -auto True \
3162      -randomMask {0xFFFF} \
3163      -trackingEnabled False \
3164      -valueType singleValue \
3165      -activeFieldChoice False \
3166      -startValue {0xFFFF} \
3167      -countValue {1}
3168     sg_commit
3169     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3170
3171     #
3172     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
3173     #
3174     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
3175     ixNet setMultiAttrs $sg_field \
3176      -singleValue {0} \
3177      -seed {1} \
3178      -optionalEnabled True \
3179      -fullMesh False \
3180      -valueList {{0}} \
3181      -stepValue {0} \
3182      -fixedBits {0} \
3183      -fieldValue {0} \
3184      -auto False \
3185      -randomMask {0} \
3186      -trackingEnabled False \
3187      -valueType singleValue \
3188      -activeFieldChoice False \
3189      -startValue {0} \
3190      -countValue {1}
3191     sg_commit
3192     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3193
3194     if {$vlanEnabled == 1 } {
3195         set sg_stack $ixNetSG_Stack(2)/stack:"vlan-$stack_number"
3196         sg_commit
3197         set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3198         set ixNetSG_Stack(3) $sg_stack
3199         incr stack_number
3200
3201         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanUserPriority-1"
3202         ixNet setMultiAttrs $sg_field \
3203                 -singleValue $vlanUserPrio \
3204                 -seed 1 \
3205                 -optionalEnabled true \
3206                 -fullMesh false \
3207                 -valueList [list 0] \
3208                 -stepValue 0 \
3209                 -fixedBits 0 \
3210                 -fieldValue $vlanUserPrio \
3211                 -auto false \
3212                 -randomMask 0 \
3213                 -trackingEnabled false \
3214                 -valueType singleValue \
3215                 -activeFieldChoice false \
3216                 -startValue 0 \
3217                 -countValue 1
3218
3219         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.cfi-2"
3220         ixNet setMultiAttrs $sg_field \
3221                 -singleValue $vlanCfi \
3222                 -seed 1 \
3223                 -optionalEnabled true \
3224                 -fullMesh false \
3225                 -valueList [list 0] \
3226                 -stepValue 0 \
3227                 -fixedBits 0 \
3228                 -fieldValue $vlanCfi \
3229                 -auto false \
3230                 -randomMask 0 \
3231                 -trackingEnabled false \
3232                 -valueType singleValue \
3233                 -activeFieldChoice false \
3234                 -startValue 0 \
3235                 -countValue 1
3236
3237         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanID-3"
3238         ixNet setMultiAttrs $sg_field \
3239                 -singleValue $vlanId \
3240                 -seed 1 \
3241                 -optionalEnabled true \
3242                 -fullMesh false \
3243                 -valueList [list 0] \
3244                 -stepValue 0 \
3245                 -fixedBits 0 \
3246                 -fieldValue $vlanId \
3247                 -auto false \
3248                 -randomMask 0 \
3249                 -trackingEnabled false \
3250                 -valueType singleValue \
3251                 -activeFieldChoice false \
3252                 -startValue 0 \
3253                 -countValue 1
3254
3255         set sg_field $ixNetSG_Stack(3)/field:"vlan.header.protocolID-4"
3256         ixNet setMultiAttrs $sg_field \
3257                 -singleValue ffff \
3258                 -seed 1 \
3259                 -optionalEnabled true \
3260                 -fullMesh false \
3261                 -valueList [list 0xffff] \
3262                 -stepValue 0xffff \
3263                 -fixedBits 0xffff \
3264                 -fieldValue ffff \
3265                 -auto true \
3266                 -randomMask 0xffff \
3267                 -trackingEnabled false \
3268                 -valueType singleValue \
3269                 -activeFieldChoice false \
3270                 -startValue 0xffff \
3271                 -countValue 1
3272     }
3273
3274     #
3275     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"
3276     #
3277     set sg_stack $ixNetSG_Stack(2)/stack:"ipv4-$stack_number"
3278     sg_commit
3279     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3280     set ixNetSG_Stack(3) $sg_stack
3281     incr stack_number
3282
3283     #
3284     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.version-1"
3285     #
3286     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
3287     ixNet setMultiAttrs $sg_field \
3288      -singleValue {4} \
3289      -seed {1} \
3290      -optionalEnabled True \
3291      -fullMesh False \
3292      -valueList {{4}} \
3293      -stepValue {4} \
3294      -fixedBits {4} \
3295      -fieldValue {4} \
3296      -auto False \
3297      -randomMask {4} \
3298      -trackingEnabled False \
3299      -valueType singleValue \
3300      -activeFieldChoice False \
3301      -startValue {4} \
3302      -countValue {1}
3303     sg_commit
3304     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3305
3306     #
3307     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
3308     #
3309     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
3310     ixNet setMultiAttrs $sg_field \
3311      -singleValue {5} \
3312      -seed {1} \
3313      -optionalEnabled True \
3314      -fullMesh False \
3315      -valueList {{0}} \
3316      -stepValue {0} \
3317      -fixedBits {0} \
3318      -fieldValue {5} \
3319      -auto True \
3320      -randomMask {0} \
3321      -trackingEnabled False \
3322      -valueType singleValue \
3323      -activeFieldChoice False \
3324      -startValue {0} \
3325      -countValue {1}
3326     sg_commit
3327     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3328
3329     #
3330     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
3331     #
3332     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
3333     ixNet setMultiAttrs $sg_field \
3334      -singleValue {0} \
3335      -seed {1} \
3336      -optionalEnabled True \
3337      -fullMesh False \
3338      -valueList {{0}} \
3339      -stepValue {0} \
3340      -fixedBits {0} \
3341      -fieldValue {0} \
3342      -auto False \
3343      -randomMask {0} \
3344      -trackingEnabled False \
3345      -valueType singleValue \
3346      -activeFieldChoice False \
3347      -startValue {0} \
3348      -countValue {1}
3349     sg_commit
3350     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3351
3352     #
3353     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
3354     #
3355     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
3356     ixNet setMultiAttrs $sg_field \
3357      -singleValue {0} \
3358      -seed {1} \
3359      -optionalEnabled True \
3360      -fullMesh False \
3361      -valueList {{0}} \
3362      -stepValue {0} \
3363      -fixedBits {0} \
3364      -fieldValue {000 Routine} \
3365      -auto False \
3366      -randomMask {0} \
3367      -trackingEnabled False \
3368      -valueType singleValue \
3369      -activeFieldChoice True \
3370      -startValue {0} \
3371      -countValue {1}
3372     sg_commit
3373     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3374
3375     #
3376     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
3377     #
3378     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
3379     ixNet setMultiAttrs $sg_field \
3380      -singleValue {0} \
3381      -seed {1} \
3382      -optionalEnabled True \
3383      -fullMesh False \
3384      -valueList {{0}} \
3385      -stepValue {0} \
3386      -fixedBits {0} \
3387      -fieldValue {Normal} \
3388      -auto False \
3389      -randomMask {0} \
3390      -trackingEnabled False \
3391      -valueType singleValue \
3392      -activeFieldChoice True \
3393      -startValue {0} \
3394      -countValue {1}
3395     sg_commit
3396     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3397
3398     #
3399     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
3400     #
3401     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
3402     ixNet setMultiAttrs $sg_field \
3403      -singleValue {0} \
3404      -seed {1} \
3405      -optionalEnabled True \
3406      -fullMesh False \
3407      -valueList {{0}} \
3408      -stepValue {0} \
3409      -fixedBits {0} \
3410      -fieldValue {Normal} \
3411      -auto False \
3412      -randomMask {0} \
3413      -trackingEnabled False \
3414      -valueType singleValue \
3415      -activeFieldChoice True \
3416      -startValue {0} \
3417      -countValue {1}
3418     sg_commit
3419     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3420
3421     #
3422     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
3423     #
3424     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
3425     ixNet setMultiAttrs $sg_field \
3426      -singleValue {0} \
3427      -seed {1} \
3428      -optionalEnabled True \
3429      -fullMesh False \
3430      -valueList {{0}} \
3431      -stepValue {0} \
3432      -fixedBits {0} \
3433      -fieldValue {Normal} \
3434      -auto False \
3435      -randomMask {0} \
3436      -trackingEnabled False \
3437      -valueType singleValue \
3438      -activeFieldChoice True \
3439      -startValue {0} \
3440      -countValue {1}
3441     sg_commit
3442     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3443
3444     #
3445     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
3446     #
3447     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
3448     ixNet setMultiAttrs $sg_field \
3449      -singleValue {0} \
3450      -seed {1} \
3451      -optionalEnabled True \
3452      -fullMesh False \
3453      -valueList {{0}} \
3454      -stepValue {0} \
3455      -fixedBits {0} \
3456      -fieldValue {Normal} \
3457      -auto False \
3458      -randomMask {0} \
3459      -trackingEnabled False \
3460      -valueType singleValue \
3461      -activeFieldChoice True \
3462      -startValue {0} \
3463      -countValue {1}
3464     sg_commit
3465     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3466
3467     #
3468     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
3469     #
3470     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
3471     ixNet setMultiAttrs $sg_field \
3472      -singleValue {0} \
3473      -seed {1} \
3474      -optionalEnabled True \
3475      -fullMesh False \
3476      -valueList {{0}} \
3477      -stepValue {0} \
3478      -fixedBits {0} \
3479      -fieldValue {0} \
3480      -auto False \
3481      -randomMask {0} \
3482      -trackingEnabled False \
3483      -valueType singleValue \
3484      -activeFieldChoice True \
3485      -startValue {0} \
3486      -countValue {1}
3487     sg_commit
3488     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3489
3490     #
3491     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3492     #
3493     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3494     ixNet setMultiAttrs $sg_field \
3495      -singleValue {0} \
3496      -seed {1} \
3497      -optionalEnabled True \
3498      -fullMesh False \
3499      -valueList {{0}} \
3500      -stepValue {0} \
3501      -fixedBits {0} \
3502      -fieldValue {0} \
3503      -auto False \
3504      -randomMask {0} \
3505      -trackingEnabled False \
3506      -valueType singleValue \
3507      -activeFieldChoice False \
3508      -startValue {0} \
3509      -countValue {1}
3510     sg_commit
3511     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3512
3513     #
3514     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3515     #
3516     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3517     ixNet setMultiAttrs $sg_field \
3518      -singleValue {0} \
3519      -seed {1} \
3520      -optionalEnabled True \
3521      -fullMesh False \
3522      -valueList {{0}} \
3523      -stepValue {0} \
3524      -fixedBits {0} \
3525      -fieldValue {0} \
3526      -auto False \
3527      -randomMask {0} \
3528      -trackingEnabled False \
3529      -valueType singleValue \
3530      -activeFieldChoice False \
3531      -startValue {0} \
3532      -countValue {1}
3533     sg_commit
3534     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3535
3536     #
3537     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3538     #
3539     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3540     ixNet setMultiAttrs $sg_field \
3541      -singleValue {8} \
3542      -seed {1} \
3543      -optionalEnabled True \
3544      -fullMesh False \
3545      -valueList {{8}} \
3546      -stepValue {8} \
3547      -fixedBits {8} \
3548      -fieldValue {Precedence 1} \
3549      -auto False \
3550      -randomMask {8} \
3551      -trackingEnabled False \
3552      -valueType singleValue \
3553      -activeFieldChoice False \
3554      -startValue {8} \
3555      -countValue {1}
3556     sg_commit
3557     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3558
3559     #
3560     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3561     #
3562     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3563     ixNet setMultiAttrs $sg_field \
3564      -singleValue {0} \
3565      -seed {1} \
3566      -optionalEnabled True \
3567      -fullMesh False \
3568      -valueList {{0}} \
3569      -stepValue {0} \
3570      -fixedBits {0} \
3571      -fieldValue {0} \
3572      -auto False \
3573      -randomMask {0} \
3574      -trackingEnabled False \
3575      -valueType singleValue \
3576      -activeFieldChoice False \
3577      -startValue {0} \
3578      -countValue {1}
3579     sg_commit
3580     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3581
3582     #
3583     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3584     #
3585     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3586     ixNet setMultiAttrs $sg_field \
3587      -singleValue {10} \
3588      -seed {1} \
3589      -optionalEnabled True \
3590      -fullMesh False \
3591      -valueList {{10}} \
3592      -stepValue {10} \
3593      -fixedBits {10} \
3594      -fieldValue {Class 1, Low drop precedence} \
3595      -auto False \
3596      -randomMask {10} \
3597      -trackingEnabled False \
3598      -valueType singleValue \
3599      -activeFieldChoice False \
3600      -startValue {10} \
3601      -countValue {1}
3602     sg_commit
3603     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3604
3605     #
3606     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3607     #
3608     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3609     ixNet setMultiAttrs $sg_field \
3610      -singleValue {0} \
3611      -seed {1} \
3612      -optionalEnabled True \
3613      -fullMesh False \
3614      -valueList {{0}} \
3615      -stepValue {0} \
3616      -fixedBits {0} \
3617      -fieldValue {0} \
3618      -auto False \
3619      -randomMask {0} \
3620      -trackingEnabled False \
3621      -valueType singleValue \
3622      -activeFieldChoice False \
3623      -startValue {0} \
3624      -countValue {1}
3625     sg_commit
3626     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3627
3628     #
3629     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3630     #
3631     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3632     ixNet setMultiAttrs $sg_field \
3633      -singleValue {46} \
3634      -seed {1} \
3635      -optionalEnabled True \
3636      -fullMesh False \
3637      -valueList {{46}} \
3638      -stepValue {46} \
3639      -fixedBits {46} \
3640      -fieldValue {46} \
3641      -auto False \
3642      -randomMask {46} \
3643      -trackingEnabled False \
3644      -valueType singleValue \
3645      -activeFieldChoice False \
3646      -startValue {46} \
3647      -countValue {1}
3648     sg_commit
3649     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3650
3651     #
3652     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3653     #
3654     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3655     ixNet setMultiAttrs $sg_field \
3656      -singleValue {0} \
3657      -seed {1} \
3658      -optionalEnabled True \
3659      -fullMesh False \
3660      -valueList {{0}} \
3661      -stepValue {0} \
3662      -fixedBits {0} \
3663      -fieldValue {0} \
3664      -auto False \
3665      -randomMask {0} \
3666      -trackingEnabled False \
3667      -valueType singleValue \
3668      -activeFieldChoice False \
3669      -startValue {0} \
3670      -countValue {1}
3671     sg_commit
3672     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3673
3674     #
3675     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
3676     #
3677     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
3678     ixNet setMultiAttrs $sg_field \
3679      -singleValue {46} \
3680      -seed {1} \
3681      -optionalEnabled True \
3682      -fullMesh False \
3683      -valueList {{20}} \
3684      -stepValue {20} \
3685      -fixedBits {20} \
3686      -fieldValue {46} \
3687      -auto True \
3688      -randomMask {20} \
3689      -trackingEnabled False \
3690      -valueType singleValue \
3691      -activeFieldChoice False \
3692      -startValue {20} \
3693      -countValue {1}
3694     sg_commit
3695     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3696
3697     #
3698     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.identification-19"
3699     #
3700     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
3701     ixNet setMultiAttrs $sg_field \
3702      -singleValue {0} \
3703      -seed {1} \
3704      -optionalEnabled True \
3705      -fullMesh False \
3706      -valueList {{0}} \
3707      -stepValue {0} \
3708      -fixedBits {0} \
3709      -fieldValue {0} \
3710      -auto False \
3711      -randomMask {0} \
3712      -trackingEnabled False \
3713      -valueType singleValue \
3714      -activeFieldChoice False \
3715      -startValue {0} \
3716      -countValue {1}
3717     sg_commit
3718     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3719
3720     #
3721     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
3722     #
3723     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
3724     ixNet setMultiAttrs $sg_field \
3725      -singleValue {0} \
3726      -seed {1} \
3727      -optionalEnabled True \
3728      -fullMesh False \
3729      -valueList {{0}} \
3730      -stepValue {0} \
3731      -fixedBits {0} \
3732      -fieldValue {0} \
3733      -auto False \
3734      -randomMask {0} \
3735      -trackingEnabled False \
3736      -valueType singleValue \
3737      -activeFieldChoice False \
3738      -startValue {0} \
3739      -countValue {1}
3740     sg_commit
3741     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3742
3743     #
3744     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
3745     #
3746     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
3747     ixNet setMultiAttrs $sg_field \
3748      -singleValue {0} \
3749      -seed {1} \
3750      -optionalEnabled True \
3751      -fullMesh False \
3752      -valueList {{0}} \
3753      -stepValue {0} \
3754      -fixedBits {0} \
3755      -fieldValue {May fragment} \
3756      -auto False \
3757      -randomMask {0} \
3758      -trackingEnabled False \
3759      -valueType singleValue \
3760      -activeFieldChoice False \
3761      -startValue {0} \
3762      -countValue {1}
3763     sg_commit
3764     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3765
3766     #
3767     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
3768     #
3769     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
3770     ixNet setMultiAttrs $sg_field \
3771      -singleValue {0} \
3772      -seed {1} \
3773      -optionalEnabled True \
3774      -fullMesh False \
3775      -valueList {{0}} \
3776      -stepValue {0} \
3777      -fixedBits {0} \
3778      -fieldValue {Last fragment} \
3779      -auto False \
3780      -randomMask {0} \
3781      -trackingEnabled False \
3782      -valueType singleValue \
3783      -activeFieldChoice False \
3784      -startValue {0} \
3785      -countValue {1}
3786     sg_commit
3787     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3788
3789     #
3790     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
3791     #
3792     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
3793     ixNet setMultiAttrs $sg_field \
3794      -singleValue {0} \
3795      -seed {1} \
3796      -optionalEnabled True \
3797      -fullMesh False \
3798      -valueList {{0}} \
3799      -stepValue {0} \
3800      -fixedBits {0} \
3801      -fieldValue {0} \
3802      -auto False \
3803      -randomMask {0} \
3804      -trackingEnabled False \
3805      -valueType singleValue \
3806      -activeFieldChoice False \
3807      -startValue {0} \
3808      -countValue {1}
3809     sg_commit
3810     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3811
3812     #
3813     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
3814     #
3815     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
3816     ixNet setMultiAttrs $sg_field \
3817      -singleValue {64} \
3818      -seed {1} \
3819      -optionalEnabled True \
3820      -fullMesh False \
3821      -valueList {{64}} \
3822      -stepValue {64} \
3823      -fixedBits {64} \
3824      -fieldValue {64} \
3825      -auto False \
3826      -randomMask {64} \
3827      -trackingEnabled False \
3828      -valueType singleValue \
3829      -activeFieldChoice False \
3830      -startValue {64} \
3831      -countValue {1}
3832     sg_commit
3833     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3834
3835     #
3836     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
3837     #
3838     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
3839     ixNet setMultiAttrs $sg_field \
3840      -singleValue {17} \
3841      -seed {1} \
3842      -optionalEnabled True \
3843      -fullMesh False \
3844      -valueList {{61}} \
3845      -stepValue {61} \
3846      -fixedBits {61} \
3847      -fieldValue {UDP} \
3848      -auto True \
3849      -randomMask {61} \
3850      -trackingEnabled False \
3851      -valueType singleValue \
3852      -activeFieldChoice False \
3853      -startValue {61} \
3854      -countValue {1}
3855     sg_commit
3856     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3857
3858     #
3859     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
3860     #
3861     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
3862     ixNet setMultiAttrs $sg_field \
3863      -singleValue {0} \
3864      -seed {1} \
3865      -optionalEnabled True \
3866      -fullMesh False \
3867      -valueList {{0}} \
3868      -stepValue {0} \
3869      -fixedBits {0} \
3870      -fieldValue {0} \
3871      -auto True \
3872      -randomMask {0} \
3873      -trackingEnabled False \
3874      -valueType singleValue \
3875      -activeFieldChoice False \
3876      -startValue {0} \
3877      -countValue {1}
3878     sg_commit
3879     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3880
3881     #
3882     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
3883     #
3884     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
3885     ixNet setMultiAttrs $sg_field \
3886      -singleValue $srcIp \
3887      -seed {1} \
3888      -optionalEnabled True \
3889      -fullMesh False \
3890      -valueList {{0.0.0.0}} \
3891      -stepValue {0.0.0.0} \
3892      -fixedBits {0.0.0.0} \
3893      -fieldValue {1.1.1.1} \
3894      -auto False \
3895      -randomMask {0.0.0.0} \
3896      -trackingEnabled False \
3897      -valueType singleValue \
3898      -activeFieldChoice False \
3899      -startValue {0.0.0.0} \
3900      -countValue {1}
3901     sg_commit
3902     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3903
3904     #
3905     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
3906     #
3907     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
3908     ixNet setMultiAttrs $sg_field \
3909      -singleValue $dstIp \
3910      -seed {1} \
3911      -optionalEnabled True \
3912      -fullMesh False \
3913      -valueList {{0.0.0.0}} \
3914      -stepValue {0.0.0.1} \
3915      -fixedBits {0.0.0.0} \
3916      -fieldValue $dstIp \
3917      -auto False \
3918      -randomMask {0.0.0.0} \
3919      -trackingEnabled False \
3920      -valueType $L3ValueType \
3921      -activeFieldChoice False \
3922      -startValue $dstIp \
3923      -countValue $L3CountValue
3924     sg_commit
3925     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3926
3927     #
3928     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
3929     #
3930     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
3931     ixNet setMultiAttrs $sg_field \
3932      -singleValue {1} \
3933      -seed {1} \
3934      -optionalEnabled False \
3935      -fullMesh False \
3936      -valueList {{1}} \
3937      -stepValue {1} \
3938      -fixedBits {1} \
3939      -fieldValue {1} \
3940      -auto False \
3941      -randomMask {1} \
3942      -trackingEnabled False \
3943      -valueType singleValue \
3944      -activeFieldChoice True \
3945      -startValue {1} \
3946      -countValue {1}
3947     sg_commit
3948     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3949
3950     #
3951     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
3952     #
3953     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
3954     ixNet setMultiAttrs $sg_field \
3955      -singleValue {130} \
3956      -seed {1} \
3957      -optionalEnabled False \
3958      -fullMesh False \
3959      -valueList {{130}} \
3960      -stepValue {130} \
3961      -fixedBits {130} \
3962      -fieldValue {130} \
3963      -auto False \
3964      -randomMask {130} \
3965      -trackingEnabled False \
3966      -valueType singleValue \
3967      -activeFieldChoice False \
3968      -startValue {130} \
3969      -countValue {1}
3970     sg_commit
3971     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3972
3973     #
3974     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
3975     #
3976     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
3977     ixNet setMultiAttrs $sg_field \
3978      -singleValue {11} \
3979      -seed {1} \
3980      -optionalEnabled False \
3981      -fullMesh False \
3982      -valueList {{11}} \
3983      -stepValue {11} \
3984      -fixedBits {11} \
3985      -fieldValue {11} \
3986      -auto False \
3987      -randomMask {11} \
3988      -trackingEnabled False \
3989      -valueType singleValue \
3990      -activeFieldChoice False \
3991      -startValue {11} \
3992      -countValue {1}
3993     sg_commit
3994     set sg_field [lindex [ixNet remapIds $sg_field] 0]
3995
3996     #
3997     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
3998     #
3999     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
4000     ixNet setMultiAttrs $sg_field \
4001      -singleValue {0} \
4002      -seed {1} \
4003      -optionalEnabled False \
4004      -fullMesh False \
4005      -valueList {{0}} \
4006      -stepValue {0} \
4007      -fixedBits {0} \
4008      -fieldValue {Unclassified} \
4009      -auto False \
4010      -randomMask {0} \
4011      -trackingEnabled False \
4012      -valueType singleValue \
4013      -activeFieldChoice False \
4014      -startValue {0} \
4015      -countValue {1}
4016     sg_commit
4017     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4018
4019     #
4020     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
4021     #
4022     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
4023     ixNet setMultiAttrs $sg_field \
4024      -singleValue {0} \
4025      -seed {1} \
4026      -optionalEnabled False \
4027      -fullMesh False \
4028      -valueList {{0}} \
4029      -stepValue {0} \
4030      -fixedBits {0} \
4031      -fieldValue {0} \
4032      -auto False \
4033      -randomMask {0} \
4034      -trackingEnabled False \
4035      -valueType singleValue \
4036      -activeFieldChoice False \
4037      -startValue {0} \
4038      -countValue {1}
4039     sg_commit
4040     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4041
4042     #
4043     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
4044     #
4045     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
4046     ixNet setMultiAttrs $sg_field \
4047      -singleValue {0} \
4048      -seed {1} \
4049      -optionalEnabled False \
4050      -fullMesh False \
4051      -valueList {{0}} \
4052      -stepValue {0} \
4053      -fixedBits {0} \
4054      -fieldValue {0} \
4055      -auto False \
4056      -randomMask {0} \
4057      -trackingEnabled False \
4058      -valueType singleValue \
4059      -activeFieldChoice False \
4060      -startValue {0} \
4061      -countValue {1}
4062     sg_commit
4063     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4064
4065     #
4066     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
4067     #
4068     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
4069     ixNet setMultiAttrs $sg_field \
4070      -singleValue {0} \
4071      -seed {1} \
4072      -optionalEnabled False \
4073      -fullMesh False \
4074      -valueList {{0}} \
4075      -stepValue {0} \
4076      -fixedBits {0} \
4077      -fieldValue {0} \
4078      -auto False \
4079      -randomMask {0} \
4080      -trackingEnabled False \
4081      -valueType singleValue \
4082      -activeFieldChoice False \
4083      -startValue {0} \
4084      -countValue {1}
4085     sg_commit
4086     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4087
4088     #
4089     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4090     #
4091     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4092     ixNet setMultiAttrs $sg_field \
4093      -singleValue {131} \
4094      -seed {1} \
4095      -optionalEnabled False \
4096      -fullMesh False \
4097      -valueList {{131}} \
4098      -stepValue {131} \
4099      -fixedBits {131} \
4100      -fieldValue {131} \
4101      -auto False \
4102      -randomMask {131} \
4103      -trackingEnabled False \
4104      -valueType singleValue \
4105      -activeFieldChoice False \
4106      -startValue {131} \
4107      -countValue {1}
4108     sg_commit
4109     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4110
4111     #
4112     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4113     #
4114     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4115     ixNet setMultiAttrs $sg_field \
4116      -singleValue {8} \
4117      -seed {1} \
4118      -optionalEnabled False \
4119      -fullMesh False \
4120      -valueList {{8}} \
4121      -stepValue {8} \
4122      -fixedBits {8} \
4123      -fieldValue {8} \
4124      -auto False \
4125      -randomMask {8} \
4126      -trackingEnabled False \
4127      -valueType singleValue \
4128      -activeFieldChoice False \
4129      -startValue {8} \
4130      -countValue {1}
4131     sg_commit
4132     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4133
4134     #
4135     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
4136     #
4137     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
4138     ixNet setMultiAttrs $sg_field \
4139      -singleValue {4} \
4140      -seed {1} \
4141      -optionalEnabled False \
4142      -fullMesh False \
4143      -valueList {{4}} \
4144      -stepValue {4} \
4145      -fixedBits {4} \
4146      -fieldValue {4} \
4147      -auto False \
4148      -randomMask {4} \
4149      -trackingEnabled False \
4150      -valueType singleValue \
4151      -activeFieldChoice False \
4152      -startValue {4} \
4153      -countValue {1}
4154     sg_commit
4155     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4156
4157     #
4158     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
4159     #
4160     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
4161     ixNet setMultiAttrs $sg_field \
4162      -singleValue {0} \
4163      -seed {1} \
4164      -optionalEnabled False \
4165      -fullMesh False \
4166      -valueList {{0}} \
4167      -stepValue {0} \
4168      -fixedBits {0} \
4169      -fieldValue {0} \
4170      -auto False \
4171      -randomMask {0} \
4172      -trackingEnabled False \
4173      -valueType singleValue \
4174      -activeFieldChoice False \
4175      -startValue {0} \
4176      -countValue {1}
4177     sg_commit
4178     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4179
4180     #
4181     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4182     #
4183     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4184     ixNet setMultiAttrs $sg_field \
4185      -singleValue {137} \
4186      -seed {1} \
4187      -optionalEnabled False \
4188      -fullMesh False \
4189      -valueList {{137}} \
4190      -stepValue {137} \
4191      -fixedBits {137} \
4192      -fieldValue {137} \
4193      -auto False \
4194      -randomMask {137} \
4195      -trackingEnabled False \
4196      -valueType singleValue \
4197      -activeFieldChoice False \
4198      -startValue {137} \
4199      -countValue {1}
4200     sg_commit
4201     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4202
4203     #
4204     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4205     #
4206     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4207     ixNet setMultiAttrs $sg_field \
4208      -singleValue {8} \
4209      -seed {1} \
4210      -optionalEnabled False \
4211      -fullMesh False \
4212      -valueList {{8}} \
4213      -stepValue {8} \
4214      -fixedBits {8} \
4215      -fieldValue {8} \
4216      -auto False \
4217      -randomMask {8} \
4218      -trackingEnabled False \
4219      -valueType singleValue \
4220      -activeFieldChoice False \
4221      -startValue {8} \
4222      -countValue {1}
4223     sg_commit
4224     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4225
4226     #
4227     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4228     #
4229     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4230     ixNet setMultiAttrs $sg_field \
4231      -singleValue {7} \
4232      -seed {1} \
4233      -optionalEnabled False \
4234      -fullMesh False \
4235      -valueList {{7}} \
4236      -stepValue {7} \
4237      -fixedBits {7} \
4238      -fieldValue {7} \
4239      -auto False \
4240      -randomMask {7} \
4241      -trackingEnabled False \
4242      -valueType singleValue \
4243      -activeFieldChoice False \
4244      -startValue {7} \
4245      -countValue {1}
4246     sg_commit
4247     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4248
4249     #
4250     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4251     #
4252     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4253     ixNet setMultiAttrs $sg_field \
4254      -singleValue {8} \
4255      -seed {1} \
4256      -optionalEnabled False \
4257      -fullMesh False \
4258      -valueList {{8}} \
4259      -stepValue {8} \
4260      -fixedBits {8} \
4261      -fieldValue {8} \
4262      -auto False \
4263      -randomMask {8} \
4264      -trackingEnabled False \
4265      -valueType singleValue \
4266      -activeFieldChoice False \
4267      -startValue {8} \
4268      -countValue {1}
4269     sg_commit
4270     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4271
4272     #
4273     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4274     #
4275     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4276     ixNet setMultiAttrs $sg_field \
4277      -singleValue {136} \
4278      -seed {1} \
4279      -optionalEnabled False \
4280      -fullMesh False \
4281      -valueList {{136}} \
4282      -stepValue {136} \
4283      -fixedBits {136} \
4284      -fieldValue {136} \
4285      -auto False \
4286      -randomMask {136} \
4287      -trackingEnabled False \
4288      -valueType singleValue \
4289      -activeFieldChoice False \
4290      -startValue {136} \
4291      -countValue {1}
4292     sg_commit
4293     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4294
4295     #
4296     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4297     #
4298     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4299     ixNet setMultiAttrs $sg_field \
4300      -singleValue {4} \
4301      -seed {1} \
4302      -optionalEnabled False \
4303      -fullMesh False \
4304      -valueList {{4}} \
4305      -stepValue {4} \
4306      -fixedBits {4} \
4307      -fieldValue {4} \
4308      -auto False \
4309      -randomMask {4} \
4310      -trackingEnabled False \
4311      -valueType singleValue \
4312      -activeFieldChoice False \
4313      -startValue {4} \
4314      -countValue {1}
4315     sg_commit
4316     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4317
4318     #
4319     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4320     #
4321     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4322     ixNet setMultiAttrs $sg_field \
4323      -singleValue {0} \
4324      -seed {1} \
4325      -optionalEnabled False \
4326      -fullMesh False \
4327      -valueList {{0}} \
4328      -stepValue {0} \
4329      -fixedBits {0} \
4330      -fieldValue {0} \
4331      -auto False \
4332      -randomMask {0} \
4333      -trackingEnabled False \
4334      -valueType singleValue \
4335      -activeFieldChoice False \
4336      -startValue {0} \
4337      -countValue {1}
4338     sg_commit
4339     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4340
4341     #
4342     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4343     #
4344     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4345     ixNet setMultiAttrs $sg_field \
4346      -singleValue {68} \
4347      -seed {1} \
4348      -optionalEnabled False \
4349      -fullMesh False \
4350      -valueList {{68}} \
4351      -stepValue {68} \
4352      -fixedBits {68} \
4353      -fieldValue {68} \
4354      -auto False \
4355      -randomMask {68} \
4356      -trackingEnabled False \
4357      -valueType singleValue \
4358      -activeFieldChoice False \
4359      -startValue {68} \
4360      -countValue {1}
4361     sg_commit
4362     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4363
4364     #
4365     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4366     #
4367     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4368     ixNet setMultiAttrs $sg_field \
4369      -singleValue {12} \
4370      -seed {1} \
4371      -optionalEnabled False \
4372      -fullMesh False \
4373      -valueList {{12}} \
4374      -stepValue {12} \
4375      -fixedBits {12} \
4376      -fieldValue {12} \
4377      -auto False \
4378      -randomMask {12} \
4379      -trackingEnabled False \
4380      -valueType singleValue \
4381      -activeFieldChoice False \
4382      -startValue {12} \
4383      -countValue {1}
4384     sg_commit
4385     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4386
4387     #
4388     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4389     #
4390     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4391     ixNet setMultiAttrs $sg_field \
4392      -singleValue {5} \
4393      -seed {1} \
4394      -optionalEnabled False \
4395      -fullMesh False \
4396      -valueList {{5}} \
4397      -stepValue {5} \
4398      -fixedBits {5} \
4399      -fieldValue {5} \
4400      -auto False \
4401      -randomMask {5} \
4402      -trackingEnabled False \
4403      -valueType singleValue \
4404      -activeFieldChoice False \
4405      -startValue {5} \
4406      -countValue {1}
4407     sg_commit
4408     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4409
4410     #
4411     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4412     #
4413     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4414     ixNet setMultiAttrs $sg_field \
4415      -singleValue {0} \
4416      -seed {1} \
4417      -optionalEnabled False \
4418      -fullMesh False \
4419      -valueList {{0}} \
4420      -stepValue {0} \
4421      -fixedBits {0} \
4422      -fieldValue {0} \
4423      -auto False \
4424      -randomMask {0} \
4425      -trackingEnabled False \
4426      -valueType singleValue \
4427      -activeFieldChoice False \
4428      -startValue {0} \
4429      -countValue {1}
4430     sg_commit
4431     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4432
4433     #
4434     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4435     #
4436     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4437     ixNet setMultiAttrs $sg_field \
4438      -singleValue {0} \
4439      -seed {1} \
4440      -optionalEnabled False \
4441      -fullMesh False \
4442      -valueList {{0}} \
4443      -stepValue {0} \
4444      -fixedBits {0} \
4445      -fieldValue {Timestamps only, in consecutive 32-bit words} \
4446      -auto False \
4447      -randomMask {0} \
4448      -trackingEnabled False \
4449      -valueType singleValue \
4450      -activeFieldChoice False \
4451      -startValue {0} \
4452      -countValue {1}
4453     sg_commit
4454     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4455
4456     #
4457     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
4458     #
4459     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
4460     ixNet setMultiAttrs $sg_field \
4461      -singleValue {0} \
4462      -seed {1} \
4463      -optionalEnabled False \
4464      -fullMesh False \
4465      -valueList {{0}} \
4466      -stepValue {0} \
4467      -fixedBits {0} \
4468      -fieldValue {0} \
4469      -auto False \
4470      -randomMask {0} \
4471      -trackingEnabled False \
4472      -valueType singleValue \
4473      -activeFieldChoice False \
4474      -startValue {0} \
4475      -countValue {1}
4476     sg_commit
4477     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4478
4479     #
4480     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
4481     #
4482     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
4483     ixNet setMultiAttrs $sg_field \
4484      -singleValue {0} \
4485      -seed {1} \
4486      -optionalEnabled False \
4487      -fullMesh False \
4488      -valueList {{0}} \
4489      -stepValue {0} \
4490      -fixedBits {0} \
4491      -fieldValue {0} \
4492      -auto False \
4493      -randomMask {0} \
4494      -trackingEnabled False \
4495      -valueType singleValue \
4496      -activeFieldChoice False \
4497      -startValue {0} \
4498      -countValue {1}
4499     sg_commit
4500     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4501
4502     #
4503     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
4504     #
4505     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
4506     ixNet setMultiAttrs $sg_field \
4507      -singleValue {0} \
4508      -seed {1} \
4509      -optionalEnabled False \
4510      -fullMesh False \
4511      -valueList {{0}} \
4512      -stepValue {0} \
4513      -fixedBits {0} \
4514      -fieldValue {0} \
4515      -auto False \
4516      -randomMask {0} \
4517      -trackingEnabled False \
4518      -valueType singleValue \
4519      -activeFieldChoice False \
4520      -startValue {0} \
4521      -countValue {1}
4522     sg_commit
4523     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4524
4525     #
4526     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4527     #
4528     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4529     ixNet setMultiAttrs $sg_field \
4530      -singleValue {94} \
4531      -seed {1} \
4532      -optionalEnabled False \
4533      -fullMesh False \
4534      -valueList {{0x94}} \
4535      -stepValue {0x94} \
4536      -fixedBits {0x94} \
4537      -fieldValue {94} \
4538      -auto False \
4539      -randomMask {0x94} \
4540      -trackingEnabled False \
4541      -valueType singleValue \
4542      -activeFieldChoice False \
4543      -startValue {0x94} \
4544      -countValue {1}
4545     sg_commit
4546     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4547
4548     #
4549     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4550     #
4551     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4552     ixNet setMultiAttrs $sg_field \
4553      -singleValue {4} \
4554      -seed {1} \
4555      -optionalEnabled False \
4556      -fullMesh False \
4557      -valueList {{0x04}} \
4558      -stepValue {0x04} \
4559      -fixedBits {0x04} \
4560      -fieldValue {4} \
4561      -auto False \
4562      -randomMask {0x04} \
4563      -trackingEnabled False \
4564      -valueType singleValue \
4565      -activeFieldChoice False \
4566      -startValue {0x04} \
4567      -countValue {1}
4568     sg_commit
4569     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4570
4571     #
4572     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4573     #
4574     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4575     ixNet setMultiAttrs $sg_field \
4576      -singleValue {0} \
4577      -seed {1} \
4578      -optionalEnabled False \
4579      -fullMesh False \
4580      -valueList {{0}} \
4581      -stepValue {0} \
4582      -fixedBits {0} \
4583      -fieldValue {Router shall examine packet} \
4584      -auto False \
4585      -randomMask {0} \
4586      -trackingEnabled False \
4587      -valueType singleValue \
4588      -activeFieldChoice False \
4589      -startValue {0} \
4590      -countValue {1}
4591     sg_commit
4592     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4593
4594     #
4595     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
4596     #
4597     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
4598     ixNet setMultiAttrs $sg_field \
4599      -singleValue {0} \
4600      -seed {1} \
4601      -optionalEnabled False \
4602      -fullMesh False \
4603      -valueList {{0}} \
4604      -stepValue {0} \
4605      -fixedBits {0} \
4606      -fieldValue {0} \
4607      -auto True \
4608      -randomMask {0} \
4609      -trackingEnabled False \
4610      -valueType singleValue \
4611      -activeFieldChoice False \
4612      -startValue {0} \
4613      -countValue {1}
4614     sg_commit
4615     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4616
4617     #
4618     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"udp-3"
4619     #
4620     set sg_stack $ixNetSG_Stack(2)/stack:"udp-$stack_number"
4621     sg_commit
4622     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4623     set ixNetSG_Stack(3) $sg_stack
4624     incr stack_number
4625
4626     #
4627     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"udp-3"/field:"udp.header.srcPort-1"
4628     #
4629     set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
4630     ixNet setMultiAttrs $sg_field \
4631      -singleValue {63} \
4632      -seed {1} \
4633      -optionalEnabled True \
4634      -fullMesh False \
4635      -valueList {{63}} \
4636      -stepValue {63} \
4637      -fixedBits {63} \
4638      -fieldValue {Default} \
4639      -auto True \
4640      -randomMask {63} \
4641      -trackingEnabled False \
4642      -valueType singleValue \
4643      -activeFieldChoice False \
4644      -startValue {63} \
4645      -countValue {1}
4646     sg_commit
4647     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4648
4649     #
4650     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"udp-3"/field:"udp.header.dstPort-2"
4651     #
4652     set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
4653     ixNet setMultiAttrs $sg_field \
4654      -singleValue {63} \
4655      -seed {1} \
4656      -optionalEnabled True \
4657      -fullMesh False \
4658      -valueList {{63}} \
4659      -stepValue {1} \
4660      -fixedBits {63} \
4661      -fieldValue {Default} \
4662      -auto False \
4663      -randomMask {63} \
4664      -trackingEnabled False \
4665      -valueType $L4ValueType \
4666      -activeFieldChoice False \
4667      -startValue {0} \
4668      -countValue $L4CountValue
4669     sg_commit
4670     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4671
4672     #
4673     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"udp-3"/field:"udp.header.length-3"
4674     #
4675     set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
4676     ixNet setMultiAttrs $sg_field \
4677      -singleValue {26} \
4678      -seed {1} \
4679      -optionalEnabled True \
4680      -fullMesh False \
4681      -valueList {{8}} \
4682      -stepValue {8} \
4683      -fixedBits {8} \
4684      -fieldValue {26} \
4685      -auto True \
4686      -randomMask {8} \
4687      -trackingEnabled False \
4688      -valueType singleValue \
4689      -activeFieldChoice False \
4690      -startValue {8} \
4691      -countValue {1}
4692     sg_commit
4693     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4694
4695     #
4696     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"udp-3"/field:"udp.header.checksum-4"
4697     #
4698     set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
4699     ixNet setMultiAttrs $sg_field \
4700      -singleValue {0} \
4701      -seed {1} \
4702      -optionalEnabled True \
4703      -fullMesh False \
4704      -valueList {{0}} \
4705      -stepValue {0} \
4706      -fixedBits {0} \
4707      -fieldValue {0} \
4708      -auto True \
4709      -randomMask {0} \
4710      -trackingEnabled False \
4711      -valueType singleValue \
4712      -activeFieldChoice False \
4713      -startValue {0} \
4714      -countValue {1}
4715     sg_commit
4716     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4717
4718     #
4719     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"fcs-4"
4720     #
4721     set sg_stack $ixNetSG_Stack(2)/stack:"fcs-$stack_number"
4722     sg_commit
4723     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4724     set ixNetSG_Stack(3) $sg_stack
4725     incr stack_number
4726
4727     #
4728     # configuring the object that corresponds to /traffic/trafficItem:1/highLevelStream:1/stack:"fcs-4"/field:"ethernet.fcs-1"
4729     #
4730     set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
4731     ixNet setMultiAttrs $sg_field \
4732      -singleValue {0} \
4733      -seed {1} \
4734      -optionalEnabled True \
4735      -fullMesh False \
4736      -valueList {{0}} \
4737      -stepValue {0} \
4738      -fixedBits {0} \
4739      -fieldValue {0} \
4740      -auto True \
4741      -randomMask {0} \
4742      -trackingEnabled False \
4743      -valueType singleValue \
4744      -activeFieldChoice False \
4745      -startValue {0} \
4746      -countValue {1}
4747     sg_commit
4748     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4749
4750     #
4751     # configuring the object that corresponds to /traffic/trafficItem:1/transmissionDistribution
4752     #
4753     set sg_transmissionDistribution $ixNetSG_Stack(1)/transmissionDistribution
4754     ixNet setMultiAttrs $sg_transmissionDistribution \
4755      -distributions {}
4756     sg_commit
4757     set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
4758
4759     #
4760     # configuring the object that corresponds to /traffic/trafficItem:1/tracking
4761     #
4762     set sg_tracking $ixNetSG_Stack(1)/tracking
4763     ixNet setMultiAttrs $sg_tracking \
4764      -offset 0 \
4765      -oneToOneMesh False \
4766      -trackBy {} \
4767      -values {} \
4768      -fieldWidth thirtyTwoBits \
4769      -protocolOffset {Root.0}
4770     ixNet setMultiAttrs $sg_tracking/egress \
4771      -offset {Outer VLAN Priority (3 bits)} \
4772      -enabled False \
4773      -customOffsetBits 0 \
4774      -encapsulation {Ethernet} \
4775      -customWidthBits 0
4776     ixNet setMultiAttrs $sg_tracking/latencyBin \
4777      -enabled False \
4778      -binLimits {1 1.42 2 2.82 4 5.66 8 11.32} \
4779      -numberOfBins 8
4780     sg_commit
4781     set sg_tracking [lindex [ixNet remapIds $sg_tracking] 0]
4782     set ixNetSG_Stack(2) $sg_tracking
4783
4784     #
4785     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"
4786     #
4787     set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ethernet-1"
4788     sg_commit
4789     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4790     set ixNetSG_Stack(3) $sg_stack
4791
4792     #
4793     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
4794     #
4795     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
4796     ixNet setMultiAttrs $sg_field \
4797      -singleValue {00:00:00:00:00:00} \
4798      -seed {1} \
4799      -optionalEnabled True \
4800      -fullMesh False \
4801      -valueList {{00:00:00:00:00:00}} \
4802      -stepValue {00:00:00:00:00:00} \
4803      -fixedBits {00:00:00:00:00:00} \
4804      -fieldValue {00:00:00:00:00:00} \
4805      -auto False \
4806      -randomMask {00:00:00:00:00:00} \
4807      -trackingEnabled True \
4808      -valueType singleValue \
4809      -activeFieldChoice False \
4810      -startValue {00:00:00:00:00:00} \
4811      -countValue {1}
4812     sg_commit
4813     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4814
4815     #
4816     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
4817     #
4818     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
4819     ixNet setMultiAttrs $sg_field \
4820      -singleValue {00:00:00:00:00:00} \
4821      -seed {1} \
4822      -optionalEnabled True \
4823      -fullMesh False \
4824      -valueList {{00:00:00:00:00:00}} \
4825      -stepValue {00:00:00:00:00:00} \
4826      -fixedBits {00:00:00:00:00:00} \
4827      -fieldValue {00:00:00:00:00:00} \
4828      -auto False \
4829      -randomMask {00:00:00:00:00:00} \
4830      -trackingEnabled False \
4831      -valueType singleValue \
4832      -activeFieldChoice False \
4833      -startValue {00:00:00:00:00:00} \
4834      -countValue {1}
4835     sg_commit
4836     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4837
4838     #
4839     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
4840     #
4841     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
4842     ixNet setMultiAttrs $sg_field \
4843      -singleValue {800} \
4844      -seed {1} \
4845      -optionalEnabled True \
4846      -fullMesh False \
4847      -valueList {{0xFFFF}} \
4848      -stepValue {0xFFFF} \
4849      -fixedBits {0xFFFF} \
4850      -fieldValue {800} \
4851      -auto True \
4852      -randomMask {0xFFFF} \
4853      -trackingEnabled False \
4854      -valueType singleValue \
4855      -activeFieldChoice False \
4856      -startValue {0xFFFF} \
4857      -countValue {1}
4858     sg_commit
4859     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4860
4861     #
4862     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
4863     #
4864     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
4865     ixNet setMultiAttrs $sg_field \
4866      -singleValue {0} \
4867      -seed {1} \
4868      -optionalEnabled True \
4869      -fullMesh False \
4870      -valueList {{0}} \
4871      -stepValue {0} \
4872      -fixedBits {0} \
4873      -fieldValue {0} \
4874      -auto False \
4875      -randomMask {0} \
4876      -trackingEnabled False \
4877      -valueType singleValue \
4878      -activeFieldChoice False \
4879      -startValue {0} \
4880      -countValue {1}
4881     sg_commit
4882     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4883
4884     #
4885     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"
4886     #
4887     set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ipv4-2"
4888     sg_commit
4889     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4890     set ixNetSG_Stack(3) $sg_stack
4891
4892     #
4893     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
4894     #
4895     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
4896     ixNet setMultiAttrs $sg_field \
4897      -singleValue {4} \
4898      -seed {1} \
4899      -optionalEnabled True \
4900      -fullMesh False \
4901      -valueList {{4}} \
4902      -stepValue {4} \
4903      -fixedBits {4} \
4904      -fieldValue {4} \
4905      -auto False \
4906      -randomMask {4} \
4907      -trackingEnabled False \
4908      -valueType singleValue \
4909      -activeFieldChoice False \
4910      -startValue {4} \
4911      -countValue {1}
4912     sg_commit
4913     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4914
4915     #
4916     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
4917     #
4918     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
4919     ixNet setMultiAttrs $sg_field \
4920      -singleValue {5} \
4921      -seed {1} \
4922      -optionalEnabled True \
4923      -fullMesh False \
4924      -valueList {{0}} \
4925      -stepValue {0} \
4926      -fixedBits {0} \
4927      -fieldValue {5} \
4928      -auto True \
4929      -randomMask {0} \
4930      -trackingEnabled False \
4931      -valueType singleValue \
4932      -activeFieldChoice False \
4933      -startValue {0} \
4934      -countValue {1}
4935     sg_commit
4936     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4937
4938     #
4939     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
4940     #
4941     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
4942     ixNet setMultiAttrs $sg_field \
4943      -singleValue {0} \
4944      -seed {1} \
4945      -optionalEnabled True \
4946      -fullMesh False \
4947      -valueList {{0}} \
4948      -stepValue {0} \
4949      -fixedBits {0} \
4950      -fieldValue {0} \
4951      -auto False \
4952      -randomMask {0} \
4953      -trackingEnabled False \
4954      -valueType singleValue \
4955      -activeFieldChoice False \
4956      -startValue {0} \
4957      -countValue {1}
4958     sg_commit
4959     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4960
4961     #
4962     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
4963     #
4964     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
4965     ixNet setMultiAttrs $sg_field \
4966      -singleValue {0} \
4967      -seed {1} \
4968      -optionalEnabled True \
4969      -fullMesh False \
4970      -valueList {{0}} \
4971      -stepValue {0} \
4972      -fixedBits {0} \
4973      -fieldValue {000 Routine} \
4974      -auto False \
4975      -randomMask {0} \
4976      -trackingEnabled False \
4977      -valueType singleValue \
4978      -activeFieldChoice True \
4979      -startValue {0} \
4980      -countValue {1}
4981     sg_commit
4982     set sg_field [lindex [ixNet remapIds $sg_field] 0]
4983
4984     #
4985     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
4986     #
4987     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
4988     ixNet setMultiAttrs $sg_field \
4989      -singleValue {0} \
4990      -seed {1} \
4991      -optionalEnabled True \
4992      -fullMesh False \
4993      -valueList {{0}} \
4994      -stepValue {0} \
4995      -fixedBits {0} \
4996      -fieldValue {Normal} \
4997      -auto False \
4998      -randomMask {0} \
4999      -trackingEnabled False \
5000      -valueType singleValue \
5001      -activeFieldChoice True \
5002      -startValue {0} \
5003      -countValue {1}
5004     sg_commit
5005     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5006
5007     #
5008     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
5009     #
5010     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
5011     ixNet setMultiAttrs $sg_field \
5012      -singleValue {0} \
5013      -seed {1} \
5014      -optionalEnabled True \
5015      -fullMesh False \
5016      -valueList {{0}} \
5017      -stepValue {0} \
5018      -fixedBits {0} \
5019      -fieldValue {Normal} \
5020      -auto False \
5021      -randomMask {0} \
5022      -trackingEnabled False \
5023      -valueType singleValue \
5024      -activeFieldChoice True \
5025      -startValue {0} \
5026      -countValue {1}
5027     sg_commit
5028     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5029
5030     #
5031     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
5032     #
5033     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
5034     ixNet setMultiAttrs $sg_field \
5035      -singleValue {0} \
5036      -seed {1} \
5037      -optionalEnabled True \
5038      -fullMesh False \
5039      -valueList {{0}} \
5040      -stepValue {0} \
5041      -fixedBits {0} \
5042      -fieldValue {Normal} \
5043      -auto False \
5044      -randomMask {0} \
5045      -trackingEnabled False \
5046      -valueType singleValue \
5047      -activeFieldChoice True \
5048      -startValue {0} \
5049      -countValue {1}
5050     sg_commit
5051     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5052
5053     #
5054     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
5055     #
5056     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
5057     ixNet setMultiAttrs $sg_field \
5058      -singleValue {0} \
5059      -seed {1} \
5060      -optionalEnabled True \
5061      -fullMesh False \
5062      -valueList {{0}} \
5063      -stepValue {0} \
5064      -fixedBits {0} \
5065      -fieldValue {Normal} \
5066      -auto False \
5067      -randomMask {0} \
5068      -trackingEnabled False \
5069      -valueType singleValue \
5070      -activeFieldChoice True \
5071      -startValue {0} \
5072      -countValue {1}
5073     sg_commit
5074     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5075
5076     #
5077     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
5078     #
5079     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
5080     ixNet setMultiAttrs $sg_field \
5081      -singleValue {0} \
5082      -seed {1} \
5083      -optionalEnabled True \
5084      -fullMesh False \
5085      -valueList {{0}} \
5086      -stepValue {0} \
5087      -fixedBits {0} \
5088      -fieldValue {0} \
5089      -auto False \
5090      -randomMask {0} \
5091      -trackingEnabled False \
5092      -valueType singleValue \
5093      -activeFieldChoice True \
5094      -startValue {0} \
5095      -countValue {1}
5096     sg_commit
5097     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5098
5099     #
5100     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5101     #
5102     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5103     ixNet setMultiAttrs $sg_field \
5104      -singleValue {0} \
5105      -seed {1} \
5106      -optionalEnabled True \
5107      -fullMesh False \
5108      -valueList {{0}} \
5109      -stepValue {0} \
5110      -fixedBits {0} \
5111      -fieldValue {0} \
5112      -auto False \
5113      -randomMask {0} \
5114      -trackingEnabled False \
5115      -valueType singleValue \
5116      -activeFieldChoice False \
5117      -startValue {0} \
5118      -countValue {1}
5119     sg_commit
5120     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5121
5122     #
5123     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5124     #
5125     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5126     ixNet setMultiAttrs $sg_field \
5127      -singleValue {0} \
5128      -seed {1} \
5129      -optionalEnabled True \
5130      -fullMesh False \
5131      -valueList {{0}} \
5132      -stepValue {0} \
5133      -fixedBits {0} \
5134      -fieldValue {0} \
5135      -auto False \
5136      -randomMask {0} \
5137      -trackingEnabled False \
5138      -valueType singleValue \
5139      -activeFieldChoice False \
5140      -startValue {0} \
5141      -countValue {1}
5142     sg_commit
5143     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5144
5145     #
5146     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5147     #
5148     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5149     ixNet setMultiAttrs $sg_field \
5150      -singleValue {8} \
5151      -seed {1} \
5152      -optionalEnabled True \
5153      -fullMesh False \
5154      -valueList {{8}} \
5155      -stepValue {8} \
5156      -fixedBits {8} \
5157      -fieldValue {Precedence 1} \
5158      -auto False \
5159      -randomMask {8} \
5160      -trackingEnabled False \
5161      -valueType singleValue \
5162      -activeFieldChoice False \
5163      -startValue {8} \
5164      -countValue {1}
5165     sg_commit
5166     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5167
5168     #
5169     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5170     #
5171     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5172     ixNet setMultiAttrs $sg_field \
5173      -singleValue {0} \
5174      -seed {1} \
5175      -optionalEnabled True \
5176      -fullMesh False \
5177      -valueList {{0}} \
5178      -stepValue {0} \
5179      -fixedBits {0} \
5180      -fieldValue {0} \
5181      -auto False \
5182      -randomMask {0} \
5183      -trackingEnabled False \
5184      -valueType singleValue \
5185      -activeFieldChoice False \
5186      -startValue {0} \
5187      -countValue {1}
5188     sg_commit
5189     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5190
5191     #
5192     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5193     #
5194     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5195     ixNet setMultiAttrs $sg_field \
5196      -singleValue {10} \
5197      -seed {1} \
5198      -optionalEnabled True \
5199      -fullMesh False \
5200      -valueList {{10}} \
5201      -stepValue {10} \
5202      -fixedBits {10} \
5203      -fieldValue {Class 1, Low drop precedence} \
5204      -auto False \
5205      -randomMask {10} \
5206      -trackingEnabled False \
5207      -valueType singleValue \
5208      -activeFieldChoice False \
5209      -startValue {10} \
5210      -countValue {1}
5211     sg_commit
5212     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5213
5214     #
5215     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5216     #
5217     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5218     ixNet setMultiAttrs $sg_field \
5219      -singleValue {0} \
5220      -seed {1} \
5221      -optionalEnabled True \
5222      -fullMesh False \
5223      -valueList {{0}} \
5224      -stepValue {0} \
5225      -fixedBits {0} \
5226      -fieldValue {0} \
5227      -auto False \
5228      -randomMask {0} \
5229      -trackingEnabled False \
5230      -valueType singleValue \
5231      -activeFieldChoice False \
5232      -startValue {0} \
5233      -countValue {1}
5234     sg_commit
5235     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5236
5237     #
5238     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5239     #
5240     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5241     ixNet setMultiAttrs $sg_field \
5242      -singleValue {46} \
5243      -seed {1} \
5244      -optionalEnabled True \
5245      -fullMesh False \
5246      -valueList {{46}} \
5247      -stepValue {46} \
5248      -fixedBits {46} \
5249      -fieldValue {46} \
5250      -auto False \
5251      -randomMask {46} \
5252      -trackingEnabled False \
5253      -valueType singleValue \
5254      -activeFieldChoice False \
5255      -startValue {46} \
5256      -countValue {1}
5257     sg_commit
5258     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5259
5260     #
5261     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5262     #
5263     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5264     ixNet setMultiAttrs $sg_field \
5265      -singleValue {0} \
5266      -seed {1} \
5267      -optionalEnabled True \
5268      -fullMesh False \
5269      -valueList {{0}} \
5270      -stepValue {0} \
5271      -fixedBits {0} \
5272      -fieldValue {0} \
5273      -auto False \
5274      -randomMask {0} \
5275      -trackingEnabled False \
5276      -valueType singleValue \
5277      -activeFieldChoice False \
5278      -startValue {0} \
5279      -countValue {1}
5280     sg_commit
5281     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5282
5283     #
5284     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
5285     #
5286     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
5287     ixNet setMultiAttrs $sg_field \
5288      -singleValue {92} \
5289      -seed {1} \
5290      -optionalEnabled True \
5291      -fullMesh False \
5292      -valueList {{20}} \
5293      -stepValue {20} \
5294      -fixedBits {20} \
5295      -fieldValue {92} \
5296      -auto True \
5297      -randomMask {20} \
5298      -trackingEnabled False \
5299      -valueType singleValue \
5300      -activeFieldChoice False \
5301      -startValue {20} \
5302      -countValue {1}
5303     sg_commit
5304     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5305
5306     #
5307     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
5308     #
5309     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
5310     ixNet setMultiAttrs $sg_field \
5311      -singleValue {0} \
5312      -seed {1} \
5313      -optionalEnabled True \
5314      -fullMesh False \
5315      -valueList {{0}} \
5316      -stepValue {0} \
5317      -fixedBits {0} \
5318      -fieldValue {0} \
5319      -auto False \
5320      -randomMask {0} \
5321      -trackingEnabled False \
5322      -valueType singleValue \
5323      -activeFieldChoice False \
5324      -startValue {0} \
5325      -countValue {1}
5326     sg_commit
5327     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5328
5329     #
5330     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
5331     #
5332     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
5333     ixNet setMultiAttrs $sg_field \
5334      -singleValue {0} \
5335      -seed {1} \
5336      -optionalEnabled True \
5337      -fullMesh False \
5338      -valueList {{0}} \
5339      -stepValue {0} \
5340      -fixedBits {0} \
5341      -fieldValue {0} \
5342      -auto False \
5343      -randomMask {0} \
5344      -trackingEnabled False \
5345      -valueType singleValue \
5346      -activeFieldChoice False \
5347      -startValue {0} \
5348      -countValue {1}
5349     sg_commit
5350     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5351
5352     #
5353     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
5354     #
5355     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
5356     ixNet setMultiAttrs $sg_field \
5357      -singleValue {0} \
5358      -seed {1} \
5359      -optionalEnabled True \
5360      -fullMesh False \
5361      -valueList {{0}} \
5362      -stepValue {0} \
5363      -fixedBits {0} \
5364      -fieldValue {May fragment} \
5365      -auto False \
5366      -randomMask {0} \
5367      -trackingEnabled False \
5368      -valueType singleValue \
5369      -activeFieldChoice False \
5370      -startValue {0} \
5371      -countValue {1}
5372     sg_commit
5373     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5374
5375     #
5376     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
5377     #
5378     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
5379     ixNet setMultiAttrs $sg_field \
5380      -singleValue {0} \
5381      -seed {1} \
5382      -optionalEnabled True \
5383      -fullMesh False \
5384      -valueList {{0}} \
5385      -stepValue {0} \
5386      -fixedBits {0} \
5387      -fieldValue {Last fragment} \
5388      -auto False \
5389      -randomMask {0} \
5390      -trackingEnabled False \
5391      -valueType singleValue \
5392      -activeFieldChoice False \
5393      -startValue {0} \
5394      -countValue {1}
5395     sg_commit
5396     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5397
5398     #
5399     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
5400     #
5401     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
5402     ixNet setMultiAttrs $sg_field \
5403      -singleValue {0} \
5404      -seed {1} \
5405      -optionalEnabled True \
5406      -fullMesh False \
5407      -valueList {{0}} \
5408      -stepValue {0} \
5409      -fixedBits {0} \
5410      -fieldValue {0} \
5411      -auto False \
5412      -randomMask {0} \
5413      -trackingEnabled False \
5414      -valueType singleValue \
5415      -activeFieldChoice False \
5416      -startValue {0} \
5417      -countValue {1}
5418     sg_commit
5419     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5420
5421     #
5422     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
5423     #
5424     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
5425     ixNet setMultiAttrs $sg_field \
5426      -singleValue {64} \
5427      -seed {1} \
5428      -optionalEnabled True \
5429      -fullMesh False \
5430      -valueList {{64}} \
5431      -stepValue {64} \
5432      -fixedBits {64} \
5433      -fieldValue {64} \
5434      -auto False \
5435      -randomMask {64} \
5436      -trackingEnabled False \
5437      -valueType singleValue \
5438      -activeFieldChoice False \
5439      -startValue {64} \
5440      -countValue {1}
5441     sg_commit
5442     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5443
5444     #
5445     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
5446     #
5447     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
5448     ixNet setMultiAttrs $sg_field \
5449      -singleValue {17} \
5450      -seed {1} \
5451      -optionalEnabled True \
5452      -fullMesh False \
5453      -valueList {{61}} \
5454      -stepValue {61} \
5455      -fixedBits {61} \
5456      -fieldValue {UDP} \
5457      -auto True \
5458      -randomMask {61} \
5459      -trackingEnabled False \
5460      -valueType singleValue \
5461      -activeFieldChoice False \
5462      -startValue {61} \
5463      -countValue {1}
5464     sg_commit
5465     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5466
5467     #
5468     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
5469     #
5470     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
5471     ixNet setMultiAttrs $sg_field \
5472      -singleValue {0} \
5473      -seed {1} \
5474      -optionalEnabled True \
5475      -fullMesh False \
5476      -valueList {{0}} \
5477      -stepValue {0} \
5478      -fixedBits {0} \
5479      -fieldValue {0} \
5480      -auto True \
5481      -randomMask {0} \
5482      -trackingEnabled False \
5483      -valueType singleValue \
5484      -activeFieldChoice False \
5485      -startValue {0} \
5486      -countValue {1}
5487     sg_commit
5488     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5489
5490     #
5491     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
5492     #
5493     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
5494     ixNet setMultiAttrs $sg_field \
5495      -singleValue {0.0.0.0} \
5496      -seed {1} \
5497      -optionalEnabled True \
5498      -fullMesh False \
5499      -valueList {{0.0.0.0}} \
5500      -stepValue {0.0.0.0} \
5501      -fixedBits {0.0.0.0} \
5502      -fieldValue {0.0.0.0} \
5503      -auto False \
5504      -randomMask {0.0.0.0} \
5505      -trackingEnabled False \
5506      -valueType singleValue \
5507      -activeFieldChoice False \
5508      -startValue {0.0.0.0} \
5509      -countValue {1}
5510     sg_commit
5511     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5512
5513     #
5514     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
5515     #
5516     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
5517     ixNet setMultiAttrs $sg_field \
5518      -singleValue {0.0.0.0} \
5519      -seed {1} \
5520      -optionalEnabled True \
5521      -fullMesh False \
5522      -valueList {{0.0.0.0}} \
5523      -stepValue {0.0.0.0} \
5524      -fixedBits {0.0.0.0} \
5525      -fieldValue {0.0.0.0} \
5526      -auto False \
5527      -randomMask {0.0.0.0} \
5528      -trackingEnabled False \
5529      -valueType singleValue \
5530      -activeFieldChoice False \
5531      -startValue {0.0.0.0} \
5532      -countValue {1}
5533     sg_commit
5534     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5535
5536     #
5537     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
5538     #
5539     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
5540     ixNet setMultiAttrs $sg_field \
5541      -singleValue {1} \
5542      -seed {1} \
5543      -optionalEnabled False \
5544      -fullMesh False \
5545      -valueList {{1}} \
5546      -stepValue {1} \
5547      -fixedBits {1} \
5548      -fieldValue {1} \
5549      -auto False \
5550      -randomMask {1} \
5551      -trackingEnabled False \
5552      -valueType singleValue \
5553      -activeFieldChoice True \
5554      -startValue {1} \
5555      -countValue {1}
5556     sg_commit
5557     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5558
5559     #
5560     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
5561     #
5562     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
5563     ixNet setMultiAttrs $sg_field \
5564      -singleValue {130} \
5565      -seed {1} \
5566      -optionalEnabled False \
5567      -fullMesh False \
5568      -valueList {{130}} \
5569      -stepValue {130} \
5570      -fixedBits {130} \
5571      -fieldValue {130} \
5572      -auto False \
5573      -randomMask {130} \
5574      -trackingEnabled False \
5575      -valueType singleValue \
5576      -activeFieldChoice False \
5577      -startValue {130} \
5578      -countValue {1}
5579     sg_commit
5580     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5581
5582     #
5583     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
5584     #
5585     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
5586     ixNet setMultiAttrs $sg_field \
5587      -singleValue {11} \
5588      -seed {1} \
5589      -optionalEnabled False \
5590      -fullMesh False \
5591      -valueList {{11}} \
5592      -stepValue {11} \
5593      -fixedBits {11} \
5594      -fieldValue {11} \
5595      -auto False \
5596      -randomMask {11} \
5597      -trackingEnabled False \
5598      -valueType singleValue \
5599      -activeFieldChoice False \
5600      -startValue {11} \
5601      -countValue {1}
5602     sg_commit
5603     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5604
5605     #
5606     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
5607     #
5608     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
5609     ixNet setMultiAttrs $sg_field \
5610      -singleValue {0} \
5611      -seed {1} \
5612      -optionalEnabled False \
5613      -fullMesh False \
5614      -valueList {{0}} \
5615      -stepValue {0} \
5616      -fixedBits {0} \
5617      -fieldValue {Unclassified} \
5618      -auto False \
5619      -randomMask {0} \
5620      -trackingEnabled False \
5621      -valueType singleValue \
5622      -activeFieldChoice False \
5623      -startValue {0} \
5624      -countValue {1}
5625     sg_commit
5626     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5627
5628     #
5629     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5630     #
5631     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5632     ixNet setMultiAttrs $sg_field \
5633      -singleValue {0} \
5634      -seed {1} \
5635      -optionalEnabled False \
5636      -fullMesh False \
5637      -valueList {{0}} \
5638      -stepValue {0} \
5639      -fixedBits {0} \
5640      -fieldValue {0} \
5641      -auto False \
5642      -randomMask {0} \
5643      -trackingEnabled False \
5644      -valueType singleValue \
5645      -activeFieldChoice False \
5646      -startValue {0} \
5647      -countValue {1}
5648     sg_commit
5649     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5650
5651     #
5652     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
5653     #
5654     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
5655     ixNet setMultiAttrs $sg_field \
5656      -singleValue {0} \
5657      -seed {1} \
5658      -optionalEnabled False \
5659      -fullMesh False \
5660      -valueList {{0}} \
5661      -stepValue {0} \
5662      -fixedBits {0} \
5663      -fieldValue {0} \
5664      -auto False \
5665      -randomMask {0} \
5666      -trackingEnabled False \
5667      -valueType singleValue \
5668      -activeFieldChoice False \
5669      -startValue {0} \
5670      -countValue {1}
5671     sg_commit
5672     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5673
5674     #
5675     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5676     #
5677     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5678     ixNet setMultiAttrs $sg_field \
5679      -singleValue {0} \
5680      -seed {1} \
5681      -optionalEnabled False \
5682      -fullMesh False \
5683      -valueList {{0}} \
5684      -stepValue {0} \
5685      -fixedBits {0} \
5686      -fieldValue {0} \
5687      -auto False \
5688      -randomMask {0} \
5689      -trackingEnabled False \
5690      -valueType singleValue \
5691      -activeFieldChoice False \
5692      -startValue {0} \
5693      -countValue {1}
5694     sg_commit
5695     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5696
5697     #
5698     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5699     #
5700     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5701     ixNet setMultiAttrs $sg_field \
5702      -singleValue {131} \
5703      -seed {1} \
5704      -optionalEnabled False \
5705      -fullMesh False \
5706      -valueList {{131}} \
5707      -stepValue {131} \
5708      -fixedBits {131} \
5709      -fieldValue {131} \
5710      -auto False \
5711      -randomMask {131} \
5712      -trackingEnabled False \
5713      -valueType singleValue \
5714      -activeFieldChoice False \
5715      -startValue {131} \
5716      -countValue {1}
5717     sg_commit
5718     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5719
5720     #
5721     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5722     #
5723     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5724     ixNet setMultiAttrs $sg_field \
5725      -singleValue {8} \
5726      -seed {1} \
5727      -optionalEnabled False \
5728      -fullMesh False \
5729      -valueList {{8}} \
5730      -stepValue {8} \
5731      -fixedBits {8} \
5732      -fieldValue {8} \
5733      -auto False \
5734      -randomMask {8} \
5735      -trackingEnabled False \
5736      -valueType singleValue \
5737      -activeFieldChoice False \
5738      -startValue {8} \
5739      -countValue {1}
5740     sg_commit
5741     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5742
5743     #
5744     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
5745     #
5746     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
5747     ixNet setMultiAttrs $sg_field \
5748      -singleValue {4} \
5749      -seed {1} \
5750      -optionalEnabled False \
5751      -fullMesh False \
5752      -valueList {{4}} \
5753      -stepValue {4} \
5754      -fixedBits {4} \
5755      -fieldValue {4} \
5756      -auto False \
5757      -randomMask {4} \
5758      -trackingEnabled False \
5759      -valueType singleValue \
5760      -activeFieldChoice False \
5761      -startValue {4} \
5762      -countValue {1}
5763     sg_commit
5764     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5765
5766     #
5767     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
5768     #
5769     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
5770     ixNet setMultiAttrs $sg_field \
5771      -singleValue {0} \
5772      -seed {1} \
5773      -optionalEnabled False \
5774      -fullMesh False \
5775      -valueList {{0}} \
5776      -stepValue {0} \
5777      -fixedBits {0} \
5778      -fieldValue {0} \
5779      -auto False \
5780      -randomMask {0} \
5781      -trackingEnabled False \
5782      -valueType singleValue \
5783      -activeFieldChoice False \
5784      -startValue {0} \
5785      -countValue {1}
5786     sg_commit
5787     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5788
5789     #
5790     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5791     #
5792     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5793     ixNet setMultiAttrs $sg_field \
5794      -singleValue {137} \
5795      -seed {1} \
5796      -optionalEnabled False \
5797      -fullMesh False \
5798      -valueList {{137}} \
5799      -stepValue {137} \
5800      -fixedBits {137} \
5801      -fieldValue {137} \
5802      -auto False \
5803      -randomMask {137} \
5804      -trackingEnabled False \
5805      -valueType singleValue \
5806      -activeFieldChoice False \
5807      -startValue {137} \
5808      -countValue {1}
5809     sg_commit
5810     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5811
5812     #
5813     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5814     #
5815     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5816     ixNet setMultiAttrs $sg_field \
5817      -singleValue {8} \
5818      -seed {1} \
5819      -optionalEnabled False \
5820      -fullMesh False \
5821      -valueList {{8}} \
5822      -stepValue {8} \
5823      -fixedBits {8} \
5824      -fieldValue {8} \
5825      -auto False \
5826      -randomMask {8} \
5827      -trackingEnabled False \
5828      -valueType singleValue \
5829      -activeFieldChoice False \
5830      -startValue {8} \
5831      -countValue {1}
5832     sg_commit
5833     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5834
5835     #
5836     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5837     #
5838     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5839     ixNet setMultiAttrs $sg_field \
5840      -singleValue {7} \
5841      -seed {1} \
5842      -optionalEnabled False \
5843      -fullMesh False \
5844      -valueList {{7}} \
5845      -stepValue {7} \
5846      -fixedBits {7} \
5847      -fieldValue {7} \
5848      -auto False \
5849      -randomMask {7} \
5850      -trackingEnabled False \
5851      -valueType singleValue \
5852      -activeFieldChoice False \
5853      -startValue {7} \
5854      -countValue {1}
5855     sg_commit
5856     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5857
5858     #
5859     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5860     #
5861     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5862     ixNet setMultiAttrs $sg_field \
5863      -singleValue {8} \
5864      -seed {1} \
5865      -optionalEnabled False \
5866      -fullMesh False \
5867      -valueList {{8}} \
5868      -stepValue {8} \
5869      -fixedBits {8} \
5870      -fieldValue {8} \
5871      -auto False \
5872      -randomMask {8} \
5873      -trackingEnabled False \
5874      -valueType singleValue \
5875      -activeFieldChoice False \
5876      -startValue {8} \
5877      -countValue {1}
5878     sg_commit
5879     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5880
5881     #
5882     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5883     #
5884     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5885     ixNet setMultiAttrs $sg_field \
5886      -singleValue {136} \
5887      -seed {1} \
5888      -optionalEnabled False \
5889      -fullMesh False \
5890      -valueList {{136}} \
5891      -stepValue {136} \
5892      -fixedBits {136} \
5893      -fieldValue {136} \
5894      -auto False \
5895      -randomMask {136} \
5896      -trackingEnabled False \
5897      -valueType singleValue \
5898      -activeFieldChoice False \
5899      -startValue {136} \
5900      -countValue {1}
5901     sg_commit
5902     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5903
5904     #
5905     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5906     #
5907     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5908     ixNet setMultiAttrs $sg_field \
5909      -singleValue {4} \
5910      -seed {1} \
5911      -optionalEnabled False \
5912      -fullMesh False \
5913      -valueList {{4}} \
5914      -stepValue {4} \
5915      -fixedBits {4} \
5916      -fieldValue {4} \
5917      -auto False \
5918      -randomMask {4} \
5919      -trackingEnabled False \
5920      -valueType singleValue \
5921      -activeFieldChoice False \
5922      -startValue {4} \
5923      -countValue {1}
5924     sg_commit
5925     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5926
5927     #
5928     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5929     #
5930     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5931     ixNet setMultiAttrs $sg_field \
5932      -singleValue {0} \
5933      -seed {1} \
5934      -optionalEnabled False \
5935      -fullMesh False \
5936      -valueList {{0}} \
5937      -stepValue {0} \
5938      -fixedBits {0} \
5939      -fieldValue {0} \
5940      -auto False \
5941      -randomMask {0} \
5942      -trackingEnabled False \
5943      -valueType singleValue \
5944      -activeFieldChoice False \
5945      -startValue {0} \
5946      -countValue {1}
5947     sg_commit
5948     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5949
5950     #
5951     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5952     #
5953     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5954     ixNet setMultiAttrs $sg_field \
5955      -singleValue {68} \
5956      -seed {1} \
5957      -optionalEnabled False \
5958      -fullMesh False \
5959      -valueList {{68}} \
5960      -stepValue {68} \
5961      -fixedBits {68} \
5962      -fieldValue {68} \
5963      -auto False \
5964      -randomMask {68} \
5965      -trackingEnabled False \
5966      -valueType singleValue \
5967      -activeFieldChoice False \
5968      -startValue {68} \
5969      -countValue {1}
5970     sg_commit
5971     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5972
5973     #
5974     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5975     #
5976     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5977     ixNet setMultiAttrs $sg_field \
5978      -singleValue {12} \
5979      -seed {1} \
5980      -optionalEnabled False \
5981      -fullMesh False \
5982      -valueList {{12}} \
5983      -stepValue {12} \
5984      -fixedBits {12} \
5985      -fieldValue {12} \
5986      -auto False \
5987      -randomMask {12} \
5988      -trackingEnabled False \
5989      -valueType singleValue \
5990      -activeFieldChoice False \
5991      -startValue {12} \
5992      -countValue {1}
5993     sg_commit
5994     set sg_field [lindex [ixNet remapIds $sg_field] 0]
5995
5996     #
5997     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5998     #
5999     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
6000     ixNet setMultiAttrs $sg_field \
6001      -singleValue {5} \
6002      -seed {1} \
6003      -optionalEnabled False \
6004      -fullMesh False \
6005      -valueList {{5}} \
6006      -stepValue {5} \
6007      -fixedBits {5} \
6008      -fieldValue {5} \
6009      -auto False \
6010      -randomMask {5} \
6011      -trackingEnabled False \
6012      -valueType singleValue \
6013      -activeFieldChoice False \
6014      -startValue {5} \
6015      -countValue {1}
6016     sg_commit
6017     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6018
6019     #
6020     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
6021     #
6022     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
6023     ixNet setMultiAttrs $sg_field \
6024      -singleValue {0} \
6025      -seed {1} \
6026      -optionalEnabled False \
6027      -fullMesh False \
6028      -valueList {{0}} \
6029      -stepValue {0} \
6030      -fixedBits {0} \
6031      -fieldValue {0} \
6032      -auto False \
6033      -randomMask {0} \
6034      -trackingEnabled False \
6035      -valueType singleValue \
6036      -activeFieldChoice False \
6037      -startValue {0} \
6038      -countValue {1}
6039     sg_commit
6040     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6041
6042     #
6043     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
6044     #
6045     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
6046     ixNet setMultiAttrs $sg_field \
6047      -singleValue {0} \
6048      -seed {1} \
6049      -optionalEnabled False \
6050      -fullMesh False \
6051      -valueList {{0}} \
6052      -stepValue {0} \
6053      -fixedBits {0} \
6054      -fieldValue {Timestamps only, in consecutive 32-bit words} \
6055      -auto False \
6056      -randomMask {0} \
6057      -trackingEnabled False \
6058      -valueType singleValue \
6059      -activeFieldChoice False \
6060      -startValue {0} \
6061      -countValue {1}
6062     sg_commit
6063     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6064
6065     #
6066     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
6067     #
6068     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
6069     ixNet setMultiAttrs $sg_field \
6070      -singleValue {0} \
6071      -seed {1} \
6072      -optionalEnabled False \
6073      -fullMesh False \
6074      -valueList {{0}} \
6075      -stepValue {0} \
6076      -fixedBits {0} \
6077      -fieldValue {0} \
6078      -auto False \
6079      -randomMask {0} \
6080      -trackingEnabled False \
6081      -valueType singleValue \
6082      -activeFieldChoice False \
6083      -startValue {0} \
6084      -countValue {1}
6085     sg_commit
6086     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6087
6088     #
6089     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
6090     #
6091     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
6092     ixNet setMultiAttrs $sg_field \
6093      -singleValue {0} \
6094      -seed {1} \
6095      -optionalEnabled False \
6096      -fullMesh False \
6097      -valueList {{0}} \
6098      -stepValue {0} \
6099      -fixedBits {0} \
6100      -fieldValue {0} \
6101      -auto False \
6102      -randomMask {0} \
6103      -trackingEnabled False \
6104      -valueType singleValue \
6105      -activeFieldChoice False \
6106      -startValue {0} \
6107      -countValue {1}
6108     sg_commit
6109     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6110
6111     #
6112     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
6113     #
6114     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
6115     ixNet setMultiAttrs $sg_field \
6116      -singleValue {0} \
6117      -seed {1} \
6118      -optionalEnabled False \
6119      -fullMesh False \
6120      -valueList {{0}} \
6121      -stepValue {0} \
6122      -fixedBits {0} \
6123      -fieldValue {0} \
6124      -auto False \
6125      -randomMask {0} \
6126      -trackingEnabled False \
6127      -valueType singleValue \
6128      -activeFieldChoice False \
6129      -startValue {0} \
6130      -countValue {1}
6131     sg_commit
6132     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6133
6134     #
6135     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6136     #
6137     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6138     ixNet setMultiAttrs $sg_field \
6139      -singleValue {94} \
6140      -seed {1} \
6141      -optionalEnabled False \
6142      -fullMesh False \
6143      -valueList {{0x94}} \
6144      -stepValue {0x94} \
6145      -fixedBits {0x94} \
6146      -fieldValue {94} \
6147      -auto False \
6148      -randomMask {0x94} \
6149      -trackingEnabled False \
6150      -valueType singleValue \
6151      -activeFieldChoice False \
6152      -startValue {0x94} \
6153      -countValue {1}
6154     sg_commit
6155     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6156
6157     #
6158     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6159     #
6160     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6161     ixNet setMultiAttrs $sg_field \
6162      -singleValue {4} \
6163      -seed {1} \
6164      -optionalEnabled False \
6165      -fullMesh False \
6166      -valueList {{0x04}} \
6167      -stepValue {0x04} \
6168      -fixedBits {0x04} \
6169      -fieldValue {4} \
6170      -auto False \
6171      -randomMask {0x04} \
6172      -trackingEnabled False \
6173      -valueType singleValue \
6174      -activeFieldChoice False \
6175      -startValue {0x04} \
6176      -countValue {1}
6177     sg_commit
6178     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6179
6180     #
6181     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6182     #
6183     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6184     ixNet setMultiAttrs $sg_field \
6185      -singleValue {0} \
6186      -seed {1} \
6187      -optionalEnabled False \
6188      -fullMesh False \
6189      -valueList {{0}} \
6190      -stepValue {0} \
6191      -fixedBits {0} \
6192      -fieldValue {Router shall examine packet} \
6193      -auto False \
6194      -randomMask {0} \
6195      -trackingEnabled False \
6196      -valueType singleValue \
6197      -activeFieldChoice False \
6198      -startValue {0} \
6199      -countValue {1}
6200     sg_commit
6201     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6202
6203     #
6204     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
6205     #
6206     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
6207     ixNet setMultiAttrs $sg_field \
6208      -singleValue {0} \
6209      -seed {1} \
6210      -optionalEnabled False \
6211      -fullMesh False \
6212      -valueList {{0}} \
6213      -stepValue {0} \
6214      -fixedBits {0} \
6215      -fieldValue {0} \
6216      -auto True \
6217      -randomMask {0} \
6218      -trackingEnabled False \
6219      -valueType singleValue \
6220      -activeFieldChoice False \
6221      -startValue {0} \
6222      -countValue {1}
6223     sg_commit
6224     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6225
6226     #
6227     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"
6228     #
6229     set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"udp-3"
6230     sg_commit
6231     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6232     set ixNetSG_Stack(3) $sg_stack
6233
6234     #
6235     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
6236     #
6237     set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
6238     ixNet setMultiAttrs $sg_field \
6239      -singleValue {63} \
6240      -seed {1} \
6241      -optionalEnabled True \
6242      -fullMesh False \
6243      -valueList {{63}} \
6244      -stepValue {63} \
6245      -fixedBits {63} \
6246      -fieldValue {Default} \
6247      -auto True \
6248      -randomMask {63} \
6249      -trackingEnabled False \
6250      -valueType singleValue \
6251      -activeFieldChoice False \
6252      -startValue {63} \
6253      -countValue {1}
6254     sg_commit
6255     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6256
6257     #
6258     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
6259     #
6260     set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
6261     ixNet setMultiAttrs $sg_field \
6262      -singleValue {63} \
6263      -seed {1} \
6264      -optionalEnabled True \
6265      -fullMesh False \
6266      -valueList {{63}} \
6267      -stepValue {63} \
6268      -fixedBits {63} \
6269      -fieldValue {Default} \
6270      -auto True \
6271      -randomMask {63} \
6272      -trackingEnabled False \
6273      -valueType singleValue \
6274      -activeFieldChoice False \
6275      -startValue {63} \
6276      -countValue {1}
6277     sg_commit
6278     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6279
6280     #
6281     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
6282     #
6283     set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
6284     ixNet setMultiAttrs $sg_field \
6285      -singleValue {72} \
6286      -seed {1} \
6287      -optionalEnabled True \
6288      -fullMesh False \
6289      -valueList {{8}} \
6290      -stepValue {8} \
6291      -fixedBits {8} \
6292      -fieldValue {72} \
6293      -auto True \
6294      -randomMask {8} \
6295      -trackingEnabled False \
6296      -valueType singleValue \
6297      -activeFieldChoice False \
6298      -startValue {8} \
6299      -countValue {1}
6300     sg_commit
6301     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6302
6303     #
6304     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
6305     #
6306     set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
6307     ixNet setMultiAttrs $sg_field \
6308      -singleValue {0} \
6309      -seed {1} \
6310      -optionalEnabled True \
6311      -fullMesh False \
6312      -valueList {{0}} \
6313      -stepValue {0} \
6314      -fixedBits {0} \
6315      -fieldValue {0} \
6316      -auto True \
6317      -randomMask {0} \
6318      -trackingEnabled False \
6319      -valueType singleValue \
6320      -activeFieldChoice False \
6321      -startValue {0} \
6322      -countValue {1}
6323     sg_commit
6324     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6325
6326     #
6327     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"
6328     #
6329     set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"fcs-4"
6330     sg_commit
6331     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6332     set ixNetSG_Stack(3) $sg_stack
6333
6334     #
6335     # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
6336     #
6337     set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
6338     ixNet setMultiAttrs $sg_field \
6339      -singleValue {0} \
6340      -seed {1} \
6341      -optionalEnabled True \
6342      -fullMesh False \
6343      -valueList {{0}} \
6344      -stepValue {0} \
6345      -fixedBits {0} \
6346      -fieldValue {0} \
6347      -auto True \
6348      -randomMask {0} \
6349      -trackingEnabled False \
6350      -valueType singleValue \
6351      -activeFieldChoice False \
6352      -startValue {0} \
6353      -countValue {1}
6354     sg_commit
6355     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6356
6357     #
6358     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1
6359     #
6360     set sg_egressTracking [ixNet add $ixNetSG_Stack(1) egressTracking]
6361     ixNet setMultiAttrs $sg_egressTracking \
6362      -offset {Outer VLAN Priority (3 bits)} \
6363      -customOffsetBits 0 \
6364      -encapsulation {Ethernet} \
6365      -customWidthBits 0
6366     sg_commit
6367     set sg_egressTracking [lindex [ixNet remapIds $sg_egressTracking] 0]
6368     set ixNetSG_Stack(2) $sg_egressTracking
6369
6370     #
6371     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"
6372     #
6373     set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ethernet-1"
6374     sg_commit
6375     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6376     set ixNetSG_Stack(3) $sg_stack
6377
6378     #
6379     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
6380     #
6381     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
6382     ixNet setMultiAttrs $sg_field \
6383      -singleValue {00:00:00:00:00:00} \
6384      -seed {1} \
6385      -optionalEnabled True \
6386      -fullMesh False \
6387      -valueList {{00:00:00:00:00:00}} \
6388      -stepValue {00:00:00:00:00:00} \
6389      -fixedBits {00:00:00:00:00:00} \
6390      -fieldValue {00:00:00:00:00:00} \
6391      -auto False \
6392      -randomMask {00:00:00:00:00:00} \
6393      -trackingEnabled True \
6394      -valueType singleValue \
6395      -activeFieldChoice False \
6396      -startValue {00:00:00:00:00:00} \
6397      -countValue {1}
6398     sg_commit
6399     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6400
6401     #
6402     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
6403     #
6404     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
6405     ixNet setMultiAttrs $sg_field \
6406      -singleValue {00:00:00:00:00:00} \
6407      -seed {1} \
6408      -optionalEnabled True \
6409      -fullMesh False \
6410      -valueList {{00:00:00:00:00:00}} \
6411      -stepValue {00:00:00:00:00:00} \
6412      -fixedBits {00:00:00:00:00:00} \
6413      -fieldValue {00:00:00:00:00:00} \
6414      -auto False \
6415      -randomMask {00:00:00:00:00:00} \
6416      -trackingEnabled False \
6417      -valueType singleValue \
6418      -activeFieldChoice False \
6419      -startValue {00:00:00:00:00:00} \
6420      -countValue {1}
6421     sg_commit
6422     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6423
6424     #
6425     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
6426     #
6427     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
6428     ixNet setMultiAttrs $sg_field \
6429      -singleValue {800} \
6430      -seed {1} \
6431      -optionalEnabled True \
6432      -fullMesh False \
6433      -valueList {{0xFFFF}} \
6434      -stepValue {0xFFFF} \
6435      -fixedBits {0xFFFF} \
6436      -fieldValue {800} \
6437      -auto True \
6438      -randomMask {0xFFFF} \
6439      -trackingEnabled False \
6440      -valueType singleValue \
6441      -activeFieldChoice False \
6442      -startValue {0xFFFF} \
6443      -countValue {1}
6444     sg_commit
6445     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6446
6447     #
6448     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
6449     #
6450     set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
6451     ixNet setMultiAttrs $sg_field \
6452      -singleValue {0} \
6453      -seed {1} \
6454      -optionalEnabled True \
6455      -fullMesh False \
6456      -valueList {{0}} \
6457      -stepValue {0} \
6458      -fixedBits {0} \
6459      -fieldValue {0} \
6460      -auto False \
6461      -randomMask {0} \
6462      -trackingEnabled False \
6463      -valueType singleValue \
6464      -activeFieldChoice False \
6465      -startValue {0} \
6466      -countValue {1}
6467     sg_commit
6468     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6469
6470     #
6471     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"
6472     #
6473     set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ipv4-2"
6474     sg_commit
6475     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6476     set ixNetSG_Stack(3) $sg_stack
6477
6478     #
6479     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
6480     #
6481     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
6482     ixNet setMultiAttrs $sg_field \
6483      -singleValue {4} \
6484      -seed {1} \
6485      -optionalEnabled True \
6486      -fullMesh False \
6487      -valueList {{4}} \
6488      -stepValue {4} \
6489      -fixedBits {4} \
6490      -fieldValue {4} \
6491      -auto False \
6492      -randomMask {4} \
6493      -trackingEnabled False \
6494      -valueType singleValue \
6495      -activeFieldChoice False \
6496      -startValue {4} \
6497      -countValue {1}
6498     sg_commit
6499     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6500
6501     #
6502     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
6503     #
6504     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
6505     ixNet setMultiAttrs $sg_field \
6506      -singleValue {5} \
6507      -seed {1} \
6508      -optionalEnabled True \
6509      -fullMesh False \
6510      -valueList {{0}} \
6511      -stepValue {0} \
6512      -fixedBits {0} \
6513      -fieldValue {5} \
6514      -auto True \
6515      -randomMask {0} \
6516      -trackingEnabled False \
6517      -valueType singleValue \
6518      -activeFieldChoice False \
6519      -startValue {0} \
6520      -countValue {1}
6521     sg_commit
6522     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6523
6524     #
6525     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
6526     #
6527     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
6528     ixNet setMultiAttrs $sg_field \
6529      -singleValue {0} \
6530      -seed {1} \
6531      -optionalEnabled True \
6532      -fullMesh False \
6533      -valueList {{0}} \
6534      -stepValue {0} \
6535      -fixedBits {0} \
6536      -fieldValue {0} \
6537      -auto False \
6538      -randomMask {0} \
6539      -trackingEnabled False \
6540      -valueType singleValue \
6541      -activeFieldChoice False \
6542      -startValue {0} \
6543      -countValue {1}
6544     sg_commit
6545     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6546
6547     #
6548     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
6549     #
6550     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
6551     ixNet setMultiAttrs $sg_field \
6552      -singleValue {0} \
6553      -seed {1} \
6554      -optionalEnabled True \
6555      -fullMesh False \
6556      -valueList {{0}} \
6557      -stepValue {0} \
6558      -fixedBits {0} \
6559      -fieldValue {000 Routine} \
6560      -auto False \
6561      -randomMask {0} \
6562      -trackingEnabled False \
6563      -valueType singleValue \
6564      -activeFieldChoice True \
6565      -startValue {0} \
6566      -countValue {1}
6567     sg_commit
6568     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6569
6570     #
6571     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
6572     #
6573     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
6574     ixNet setMultiAttrs $sg_field \
6575      -singleValue {0} \
6576      -seed {1} \
6577      -optionalEnabled True \
6578      -fullMesh False \
6579      -valueList {{0}} \
6580      -stepValue {0} \
6581      -fixedBits {0} \
6582      -fieldValue {Normal} \
6583      -auto False \
6584      -randomMask {0} \
6585      -trackingEnabled False \
6586      -valueType singleValue \
6587      -activeFieldChoice True \
6588      -startValue {0} \
6589      -countValue {1}
6590     sg_commit
6591     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6592
6593     #
6594     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
6595     #
6596     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
6597     ixNet setMultiAttrs $sg_field \
6598      -singleValue {0} \
6599      -seed {1} \
6600      -optionalEnabled True \
6601      -fullMesh False \
6602      -valueList {{0}} \
6603      -stepValue {0} \
6604      -fixedBits {0} \
6605      -fieldValue {Normal} \
6606      -auto False \
6607      -randomMask {0} \
6608      -trackingEnabled False \
6609      -valueType singleValue \
6610      -activeFieldChoice True \
6611      -startValue {0} \
6612      -countValue {1}
6613     sg_commit
6614     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6615
6616     #
6617     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
6618     #
6619     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
6620     ixNet setMultiAttrs $sg_field \
6621      -singleValue {0} \
6622      -seed {1} \
6623      -optionalEnabled True \
6624      -fullMesh False \
6625      -valueList {{0}} \
6626      -stepValue {0} \
6627      -fixedBits {0} \
6628      -fieldValue {Normal} \
6629      -auto False \
6630      -randomMask {0} \
6631      -trackingEnabled False \
6632      -valueType singleValue \
6633      -activeFieldChoice True \
6634      -startValue {0} \
6635      -countValue {1}
6636     sg_commit
6637     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6638
6639     #
6640     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
6641     #
6642     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
6643     ixNet setMultiAttrs $sg_field \
6644      -singleValue {0} \
6645      -seed {1} \
6646      -optionalEnabled True \
6647      -fullMesh False \
6648      -valueList {{0}} \
6649      -stepValue {0} \
6650      -fixedBits {0} \
6651      -fieldValue {Normal} \
6652      -auto False \
6653      -randomMask {0} \
6654      -trackingEnabled False \
6655      -valueType singleValue \
6656      -activeFieldChoice True \
6657      -startValue {0} \
6658      -countValue {1}
6659     sg_commit
6660     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6661
6662     #
6663     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
6664     #
6665     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
6666     ixNet setMultiAttrs $sg_field \
6667      -singleValue {0} \
6668      -seed {1} \
6669      -optionalEnabled True \
6670      -fullMesh False \
6671      -valueList {{0}} \
6672      -stepValue {0} \
6673      -fixedBits {0} \
6674      -fieldValue {0} \
6675      -auto False \
6676      -randomMask {0} \
6677      -trackingEnabled False \
6678      -valueType singleValue \
6679      -activeFieldChoice True \
6680      -startValue {0} \
6681      -countValue {1}
6682     sg_commit
6683     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6684
6685     #
6686     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
6687     #
6688     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
6689     ixNet setMultiAttrs $sg_field \
6690      -singleValue {0} \
6691      -seed {1} \
6692      -optionalEnabled True \
6693      -fullMesh False \
6694      -valueList {{0}} \
6695      -stepValue {0} \
6696      -fixedBits {0} \
6697      -fieldValue {0} \
6698      -auto False \
6699      -randomMask {0} \
6700      -trackingEnabled False \
6701      -valueType singleValue \
6702      -activeFieldChoice False \
6703      -startValue {0} \
6704      -countValue {1}
6705     sg_commit
6706     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6707
6708     #
6709     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
6710     #
6711     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
6712     ixNet setMultiAttrs $sg_field \
6713      -singleValue {0} \
6714      -seed {1} \
6715      -optionalEnabled True \
6716      -fullMesh False \
6717      -valueList {{0}} \
6718      -stepValue {0} \
6719      -fixedBits {0} \
6720      -fieldValue {0} \
6721      -auto False \
6722      -randomMask {0} \
6723      -trackingEnabled False \
6724      -valueType singleValue \
6725      -activeFieldChoice False \
6726      -startValue {0} \
6727      -countValue {1}
6728     sg_commit
6729     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6730
6731     #
6732     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
6733     #
6734     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
6735     ixNet setMultiAttrs $sg_field \
6736      -singleValue {8} \
6737      -seed {1} \
6738      -optionalEnabled True \
6739      -fullMesh False \
6740      -valueList {{8}} \
6741      -stepValue {8} \
6742      -fixedBits {8} \
6743      -fieldValue {Precedence 1} \
6744      -auto False \
6745      -randomMask {8} \
6746      -trackingEnabled False \
6747      -valueType singleValue \
6748      -activeFieldChoice False \
6749      -startValue {8} \
6750      -countValue {1}
6751     sg_commit
6752     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6753
6754     #
6755     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
6756     #
6757     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
6758     ixNet setMultiAttrs $sg_field \
6759      -singleValue {0} \
6760      -seed {1} \
6761      -optionalEnabled True \
6762      -fullMesh False \
6763      -valueList {{0}} \
6764      -stepValue {0} \
6765      -fixedBits {0} \
6766      -fieldValue {0} \
6767      -auto False \
6768      -randomMask {0} \
6769      -trackingEnabled False \
6770      -valueType singleValue \
6771      -activeFieldChoice False \
6772      -startValue {0} \
6773      -countValue {1}
6774     sg_commit
6775     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6776
6777     #
6778     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
6779     #
6780     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
6781     ixNet setMultiAttrs $sg_field \
6782      -singleValue {10} \
6783      -seed {1} \
6784      -optionalEnabled True \
6785      -fullMesh False \
6786      -valueList {{10}} \
6787      -stepValue {10} \
6788      -fixedBits {10} \
6789      -fieldValue {Class 1, Low drop precedence} \
6790      -auto False \
6791      -randomMask {10} \
6792      -trackingEnabled False \
6793      -valueType singleValue \
6794      -activeFieldChoice False \
6795      -startValue {10} \
6796      -countValue {1}
6797     sg_commit
6798     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6799
6800     #
6801     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
6802     #
6803     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
6804     ixNet setMultiAttrs $sg_field \
6805      -singleValue {0} \
6806      -seed {1} \
6807      -optionalEnabled True \
6808      -fullMesh False \
6809      -valueList {{0}} \
6810      -stepValue {0} \
6811      -fixedBits {0} \
6812      -fieldValue {0} \
6813      -auto False \
6814      -randomMask {0} \
6815      -trackingEnabled False \
6816      -valueType singleValue \
6817      -activeFieldChoice False \
6818      -startValue {0} \
6819      -countValue {1}
6820     sg_commit
6821     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6822
6823     #
6824     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
6825     #
6826     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
6827     ixNet setMultiAttrs $sg_field \
6828      -singleValue {46} \
6829      -seed {1} \
6830      -optionalEnabled True \
6831      -fullMesh False \
6832      -valueList {{46}} \
6833      -stepValue {46} \
6834      -fixedBits {46} \
6835      -fieldValue {46} \
6836      -auto False \
6837      -randomMask {46} \
6838      -trackingEnabled False \
6839      -valueType singleValue \
6840      -activeFieldChoice False \
6841      -startValue {46} \
6842      -countValue {1}
6843     sg_commit
6844     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6845
6846     #
6847     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
6848     #
6849     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
6850     ixNet setMultiAttrs $sg_field \
6851      -singleValue {0} \
6852      -seed {1} \
6853      -optionalEnabled True \
6854      -fullMesh False \
6855      -valueList {{0}} \
6856      -stepValue {0} \
6857      -fixedBits {0} \
6858      -fieldValue {0} \
6859      -auto False \
6860      -randomMask {0} \
6861      -trackingEnabled False \
6862      -valueType singleValue \
6863      -activeFieldChoice False \
6864      -startValue {0} \
6865      -countValue {1}
6866     sg_commit
6867     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6868
6869     #
6870     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
6871     #
6872     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
6873     ixNet setMultiAttrs $sg_field \
6874      -singleValue {92} \
6875      -seed {1} \
6876      -optionalEnabled True \
6877      -fullMesh False \
6878      -valueList {{20}} \
6879      -stepValue {20} \
6880      -fixedBits {20} \
6881      -fieldValue {92} \
6882      -auto True \
6883      -randomMask {20} \
6884      -trackingEnabled False \
6885      -valueType singleValue \
6886      -activeFieldChoice False \
6887      -startValue {20} \
6888      -countValue {1}
6889     sg_commit
6890     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6891
6892     #
6893     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
6894     #
6895     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
6896     ixNet setMultiAttrs $sg_field \
6897      -singleValue {0} \
6898      -seed {1} \
6899      -optionalEnabled True \
6900      -fullMesh False \
6901      -valueList {{0}} \
6902      -stepValue {0} \
6903      -fixedBits {0} \
6904      -fieldValue {0} \
6905      -auto False \
6906      -randomMask {0} \
6907      -trackingEnabled False \
6908      -valueType singleValue \
6909      -activeFieldChoice False \
6910      -startValue {0} \
6911      -countValue {1}
6912     sg_commit
6913     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6914
6915     #
6916     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
6917     #
6918     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
6919     ixNet setMultiAttrs $sg_field \
6920      -singleValue {0} \
6921      -seed {1} \
6922      -optionalEnabled True \
6923      -fullMesh False \
6924      -valueList {{0}} \
6925      -stepValue {0} \
6926      -fixedBits {0} \
6927      -fieldValue {0} \
6928      -auto False \
6929      -randomMask {0} \
6930      -trackingEnabled False \
6931      -valueType singleValue \
6932      -activeFieldChoice False \
6933      -startValue {0} \
6934      -countValue {1}
6935     sg_commit
6936     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6937
6938     #
6939     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
6940     #
6941     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
6942     ixNet setMultiAttrs $sg_field \
6943      -singleValue {0} \
6944      -seed {1} \
6945      -optionalEnabled True \
6946      -fullMesh False \
6947      -valueList {{0}} \
6948      -stepValue {0} \
6949      -fixedBits {0} \
6950      -fieldValue {May fragment} \
6951      -auto False \
6952      -randomMask {0} \
6953      -trackingEnabled False \
6954      -valueType singleValue \
6955      -activeFieldChoice False \
6956      -startValue {0} \
6957      -countValue {1}
6958     sg_commit
6959     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6960
6961     #
6962     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
6963     #
6964     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
6965     ixNet setMultiAttrs $sg_field \
6966      -singleValue {0} \
6967      -seed {1} \
6968      -optionalEnabled True \
6969      -fullMesh False \
6970      -valueList {{0}} \
6971      -stepValue {0} \
6972      -fixedBits {0} \
6973      -fieldValue {Last fragment} \
6974      -auto False \
6975      -randomMask {0} \
6976      -trackingEnabled False \
6977      -valueType singleValue \
6978      -activeFieldChoice False \
6979      -startValue {0} \
6980      -countValue {1}
6981     sg_commit
6982     set sg_field [lindex [ixNet remapIds $sg_field] 0]
6983
6984     #
6985     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
6986     #
6987     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
6988     ixNet setMultiAttrs $sg_field \
6989      -singleValue {0} \
6990      -seed {1} \
6991      -optionalEnabled True \
6992      -fullMesh False \
6993      -valueList {{0}} \
6994      -stepValue {0} \
6995      -fixedBits {0} \
6996      -fieldValue {0} \
6997      -auto False \
6998      -randomMask {0} \
6999      -trackingEnabled False \
7000      -valueType singleValue \
7001      -activeFieldChoice False \
7002      -startValue {0} \
7003      -countValue {1}
7004     sg_commit
7005     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7006
7007     #
7008     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
7009     #
7010     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
7011     ixNet setMultiAttrs $sg_field \
7012      -singleValue {64} \
7013      -seed {1} \
7014      -optionalEnabled True \
7015      -fullMesh False \
7016      -valueList {{64}} \
7017      -stepValue {64} \
7018      -fixedBits {64} \
7019      -fieldValue {64} \
7020      -auto False \
7021      -randomMask {64} \
7022      -trackingEnabled False \
7023      -valueType singleValue \
7024      -activeFieldChoice False \
7025      -startValue {64} \
7026      -countValue {1}
7027     sg_commit
7028     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7029
7030     #
7031     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
7032     #
7033     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
7034     ixNet setMultiAttrs $sg_field \
7035      -singleValue {17} \
7036      -seed {1} \
7037      -optionalEnabled True \
7038      -fullMesh False \
7039      -valueList {{61}} \
7040      -stepValue {61} \
7041      -fixedBits {61} \
7042      -fieldValue {UDP} \
7043      -auto True \
7044      -randomMask {61} \
7045      -trackingEnabled False \
7046      -valueType singleValue \
7047      -activeFieldChoice False \
7048      -startValue {61} \
7049      -countValue {1}
7050     sg_commit
7051     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7052
7053     #
7054     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
7055     #
7056     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
7057     ixNet setMultiAttrs $sg_field \
7058      -singleValue {0} \
7059      -seed {1} \
7060      -optionalEnabled True \
7061      -fullMesh False \
7062      -valueList {{0}} \
7063      -stepValue {0} \
7064      -fixedBits {0} \
7065      -fieldValue {0} \
7066      -auto True \
7067      -randomMask {0} \
7068      -trackingEnabled False \
7069      -valueType singleValue \
7070      -activeFieldChoice False \
7071      -startValue {0} \
7072      -countValue {1}
7073     sg_commit
7074     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7075
7076     #
7077     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
7078     #
7079     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
7080     ixNet setMultiAttrs $sg_field \
7081      -singleValue {0.0.0.0} \
7082      -seed {1} \
7083      -optionalEnabled True \
7084      -fullMesh False \
7085      -valueList {{0.0.0.0}} \
7086      -stepValue {0.0.0.0} \
7087      -fixedBits {0.0.0.0} \
7088      -fieldValue {0.0.0.0} \
7089      -auto False \
7090      -randomMask {0.0.0.0} \
7091      -trackingEnabled False \
7092      -valueType singleValue \
7093      -activeFieldChoice False \
7094      -startValue {0.0.0.0} \
7095      -countValue {1}
7096     sg_commit
7097     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7098
7099     #
7100     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
7101     #
7102     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
7103     ixNet setMultiAttrs $sg_field \
7104      -singleValue {0.0.0.0} \
7105      -seed {1} \
7106      -optionalEnabled True \
7107      -fullMesh False \
7108      -valueList {{0.0.0.0}} \
7109      -stepValue {0.0.0.0} \
7110      -fixedBits {0.0.0.0} \
7111      -fieldValue {0.0.0.0} \
7112      -auto False \
7113      -randomMask {0.0.0.0} \
7114      -trackingEnabled False \
7115      -valueType singleValue \
7116      -activeFieldChoice False \
7117      -startValue {0.0.0.0} \
7118      -countValue {1}
7119     sg_commit
7120     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7121
7122     #
7123     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
7124     #
7125     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
7126     ixNet setMultiAttrs $sg_field \
7127      -singleValue {1} \
7128      -seed {1} \
7129      -optionalEnabled False \
7130      -fullMesh False \
7131      -valueList {{1}} \
7132      -stepValue {1} \
7133      -fixedBits {1} \
7134      -fieldValue {1} \
7135      -auto False \
7136      -randomMask {1} \
7137      -trackingEnabled False \
7138      -valueType singleValue \
7139      -activeFieldChoice True \
7140      -startValue {1} \
7141      -countValue {1}
7142     sg_commit
7143     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7144
7145     #
7146     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
7147     #
7148     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
7149     ixNet setMultiAttrs $sg_field \
7150      -singleValue {130} \
7151      -seed {1} \
7152      -optionalEnabled False \
7153      -fullMesh False \
7154      -valueList {{130}} \
7155      -stepValue {130} \
7156      -fixedBits {130} \
7157      -fieldValue {130} \
7158      -auto False \
7159      -randomMask {130} \
7160      -trackingEnabled False \
7161      -valueType singleValue \
7162      -activeFieldChoice False \
7163      -startValue {130} \
7164      -countValue {1}
7165     sg_commit
7166     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7167
7168     #
7169     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
7170     #
7171     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
7172     ixNet setMultiAttrs $sg_field \
7173      -singleValue {11} \
7174      -seed {1} \
7175      -optionalEnabled False \
7176      -fullMesh False \
7177      -valueList {{11}} \
7178      -stepValue {11} \
7179      -fixedBits {11} \
7180      -fieldValue {11} \
7181      -auto False \
7182      -randomMask {11} \
7183      -trackingEnabled False \
7184      -valueType singleValue \
7185      -activeFieldChoice False \
7186      -startValue {11} \
7187      -countValue {1}
7188     sg_commit
7189     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7190
7191     #
7192     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
7193     #
7194     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
7195     ixNet setMultiAttrs $sg_field \
7196      -singleValue {0} \
7197      -seed {1} \
7198      -optionalEnabled False \
7199      -fullMesh False \
7200      -valueList {{0}} \
7201      -stepValue {0} \
7202      -fixedBits {0} \
7203      -fieldValue {Unclassified} \
7204      -auto False \
7205      -randomMask {0} \
7206      -trackingEnabled False \
7207      -valueType singleValue \
7208      -activeFieldChoice False \
7209      -startValue {0} \
7210      -countValue {1}
7211     sg_commit
7212     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7213
7214     #
7215     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
7216     #
7217     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
7218     ixNet setMultiAttrs $sg_field \
7219      -singleValue {0} \
7220      -seed {1} \
7221      -optionalEnabled False \
7222      -fullMesh False \
7223      -valueList {{0}} \
7224      -stepValue {0} \
7225      -fixedBits {0} \
7226      -fieldValue {0} \
7227      -auto False \
7228      -randomMask {0} \
7229      -trackingEnabled False \
7230      -valueType singleValue \
7231      -activeFieldChoice False \
7232      -startValue {0} \
7233      -countValue {1}
7234     sg_commit
7235     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7236
7237     #
7238     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
7239     #
7240     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
7241     ixNet setMultiAttrs $sg_field \
7242      -singleValue {0} \
7243      -seed {1} \
7244      -optionalEnabled False \
7245      -fullMesh False \
7246      -valueList {{0}} \
7247      -stepValue {0} \
7248      -fixedBits {0} \
7249      -fieldValue {0} \
7250      -auto False \
7251      -randomMask {0} \
7252      -trackingEnabled False \
7253      -valueType singleValue \
7254      -activeFieldChoice False \
7255      -startValue {0} \
7256      -countValue {1}
7257     sg_commit
7258     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7259
7260     #
7261     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
7262     #
7263     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
7264     ixNet setMultiAttrs $sg_field \
7265      -singleValue {0} \
7266      -seed {1} \
7267      -optionalEnabled False \
7268      -fullMesh False \
7269      -valueList {{0}} \
7270      -stepValue {0} \
7271      -fixedBits {0} \
7272      -fieldValue {0} \
7273      -auto False \
7274      -randomMask {0} \
7275      -trackingEnabled False \
7276      -valueType singleValue \
7277      -activeFieldChoice False \
7278      -startValue {0} \
7279      -countValue {1}
7280     sg_commit
7281     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7282
7283     #
7284     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
7285     #
7286     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
7287     ixNet setMultiAttrs $sg_field \
7288      -singleValue {131} \
7289      -seed {1} \
7290      -optionalEnabled False \
7291      -fullMesh False \
7292      -valueList {{131}} \
7293      -stepValue {131} \
7294      -fixedBits {131} \
7295      -fieldValue {131} \
7296      -auto False \
7297      -randomMask {131} \
7298      -trackingEnabled False \
7299      -valueType singleValue \
7300      -activeFieldChoice False \
7301      -startValue {131} \
7302      -countValue {1}
7303     sg_commit
7304     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7305
7306     #
7307     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
7308     #
7309     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
7310     ixNet setMultiAttrs $sg_field \
7311      -singleValue {8} \
7312      -seed {1} \
7313      -optionalEnabled False \
7314      -fullMesh False \
7315      -valueList {{8}} \
7316      -stepValue {8} \
7317      -fixedBits {8} \
7318      -fieldValue {8} \
7319      -auto False \
7320      -randomMask {8} \
7321      -trackingEnabled False \
7322      -valueType singleValue \
7323      -activeFieldChoice False \
7324      -startValue {8} \
7325      -countValue {1}
7326     sg_commit
7327     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7328
7329     #
7330     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
7331     #
7332     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
7333     ixNet setMultiAttrs $sg_field \
7334      -singleValue {4} \
7335      -seed {1} \
7336      -optionalEnabled False \
7337      -fullMesh False \
7338      -valueList {{4}} \
7339      -stepValue {4} \
7340      -fixedBits {4} \
7341      -fieldValue {4} \
7342      -auto False \
7343      -randomMask {4} \
7344      -trackingEnabled False \
7345      -valueType singleValue \
7346      -activeFieldChoice False \
7347      -startValue {4} \
7348      -countValue {1}
7349     sg_commit
7350     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7351
7352     #
7353     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
7354     #
7355     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
7356     ixNet setMultiAttrs $sg_field \
7357      -singleValue {0} \
7358      -seed {1} \
7359      -optionalEnabled False \
7360      -fullMesh False \
7361      -valueList {{0}} \
7362      -stepValue {0} \
7363      -fixedBits {0} \
7364      -fieldValue {0} \
7365      -auto False \
7366      -randomMask {0} \
7367      -trackingEnabled False \
7368      -valueType singleValue \
7369      -activeFieldChoice False \
7370      -startValue {0} \
7371      -countValue {1}
7372     sg_commit
7373     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7374
7375     #
7376     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
7377     #
7378     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
7379     ixNet setMultiAttrs $sg_field \
7380      -singleValue {137} \
7381      -seed {1} \
7382      -optionalEnabled False \
7383      -fullMesh False \
7384      -valueList {{137}} \
7385      -stepValue {137} \
7386      -fixedBits {137} \
7387      -fieldValue {137} \
7388      -auto False \
7389      -randomMask {137} \
7390      -trackingEnabled False \
7391      -valueType singleValue \
7392      -activeFieldChoice False \
7393      -startValue {137} \
7394      -countValue {1}
7395     sg_commit
7396     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7397
7398     #
7399     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
7400     #
7401     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
7402     ixNet setMultiAttrs $sg_field \
7403      -singleValue {8} \
7404      -seed {1} \
7405      -optionalEnabled False \
7406      -fullMesh False \
7407      -valueList {{8}} \
7408      -stepValue {8} \
7409      -fixedBits {8} \
7410      -fieldValue {8} \
7411      -auto False \
7412      -randomMask {8} \
7413      -trackingEnabled False \
7414      -valueType singleValue \
7415      -activeFieldChoice False \
7416      -startValue {8} \
7417      -countValue {1}
7418     sg_commit
7419     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7420
7421     #
7422     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
7423     #
7424     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
7425     ixNet setMultiAttrs $sg_field \
7426      -singleValue {7} \
7427      -seed {1} \
7428      -optionalEnabled False \
7429      -fullMesh False \
7430      -valueList {{7}} \
7431      -stepValue {7} \
7432      -fixedBits {7} \
7433      -fieldValue {7} \
7434      -auto False \
7435      -randomMask {7} \
7436      -trackingEnabled False \
7437      -valueType singleValue \
7438      -activeFieldChoice False \
7439      -startValue {7} \
7440      -countValue {1}
7441     sg_commit
7442     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7443
7444     #
7445     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
7446     #
7447     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
7448     ixNet setMultiAttrs $sg_field \
7449      -singleValue {8} \
7450      -seed {1} \
7451      -optionalEnabled False \
7452      -fullMesh False \
7453      -valueList {{8}} \
7454      -stepValue {8} \
7455      -fixedBits {8} \
7456      -fieldValue {8} \
7457      -auto False \
7458      -randomMask {8} \
7459      -trackingEnabled False \
7460      -valueType singleValue \
7461      -activeFieldChoice False \
7462      -startValue {8} \
7463      -countValue {1}
7464     sg_commit
7465     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7466
7467     #
7468     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
7469     #
7470     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
7471     ixNet setMultiAttrs $sg_field \
7472      -singleValue {136} \
7473      -seed {1} \
7474      -optionalEnabled False \
7475      -fullMesh False \
7476      -valueList {{136}} \
7477      -stepValue {136} \
7478      -fixedBits {136} \
7479      -fieldValue {136} \
7480      -auto False \
7481      -randomMask {136} \
7482      -trackingEnabled False \
7483      -valueType singleValue \
7484      -activeFieldChoice False \
7485      -startValue {136} \
7486      -countValue {1}
7487     sg_commit
7488     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7489
7490     #
7491     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
7492     #
7493     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
7494     ixNet setMultiAttrs $sg_field \
7495      -singleValue {4} \
7496      -seed {1} \
7497      -optionalEnabled False \
7498      -fullMesh False \
7499      -valueList {{4}} \
7500      -stepValue {4} \
7501      -fixedBits {4} \
7502      -fieldValue {4} \
7503      -auto False \
7504      -randomMask {4} \
7505      -trackingEnabled False \
7506      -valueType singleValue \
7507      -activeFieldChoice False \
7508      -startValue {4} \
7509      -countValue {1}
7510     sg_commit
7511     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7512
7513     #
7514     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
7515     #
7516     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
7517     ixNet setMultiAttrs $sg_field \
7518      -singleValue {0} \
7519      -seed {1} \
7520      -optionalEnabled False \
7521      -fullMesh False \
7522      -valueList {{0}} \
7523      -stepValue {0} \
7524      -fixedBits {0} \
7525      -fieldValue {0} \
7526      -auto False \
7527      -randomMask {0} \
7528      -trackingEnabled False \
7529      -valueType singleValue \
7530      -activeFieldChoice False \
7531      -startValue {0} \
7532      -countValue {1}
7533     sg_commit
7534     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7535
7536     #
7537     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
7538     #
7539     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
7540     ixNet setMultiAttrs $sg_field \
7541      -singleValue {68} \
7542      -seed {1} \
7543      -optionalEnabled False \
7544      -fullMesh False \
7545      -valueList {{68}} \
7546      -stepValue {68} \
7547      -fixedBits {68} \
7548      -fieldValue {68} \
7549      -auto False \
7550      -randomMask {68} \
7551      -trackingEnabled False \
7552      -valueType singleValue \
7553      -activeFieldChoice False \
7554      -startValue {68} \
7555      -countValue {1}
7556     sg_commit
7557     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7558
7559     #
7560     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
7561     #
7562     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
7563     ixNet setMultiAttrs $sg_field \
7564      -singleValue {12} \
7565      -seed {1} \
7566      -optionalEnabled False \
7567      -fullMesh False \
7568      -valueList {{12}} \
7569      -stepValue {12} \
7570      -fixedBits {12} \
7571      -fieldValue {12} \
7572      -auto False \
7573      -randomMask {12} \
7574      -trackingEnabled False \
7575      -valueType singleValue \
7576      -activeFieldChoice False \
7577      -startValue {12} \
7578      -countValue {1}
7579     sg_commit
7580     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7581
7582     #
7583     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
7584     #
7585     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
7586     ixNet setMultiAttrs $sg_field \
7587      -singleValue {5} \
7588      -seed {1} \
7589      -optionalEnabled False \
7590      -fullMesh False \
7591      -valueList {{5}} \
7592      -stepValue {5} \
7593      -fixedBits {5} \
7594      -fieldValue {5} \
7595      -auto False \
7596      -randomMask {5} \
7597      -trackingEnabled False \
7598      -valueType singleValue \
7599      -activeFieldChoice False \
7600      -startValue {5} \
7601      -countValue {1}
7602     sg_commit
7603     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7604
7605     #
7606     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
7607     #
7608     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
7609     ixNet setMultiAttrs $sg_field \
7610      -singleValue {0} \
7611      -seed {1} \
7612      -optionalEnabled False \
7613      -fullMesh False \
7614      -valueList {{0}} \
7615      -stepValue {0} \
7616      -fixedBits {0} \
7617      -fieldValue {0} \
7618      -auto False \
7619      -randomMask {0} \
7620      -trackingEnabled False \
7621      -valueType singleValue \
7622      -activeFieldChoice False \
7623      -startValue {0} \
7624      -countValue {1}
7625     sg_commit
7626     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7627
7628     #
7629     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
7630     #
7631     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
7632     ixNet setMultiAttrs $sg_field \
7633      -singleValue {0} \
7634      -seed {1} \
7635      -optionalEnabled False \
7636      -fullMesh False \
7637      -valueList {{0}} \
7638      -stepValue {0} \
7639      -fixedBits {0} \
7640      -fieldValue {Timestamps only, in consecutive 32-bit words} \
7641      -auto False \
7642      -randomMask {0} \
7643      -trackingEnabled False \
7644      -valueType singleValue \
7645      -activeFieldChoice False \
7646      -startValue {0} \
7647      -countValue {1}
7648     sg_commit
7649     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7650
7651     #
7652     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
7653     #
7654     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
7655     ixNet setMultiAttrs $sg_field \
7656      -singleValue {0} \
7657      -seed {1} \
7658      -optionalEnabled False \
7659      -fullMesh False \
7660      -valueList {{0}} \
7661      -stepValue {0} \
7662      -fixedBits {0} \
7663      -fieldValue {0} \
7664      -auto False \
7665      -randomMask {0} \
7666      -trackingEnabled False \
7667      -valueType singleValue \
7668      -activeFieldChoice False \
7669      -startValue {0} \
7670      -countValue {1}
7671     sg_commit
7672     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7673
7674     #
7675     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
7676     #
7677     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
7678     ixNet setMultiAttrs $sg_field \
7679      -singleValue {0} \
7680      -seed {1} \
7681      -optionalEnabled False \
7682      -fullMesh False \
7683      -valueList {{0}} \
7684      -stepValue {0} \
7685      -fixedBits {0} \
7686      -fieldValue {0} \
7687      -auto False \
7688      -randomMask {0} \
7689      -trackingEnabled False \
7690      -valueType singleValue \
7691      -activeFieldChoice False \
7692      -startValue {0} \
7693      -countValue {1}
7694     sg_commit
7695     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7696
7697     #
7698     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
7699     #
7700     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
7701     ixNet setMultiAttrs $sg_field \
7702      -singleValue {0} \
7703      -seed {1} \
7704      -optionalEnabled False \
7705      -fullMesh False \
7706      -valueList {{0}} \
7707      -stepValue {0} \
7708      -fixedBits {0} \
7709      -fieldValue {0} \
7710      -auto False \
7711      -randomMask {0} \
7712      -trackingEnabled False \
7713      -valueType singleValue \
7714      -activeFieldChoice False \
7715      -startValue {0} \
7716      -countValue {1}
7717     sg_commit
7718     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7719
7720     #
7721     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
7722     #
7723     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
7724     ixNet setMultiAttrs $sg_field \
7725      -singleValue {94} \
7726      -seed {1} \
7727      -optionalEnabled False \
7728      -fullMesh False \
7729      -valueList {{0x94}} \
7730      -stepValue {0x94} \
7731      -fixedBits {0x94} \
7732      -fieldValue {94} \
7733      -auto False \
7734      -randomMask {0x94} \
7735      -trackingEnabled False \
7736      -valueType singleValue \
7737      -activeFieldChoice False \
7738      -startValue {0x94} \
7739      -countValue {1}
7740     sg_commit
7741     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7742
7743     #
7744     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
7745     #
7746     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
7747     ixNet setMultiAttrs $sg_field \
7748      -singleValue {4} \
7749      -seed {1} \
7750      -optionalEnabled False \
7751      -fullMesh False \
7752      -valueList {{0x04}} \
7753      -stepValue {0x04} \
7754      -fixedBits {0x04} \
7755      -fieldValue {4} \
7756      -auto False \
7757      -randomMask {0x04} \
7758      -trackingEnabled False \
7759      -valueType singleValue \
7760      -activeFieldChoice False \
7761      -startValue {0x04} \
7762      -countValue {1}
7763     sg_commit
7764     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7765
7766     #
7767     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
7768     #
7769     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
7770     ixNet setMultiAttrs $sg_field \
7771      -singleValue {0} \
7772      -seed {1} \
7773      -optionalEnabled False \
7774      -fullMesh False \
7775      -valueList {{0}} \
7776      -stepValue {0} \
7777      -fixedBits {0} \
7778      -fieldValue {Router shall examine packet} \
7779      -auto False \
7780      -randomMask {0} \
7781      -trackingEnabled False \
7782      -valueType singleValue \
7783      -activeFieldChoice False \
7784      -startValue {0} \
7785      -countValue {1}
7786     sg_commit
7787     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7788
7789     #
7790     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
7791     #
7792     set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
7793     ixNet setMultiAttrs $sg_field \
7794      -singleValue {0} \
7795      -seed {1} \
7796      -optionalEnabled False \
7797      -fullMesh False \
7798      -valueList {{0}} \
7799      -stepValue {0} \
7800      -fixedBits {0} \
7801      -fieldValue {0} \
7802      -auto True \
7803      -randomMask {0} \
7804      -trackingEnabled False \
7805      -valueType singleValue \
7806      -activeFieldChoice False \
7807      -startValue {0} \
7808      -countValue {1}
7809     sg_commit
7810     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7811
7812     #
7813     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"
7814     #
7815     set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"udp-3"
7816     sg_commit
7817     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
7818     set ixNetSG_Stack(3) $sg_stack
7819
7820     #
7821     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
7822     #
7823     set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
7824     ixNet setMultiAttrs $sg_field \
7825      -singleValue {63} \
7826      -seed {1} \
7827      -optionalEnabled True \
7828      -fullMesh False \
7829      -valueList {{63}} \
7830      -stepValue {63} \
7831      -fixedBits {63} \
7832      -fieldValue {Default} \
7833      -auto True \
7834      -randomMask {63} \
7835      -trackingEnabled False \
7836      -valueType singleValue \
7837      -activeFieldChoice False \
7838      -startValue {63} \
7839      -countValue {1}
7840     sg_commit
7841     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7842
7843     #
7844     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
7845     #
7846     set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
7847     ixNet setMultiAttrs $sg_field \
7848      -singleValue {63} \
7849      -seed {1} \
7850      -optionalEnabled True \
7851      -fullMesh False \
7852      -valueList {{63}} \
7853      -stepValue {63} \
7854      -fixedBits {63} \
7855      -fieldValue {Default} \
7856      -auto True \
7857      -randomMask {63} \
7858      -trackingEnabled False \
7859      -valueType singleValue \
7860      -activeFieldChoice False \
7861      -startValue {63} \
7862      -countValue {1}
7863     sg_commit
7864     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7865
7866     #
7867     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
7868     #
7869     set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
7870     ixNet setMultiAttrs $sg_field \
7871      -singleValue {72} \
7872      -seed {1} \
7873      -optionalEnabled True \
7874      -fullMesh False \
7875      -valueList {{8}} \
7876      -stepValue {8} \
7877      -fixedBits {8} \
7878      -fieldValue {72} \
7879      -auto True \
7880      -randomMask {8} \
7881      -trackingEnabled False \
7882      -valueType singleValue \
7883      -activeFieldChoice False \
7884      -startValue {8} \
7885      -countValue {1}
7886     sg_commit
7887     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7888
7889     #
7890     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
7891     #
7892     set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
7893     ixNet setMultiAttrs $sg_field \
7894      -singleValue {0} \
7895      -seed {1} \
7896      -optionalEnabled True \
7897      -fullMesh False \
7898      -valueList {{0}} \
7899      -stepValue {0} \
7900      -fixedBits {0} \
7901      -fieldValue {0} \
7902      -auto True \
7903      -randomMask {0} \
7904      -trackingEnabled False \
7905      -valueType singleValue \
7906      -activeFieldChoice False \
7907      -startValue {0} \
7908      -countValue {1}
7909     sg_commit
7910     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7911
7912     #
7913     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"
7914     #
7915     set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"fcs-4"
7916     sg_commit
7917     set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
7918     set ixNetSG_Stack(3) $sg_stack
7919
7920     #
7921     # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
7922     #
7923     set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
7924     ixNet setMultiAttrs $sg_field \
7925      -singleValue {0} \
7926      -seed {1} \
7927      -optionalEnabled True \
7928      -fullMesh False \
7929      -valueList {{0}} \
7930      -stepValue {0} \
7931      -fixedBits {0} \
7932      -fieldValue {0} \
7933      -auto True \
7934      -randomMask {0} \
7935      -trackingEnabled False \
7936      -valueType singleValue \
7937      -activeFieldChoice False \
7938      -startValue {0} \
7939      -countValue {1}
7940     sg_commit
7941     set sg_field [lindex [ixNet remapIds $sg_field] 0]
7942
7943     #
7944     # configuring the object that corresponds to /traffic/trafficItem:1/dynamicUpdate
7945     #
7946     set sg_dynamicUpdate $ixNetSG_Stack(1)/dynamicUpdate
7947     ixNet setMultiAttrs $sg_dynamicUpdate \
7948      -enabledSessionAwareTrafficFields {} \
7949      -enabledDynamicUpdateFields {}
7950     sg_commit
7951     set sg_dynamicUpdate [lindex [ixNet remapIds $sg_dynamicUpdate] 0]
7952
7953     ###
7954     ### /quickTest area
7955     ###
7956
7957     #
7958     # configuring the object that corresponds to /quickTest/rfc2544throughput:1
7959     #
7960     if {$rfc2544TestType == "throughput"} {
7961         set sg_rfc2544throughput [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544throughput]
7962         ixNet setMultiAttrs $sg_rfc2544throughput \
7963          -name {QuickTest1} \
7964          -mode existingMode \
7965          -inputParameters {{}}
7966         ixNet setMultiAttrs $sg_rfc2544throughput/testConfig \
7967          -protocolItem {} \
7968          -enableMinFrameSize True \
7969          -framesize $frameSize \
7970          -reportTputRateUnit mbps \
7971          -duration $duration \
7972          -numtrials $numTests \
7973          -trafficType constantLoading \
7974          -burstSize 1 \
7975          -framesPerBurstGap 1 \
7976          -tolerance 0 \
7977          -frameLossUnit {0} \
7978          -staggeredStart False \
7979          -framesizeList $frameSize \
7980          -frameSizeMode custom \
7981          -rateSelect percentMaxRate \
7982          -percentMaxRate 100 \
7983          -resolution 0.01 \
7984          -forceRegenerate False \
7985          -reportSequenceError False \
7986          -ipv4rate 50 \
7987          -ipv6rate 50 \
7988          -loadRateList $frameRate \
7989          -fixedLoadUnit percentMaxRate \
7990          -loadRateValue 80 \
7991          -incrementLoadUnit percentMaxRate \
7992          -initialIncrementLoadRate 10 \
7993          -stepIncrementLoadRate 10 \
7994          -maxIncrementLoadRate 100 \
7995           -randomLoadUnit percentMaxRate \
7996          -minRandomLoadRate 10 \
7997          -maxRandomLoadRate 80 \
7998          -countRandomLoadRate 1 \
7999          -minFpsRate 1000 \
8000          -minKbpsRate 64 \
8001          -txDelay 2 \
8002          -delayAfterTransmit 2 \
8003          -minRandomFrameSize 64 \
8004          -maxRandomFrameSize 1518 \
8005          -countRandomFrameSize 1 \
8006          -minIncrementFrameSize 64 \
8007          -stepIncrementFrameSize 64 \
8008          -maxIncrementFrameSize 1518 \
8009          -calculateLatency True \
8010          -latencyType storeForward \
8011          -calculateJitter False \
8012          -enableDataIntegrity False \
8013          -enableBackoffIteration False \
8014          -enableSaturationIteration False \
8015          -enableStopTestOnHighLoss False \
8016          -enableBackoffUseAs% False \
8017          -backoffIteration 1 \
8018          -saturationIteration 1 \
8019          -stopTestOnHighLoss 0 \
8020          -loadType $loadType \
8021          -stepLoadUnit percentMaxRate \
8022          -customLoadUnit percentMaxRate \
8023          -comboLoadUnit percentMaxRate \
8024          -binaryLoadUnit percentMaxRate \
8025          -initialBinaryLoadRate 100 \
8026          -minBinaryLoadRate 1 \
8027          -maxBinaryLoadRate 100 \
8028          -binaryResolution 1 \
8029          -binaryBackoff 50 \
8030          -binaryTolerance $tolerance \
8031          -binaryFrameLossUnit % \
8032          -comboFrameLossUnit % \
8033          -stepFrameLossUnit % \
8034          -initialStepLoadRate 10 \
8035          -maxStepLoadRate 100 \
8036          -stepStepLoadRate 10 \
8037          -stepTolerance 0 \
8038          -initialComboLoadRate 10 \
8039          -maxComboLoadRate 100 \
8040          -minComboLoadRate 10 \
8041          -stepComboLoadRate 10 \
8042          -comboResolution 1 \
8043          -comboBackoff 50 \
8044          -comboTolerance 0 \
8045          -binarySearchType linear \
8046          -unchangedValueList {0} \
8047          -enableFastConvergence $fastConvergence \
8048          -fastConvergenceDuration $convergenceDuration \
8049          -fastConvergenceThreshold 10 \
8050          -framesizeFixedValue $frameSize \
8051          -gap 3 \
8052          -unchangedInitial False \
8053          -generateTrackingOptionAggregationFiles False \
8054          -enableExtraIterations False \
8055          -extraIterationOffsets {10, -10} \
8056          -usePercentOffsets False \
8057          -imixDistribution weight \
8058          -imixAdd {0} \
8059          -imixDelete {0} \
8060          -imixData {{{{64}{{TOS S:0 S:0 S:0 S:0 S:0} S:0}{1 40}}{{128}{{TOS S:0 S:0 S:0 S:0 S:0} S:0}{1 30}}{{256}{{TOS S:0 S:0 S:0 S:0 S:0} S:0}{1 30}}}} \
8061          -imixEnabled False \
8062          -imixTemplates none \
8063          -framesizeImixList $frameSize \
8064          -imixTrafficType {UNCHNAGED} \
8065          -mapType {oneToOne} \
8066          -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
8067         ixNet setMultiAttrs $sg_rfc2544throughput/learnFrames \
8068          -learnFrequency $learningFrequency \
8069          -learnNumFrames 10 \
8070          -learnRate 100 \
8071          -learnWaitTime 1000 \
8072          -learnFrameSize $frameSize \
8073          -fastPathLearnFrameSize $frameSize \
8074          -learnWaitTimeBeforeTransmit 0 \
8075          -learnSendMacOnly False \
8076          -learnSendRouterSolicitation False \
8077          -fastPathEnable $fastPathEnable \
8078          -fastPathRate 100 \
8079          -fastPathNumFrames 10
8080         ixNet setMultiAttrs $sg_rfc2544throughput/passCriteria \
8081          -passCriteriaLoadRateMode average \
8082          -passCriteriaLoadRateValue 100 \
8083          -passCriteriaLoadRateScale mbps \
8084          -enablePassFail False \
8085          -enableRatePassFail False \
8086          -enableLatencyPassFail False \
8087          -enableStandardDeviationPassFail False \
8088          -latencyThresholdValue 10 \
8089          -latencyThresholdScale us \
8090          -latencyThresholdMode average \
8091          -latencyVariationThresholdValue 0 \
8092          -latencyVariationThresholdScale us \
8093          -latencyVarThresholdMode average \
8094          -enableSequenceErrorsPassFail False \
8095          -seqErrorsThresholdValue 0 \
8096          -seqErrorsThresholdMode average \
8097          -enableDataIntegrityPassFail False \
8098          -dataErrorThresholdValue 0 \
8099          -dataErrorThresholdMode average
8100         sg_commit
8101         set sg_rfc2544throughput [lindex [ixNet remapIds $sg_rfc2544throughput] 0]
8102         set ixNetSG_Stack(1) $sg_rfc2544throughput
8103
8104         #
8105         # configuring the object that corresponds to /quickTest/rfc2544throughput:1/protocols
8106         #
8107         set sg_protocols $ixNetSG_Stack(1)/protocols
8108         ixNet setMultiAttrs $sg_protocols \
8109          -protocolState default \
8110          -waitAfterStart 120 \
8111          -waitAfterStop 30
8112         sg_commit
8113         set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
8114
8115         #
8116         # configuring the object that corresponds to /quickTest/rfc2544throughput:1/trafficSelection:1
8117         #
8118         set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
8119         ixNet setMultiAttrs $sg_trafficSelection \
8120          -id $ixNetSG_ref(26) \
8121          -includeMode inTest \
8122          -itemType trafficItem
8123         sg_commit
8124         set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
8125         ixNet commit
8126
8127     } elseif {$rfc2544TestType == "back2back"} {
8128         #
8129         # configuring the object that corresponds to /quickTest/rfc2544back2back:2
8130         #
8131         set sg_rfc2544back2back [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544back2back]
8132         ixNet setMultiAttrs $sg_rfc2544back2back \
8133          -name {B2B} \
8134          -mode existingMode \
8135          -inputParameters {{}}
8136         ixNet setMultiAttrs $sg_rfc2544back2back/testConfig \
8137          -protocolItem {} \
8138          -framesize $frameSize \
8139          -reportTputRateUnit mbps \
8140          -rfc2544ImixDataQoS False \
8141          -detailedResultsEnabled True \
8142          -rfc2889ordering noOrdering \
8143          -floodedFramesEnabled False \
8144          -duration $duration \
8145          -numtrials $numTests \
8146          -trafficType constantLoading \
8147          -burstSize 1 \
8148          -framesPerBurstGap 1 \
8149          -tolerance 0 \
8150          -frameLossUnit {0} \
8151          -staggeredStart False \
8152          -framesizeList $frameSize \
8153          -frameSizeMode custom \
8154          -rateSelect percentMaxRate \
8155          -percentMaxRate 100 \
8156          -resolution 0.01 \
8157          -forceRegenerate False \
8158          -reportSequenceError False \
8159          -ipv4rate 50 \
8160          -ipv6rate 50 \
8161          -loadRateList $frameRate \
8162          -minFpsRate 1000 \
8163          -minKbpsRate 64 \
8164          -txDelay 2 \
8165          -delayAfterTransmit 2 \
8166          -minRandomFrameSize 64 \
8167          -maxRandomFrameSize 1518 \
8168          -countRandomFrameSize 1 \
8169          -minIncrementFrameSize 64 \
8170          -stepIncrementFrameSize 64 \
8171          -maxIncrementFrameSize 1518 \
8172          -calculateLatency False \
8173          -calibrateLatency False \
8174          -latencyType cutThrough \
8175          -calculateJitter False \
8176          -enableDataIntegrity False \
8177          -loadType $loadType \
8178          -binaryFrameLossUnit % \
8179          -loadUnit percentMaxRate \
8180          -customLoadUnit percentMaxRate \
8181          -randomLoadUnit percentMaxRate \
8182          -incrementLoadUnit percentMaxRate \
8183          -binaryResolution 1000 \
8184          -binaryBackoff 50 \
8185          -binaryTolerance $tolerance \
8186          -initialIncrementLoadRate 100 \
8187          -stepIncrementLoadRate 10 \
8188          -maxIncrementLoadRate 100 \
8189          -minRandomLoadRate 10 \
8190          -maxRandomLoadRate 80 \
8191          -countRandomLoadRate 1 \
8192          -numFrames {100000} \
8193          -loadRate 100 \
8194          -enableMinFrameSize True \
8195          -gap 3 \
8196          -generateTrackingOptionAggregationFiles False \
8197          -sendFullyMeshed False \
8198          -imixDistribution weight \
8199          -imixAdd {0} \
8200          -imixDelete {0} \
8201          -imixData {{{{64}{{TOS S:0 S:0 S:0 S:0 S:0} S:0}{1 40}}{{128}{{TOS S:0 S:0 S:0 S:0 S:0} S:0}{1 30}}{{256}{{TOS S:0 S:0 S:0 S:0 S:0} S:0}{1 30}}}} \
8202          -imixEnabled False \
8203          -imixTemplates none \
8204          -framesizeImixList $frameSize \
8205          -imixTrafficType {UNCHNAGED} \
8206          -ipRatioMode fixed \
8207          -ipv4RatioList {10,25,50,75,90} \
8208          -ipv6RatioList {90,75,50,25,10} \
8209          -minIncrementIpv4Ratio {10} \
8210          -stepIncrementIpv4Ratio {10} \
8211          -maxIncrementIpv4Ratio {90} \
8212          -minIncrementIpv6Ratio {90} \
8213          -stepIncrementIpv6Ratio {-10} \
8214          -maxIncrementIpv6Ratio {10} \
8215          -minRandomIpv4Ratio {10} \
8216          -maxRandomIpv4Ratio {90} \
8217          -minRandomIpv6Ratio {90} \
8218          -maxRandomIpv6Ratio {10} \
8219          -countRandomIpRatio 1 \
8220          -mapType {oneToOne|manyToMany|fullMesh} \
8221          -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
8222         ixNet setMultiAttrs $sg_rfc2544back2back/learnFrames \
8223          -learnFrequency $learningFrequency \
8224          -learnNumFrames 10 \
8225          -learnRate 100 \
8226          -learnWaitTime 1000 \
8227          -learnFrameSize 64 \
8228          -fastPathLearnFrameSize 64 \
8229          -learnWaitTimeBeforeTransmit 0 \
8230          -learnSendMacOnly False \
8231          -learnSendRouterSolicitation False \
8232          -fastPathEnable $fastPathEnable \
8233          -fastPathRate 100 \
8234          -fastPathNumFrames 10
8235         ixNet setMultiAttrs $sg_rfc2544back2back/passCriteria \
8236          -passCriteriaLoadRateMode average \
8237          -passCriteriaLoadRateValue 100 \
8238          -passCriteriaLoadRateScale mbps \
8239          -enablePassFail False \
8240          -enableRatePassFail False \
8241          -enableLatencyPassFail False \
8242          -enableStandardDeviationPassFail False \
8243          -latencyThresholdValue 10 \
8244          -latencyThresholdScale us \
8245          -latencyThresholdMode average \
8246          -latencyVariationThresholdValue 0 \
8247          -latencyVariationThresholdScale us \
8248          -latencyVarThresholdMode average \
8249          -enableSequenceErrorsPassFail False \
8250          -seqErrorsThresholdValue 0 \
8251          -seqErrorsThresholdMode average \
8252          -enableDataIntegrityPassFail False \
8253          -dataErrorThresholdValue 0 \
8254          -dataErrorThresholdMode average \
8255          -enableFrameCountPassFail False \
8256          -passCriteriaFrameCountValue 100 \
8257          -passCriteriaFrameCountMode average
8258         sg_commit
8259         set sg_rfc2544back2back [lindex [ixNet remapIds $sg_rfc2544back2back] 0]
8260         set ixNetSG_Stack(1) $sg_rfc2544back2back
8261
8262         #
8263         # configuring the object that corresponds to /quickTest/rfc2544back2back:2/protocols
8264         #
8265         set sg_protocols $ixNetSG_Stack(1)/protocols
8266         ixNet setMultiAttrs $sg_protocols \
8267          -protocolState default \
8268          -waitAfterStart 120 \
8269          -waitAfterStop 30
8270         sg_commit
8271         set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
8272
8273         #
8274         # configuring the object that corresponds to /quickTest/rfc2544back2back:2/trafficSelection:1
8275         #
8276         set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
8277         ixNet setMultiAttrs $sg_trafficSelection \
8278          -id $ixNetSG_ref(26) \
8279          -includeMode inTest \
8280          -itemType trafficItem
8281         sg_commit
8282         set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
8283         ixNet commit
8284     }
8285     #
8286     # getting and applying the RFC2544 test
8287     #
8288     set root [ixNet getRoot]
8289     set qt [ixNet getList $root quickTest]
8290     if {$rfc2544TestType == "throughput"} {
8291         set rfc2544test [ixNet getList $qt rfc2544throughput]
8292     } elseif {$rfc2544TestType == "back2back"} {
8293         set rfc2544test [ixNet getList $qt rfc2544back2back]
8294     }
8295     ixNet exec apply $rfc2544test
8296     after 5000
8297
8298     #
8299     # starting the RFC2544 Throughput test
8300     #
8301     puts "Starting test..."
8302     ixNet exec start $rfc2544test
8303 }
8304
8305 proc waitForRfc2544Test { } {
8306     # Wait for- and return results of- RFC2544 quicktest.
8307
8308     global rfc2544test
8309
8310     puts "Waiting for test to complete..."
8311     set result [ixNet exec waitForTest $rfc2544test]
8312     puts "Finished Test"
8313
8314     return "$result"
8315 }