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