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