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