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