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