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