3 # Copyright (c) 2014, Ixia
4 # Copyright (c) 2015-2017, Intel Corporation
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
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.
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.
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.
35 # This file is a modified version of a script generated by Ixia
38 lappend auto_path [list $lib_path]
40 ###################################################################
41 ########################## Configuration ##########################
42 ###################################################################
44 # verify that the IXIA chassis spec is given
46 set reqVars [list "machine" "port" "user" "chassis" "card" "port1" "port2" "output_dir" "bidir"]
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?"
57 # machine configuration
59 set ::IxNserver $machine
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"
68 proc startRfc2544Test { testSpec trafficSpec } {
69 # Start RFC2544 quicktest.
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
75 global sg_rfc2544throughput
76 global sg_rfc2544back2back
78 # Suffix for stack names
79 # This variable should be incremented after setting sg_stack like:
80 # set sg_stack $ixNetSG_Stack(2)/stack:"protocolnamehere-$stack_number"
86 set rfc2544TestType [dict get $testSpec rfc2544TestType]
88 set binary [dict get $testSpec binary]
90 set duration [dict get $testSpec duration]
92 # check if only one tgen port is requested
93 if {($::port1 == $::port2)} {
98 set selfDestined False
101 # RFC2544 to IXIA terminology mapping (it affects Ixia configuration inside this script):
105 set numTests [dict get $testSpec tests]
107 set tolerance [dict get $testSpec lossrate]
111 set frameRate [dict get $testSpec framerate]
116 set learningFrames [dict get $testSpec learningFrames]
119 set L2Increment False
120 set L3ValueType singleValue
122 set L4ValueType singleValue
125 if {$learningFrames} {
126 set learningFrequency oncePerTest
127 set fastPathEnable True
129 set learningFrequency never
130 set fastPathEnable False
133 set multipleStreams [dict get $testSpec multipleStreams]
134 set streamType [dict get $testSpec streamType]
136 if {($multipleStreams < 0)} {
137 set multipleStreams 0
140 if {$multipleStreams} {
141 if {($streamType == "L2")} {
142 set L2CountValue $multipleStreams
144 } elseif {($streamType == "L3")} {
145 set L3ValueType increment
146 set L3CountValue $multipleStreams
148 set L4ValueType increment
149 set L4CountValue $multipleStreams
153 set flowControl [dict get $testSpec flowControl]
154 set fastConvergence True
155 set convergenceDuration [expr $duration/10]
159 # extract nested dictionaries
160 set trafficSpec_l2 [dict get $trafficSpec l2]
161 set trafficSpec_l3 [dict get $trafficSpec l3]
162 set trafficSpec_l4 [dict get $trafficSpec l4]
163 set trafficSpec_vlan [dict get $trafficSpec vlan]
165 set frameSize [dict get $trafficSpec_l2 framesize]
166 set srcMac [dict get $trafficSpec_l2 srcmac]
167 set dstMac [dict get $trafficSpec_l2 dstmac]
169 set proto [dict get $trafficSpec_l3 proto]
170 set srcIp [dict get $trafficSpec_l3 srcip]
171 set dstIp [dict get $trafficSpec_l3 dstip]
173 set srcPort [dict get $trafficSpec_l4 srcport]
174 set dstPort [dict get $trafficSpec_l4 dstport]
176 set l3Enabled [dict get $trafficSpec_l3 enabled]
177 set l4Enabled [dict get $trafficSpec_l4 enabled]
178 set vlanEnabled [dict get $trafficSpec_vlan enabled]
180 if {$vlanEnabled == 1 } {
181 # these keys won't exist if vlan wasn't enabled
182 set vlanId [dict get $trafficSpec_vlan id]
183 set vlanUserPrio [dict get $trafficSpec_vlan priority]
184 set vlanCfi [dict get $trafficSpec_vlan cfi]
191 if {$frameSize < 68 } {
192 if {$rfc2544TestType == "back2back"} {
193 puts "INFO: Packet size too small, packet size will be \
194 increased to 68 for this test"
199 set VERSION [package require IxTclNetwork]
201 ###################################################################
202 ############################ Operation ############################
203 ###################################################################
205 puts "Connecting to IxNetwork machine..."
207 ixNet connect $::IxNserver -port $::IxNport -version $VERSION
209 puts "Connected to IxNetwork machine"
211 puts "Configuring IxNetwork machine..."
214 proc sg_commit {} {ixNet commit}
217 ixNet setSessionParameter version 6.30.701.16
218 ixNet execute newConfig
219 set ixNetSG_Stack(0) [ixNet getRoot]
222 # setting global options
224 set sg_top [ixNet getRoot]
225 ixNet setMultiAttrs $sg_top/availableHardware \
228 ixNet setMultiAttrs $sg_top/globals/preferences \
229 -connectPortsOnLoadConfig True \
230 -rebootPortsOnConnect False
231 ixNet setMultiAttrs $sg_top/globals/interfaces \
234 -sendSingleArpPerGateway True \
235 -sendSingleNsPerGateway True
236 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/checksums \
237 -dropRxL2FcsErrors False \
238 -correctTxL2FcsErrors False \
239 -alwaysCorrectWhenModifying True \
240 -correctTxChecksumOverIp False \
241 -correctTxIpv4Checksum False
242 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/rxRateLimit \
245 -units {kKilobitsPerSecond}
246 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/drop \
250 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/reorder \
255 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/duplicate \
260 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/bitError \
265 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delay \
268 -units {kMicroseconds}
269 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delayVariation \
272 -units {kMicroseconds} \
273 -distribution {kUniform} \
274 -exponentialMeanArrival 0 \
275 -gaussianStandardDeviation 0
276 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/customDelayVariation \
279 ixNet setMultiAttrs $sg_top/statistics \
280 -additionalFcoeStat2 fcoeInvalidFrames \
281 -csvLogPollIntervalMultiplier 1 \
283 -guardrailEnabled True \
284 -enableCsvLogging False \
285 -dataStorePollingIntervalMultiplier 1 \
286 -maxNumberOfStatsPerCustomGraph 16 \
287 -additionalFcoeStat1 fcoeInvalidDelimiter \
288 -timestampPrecision 3 \
289 -enableDataCenterSharedStats False \
290 -timeSynchronization syncTimeToTestStart \
291 -enableAutoDataStore False
292 ixNet setMultiAttrs $sg_top/statistics/measurementMode \
293 -measurementMode mixedMode
294 ixNet setMultiAttrs $sg_top/eventScheduler \
295 -licenseServerLocation {127.0.0.1}
296 ixNet setMultiAttrs $sg_top/traffic \
297 -destMacRetryCount 1 \
298 -maxTrafficGenerationQueries 500 \
299 -enableStaggeredTransmit False \
300 -learningFrameSize $frameSize \
302 -enableDestMacRetry True \
303 -enableMulticastScalingFactor False \
304 -destMacRetryDelay 5 \
305 -largeErrorThreshhold 2 \
306 -refreshLearnedInfoBeforeApply False \
307 -enableMinFrameSize True \
308 -macChangeOnFly False \
310 -enableInstantaneousStatsSupport False \
311 -learningFramesCount 10 \
312 -globalStreamControl continuous \
313 -displayMplsCurrentLabelValue False \
314 -mplsLabelLearningTimeout 30 \
315 -enableStaggeredStartDelay True \
316 -enableDataIntegrityCheck False \
317 -enableSequenceChecking False \
318 -globalStreamControlIterations 1 \
319 -enableStreamOrdering False \
320 -frameOrderingMode none \
321 -learningFramesRate 100
322 ixNet setMultiAttrs $sg_top/traffic/statistics/latency \
325 ixNet setMultiAttrs $sg_top/traffic/statistics/interArrivalTimeRate \
327 ixNet setMultiAttrs $sg_top/traffic/statistics/delayVariation \
329 -statisticsMode rxDelayVariationErrorsAndRate \
330 -latencyMode storeForward \
331 -largeSequenceNumberErrorThreshold 2
332 ixNet setMultiAttrs $sg_top/traffic/statistics/sequenceChecking \
334 -sequenceMode rxThreshold
335 ixNet setMultiAttrs $sg_top/traffic/statistics/advancedSequenceChecking \
337 -advancedSequenceThreshold 1
338 ixNet setMultiAttrs $sg_top/traffic/statistics/cpdpConvergence \
340 -dataPlaneJitterWindow 10485760 \
341 -dataPlaneThreshold 95 \
342 -enableDataPlaneEventsRateMonitor False \
343 -enableControlPlaneEvents False
344 ixNet setMultiAttrs $sg_top/traffic/statistics/packetLossDuration \
346 ixNet setMultiAttrs $sg_top/traffic/statistics/dataIntegrity \
348 ixNet setMultiAttrs $sg_top/traffic/statistics/errorStats \
350 ixNet setMultiAttrs $sg_top/traffic/statistics/prbs \
352 ixNet setMultiAttrs $sg_top/traffic/statistics/iptv \
354 ixNet setMultiAttrs $sg_top/traffic/statistics/l1Rates \
356 ixNet setMultiAttrs $sg_top/quickTest/globals \
357 -productLabel {Your switch/router name here} \
358 -serialNumber {Your switch/router serial number here} \
359 -version {Your firmware version here} \
361 -titlePageComments {} \
362 -maxLinesToDisplay 100 \
363 -enableCheckLinkState False \
364 -enableAbortIfLinkDown False \
365 -enableSwitchToStats True \
366 -enableCapture False \
367 -enableSwitchToResult True \
368 -enableGenerateReportAfterRun False \
369 -enableRebootCpu False \
370 -saveCaptureBeforeRun False \
372 -sleepTimeAfterReboot 10 \
373 -useDefaultRootPath False \
374 -outputRootPath $::output_dir
376 set sg_top [lindex [ixNet remapIds $sg_top] 0]
377 set ixNetSG_Stack(0) $sg_top
384 # configuring the object that corresponds to /vport:1
386 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
387 ixNet setMultiAttrs $sg_vport \
388 -transmitIgnoreLinkStatus False \
389 -txGapControlMode averageMode \
391 -connectedTo ::ixNet::OBJ-null \
392 -txMode interleaved \
394 -rxMode captureAndMeasure \
395 -name {10GE LAN - 001}
396 ixNet setMultiAttrs $sg_vport/l1Config \
397 -currentType tenGigLan
398 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
400 -flowControlDirectedAddress "01 80 C2 00 00 01" \
402 -autoInstrumentation endOfFrame \
403 -transmitClocking internal \
404 -txIgnoreRxLinkFaults False \
406 -enableLASIMonitoring False \
407 -enabledFlowControl $flowControl
408 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
412 -vendorSpecificInformation {00 00 00 00} \
413 -macAddress "00:00:00:00:00:00" \
417 -enableTlvOption False \
419 -organizationUniqueIdentifier {000000}
420 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
421 -supportDataCenterMode False \
422 -priorityGroupSize priorityGroupSize-8 \
424 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
425 -flowControlType ieee802.1Qbb \
426 -enablePFCPauseDelay False
427 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
429 -flowControlDirectedAddress "01 80 C2 00 00 01" \
431 -autoInstrumentation endOfFrame \
432 -transmitClocking internal \
433 -txIgnoreRxLinkFaults False \
435 -enableLASIMonitoring False \
436 -enabledFlowControl $flowControl
437 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
438 -supportDataCenterMode False \
439 -priorityGroupSize priorityGroupSize-8 \
441 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
442 -flowControlType ieee802.1Qbb \
443 -enablePFCPauseDelay False
444 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
448 -vendorSpecificInformation {00 00 00 00} \
449 -macAddress "00:00:00:00:00:00" \
453 -enableTlvOption False \
455 -organizationUniqueIdentifier {000000}
456 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
457 -sourceAddress1Mask {00:00:00:00:00:00} \
458 -destinationAddress1Mask {00:00:00:00:00:00} \
459 -sourceAddress2 {00:00:00:00:00:00} \
460 -pattern2OffsetType fromStartOfFrame \
463 -sourceAddress2Mask {00:00:00:00:00:00} \
464 -destinationAddress2 {00:00:00:00:00:00} \
465 -destinationAddress1 {00:00:00:00:00:00} \
466 -sourceAddress1 {00:00:00:00:00:00} \
468 -destinationAddress2Mask {00:00:00:00:00:00} \
472 -pattern1OffsetType fromStartOfFrame
473 ixNet setMultiAttrs $sg_vport/protocols/arp \
475 ixNet setMultiAttrs $sg_vport/protocols/bfd \
478 -packetsPerInterval 0
479 ixNet setMultiAttrs $sg_vport/protocols/bgp \
480 -autoFillUpDutIp False \
481 -disableReceivedUpdateValidation False \
482 -enableAdVplsPrefixLengthInBits False \
483 -enableExternalActiveConnect True \
484 -enableInternalActiveConnect True \
485 -enableVpnLabelExchangeOverLsp True \
488 -externalRetryDelay 120 \
490 -internalRetryDelay 120 \
492 -triggerVplsPwInitiation False
493 ixNet setMultiAttrs $sg_vport/protocols/cfm \
494 -enableOptionalLmFunctionality False \
495 -enableOptionalTlvValidation True \
499 -suppressErrorsOnAis True
500 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
502 ixNet setMultiAttrs $sg_vport/protocols/elmi \
504 ixNet setMultiAttrs $sg_vport/protocols/igmp \
509 -sendLeaveOnStop True \
510 -statsEnabled False \
512 ixNet setMultiAttrs $sg_vport/protocols/isis \
513 -allL1RbridgesMac "01:80:c2:00:00:40" \
514 -emulationType isisL3Routing \
516 -helloMulticastMac "01:80:c2:00:00:41" \
517 -lspMgroupPdusPerInterval 0 \
519 -rateControlInterval 0 \
520 -sendP2PHellosToUnicastMac True \
521 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
522 -spbHelloMulticastMac "09:00:2b:00:00:05" \
524 ixNet setMultiAttrs $sg_vport/protocols/lacp \
525 -enablePreservePartnerInfo False \
527 ixNet setMultiAttrs $sg_vport/protocols/ldp \
528 -enableDiscardSelfAdvFecs False \
529 -enableHelloJitter True \
530 -enableVpnLabelExchangeOverLsp True \
534 -keepAliveHoldTime 30 \
535 -keepAliveInterval 10 \
536 -p2mpCapabilityParam 1288 \
538 -targetedHelloInterval 15 \
539 -targetedHoldTime 45 \
540 -useTransportLabelsForMplsOam False
541 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
543 ixNet setMultiAttrs $sg_vport/protocols/lisp \
544 -burstIntervalInMs 0 \
546 -ipv4MapRegisterPacketsPerBurst 0 \
547 -ipv4MapRequestPacketsPerBurst 0 \
548 -ipv4SmrPacketsPerBurst 0 \
549 -ipv6MapRegisterPacketsPerBurst 0 \
550 -ipv6MapRequestPacketsPerBurst 0 \
551 -ipv6SmrPacketsPerBurst 0
552 ixNet setMultiAttrs $sg_vport/protocols/mld \
553 -enableDoneOnStop True \
555 -mldv2Report type143 \
560 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
562 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
563 -apsChannelType {00 02 } \
564 -bfdCcChannelType {00 07 } \
565 -delayManagementChannelType {00 05 } \
566 -enableHighPerformanceMode True \
568 -faultManagementChannelType {00 58 } \
569 -lossMeasurementChannelType {00 04 } \
570 -onDemandCvChannelType {00 09 } \
571 -pwStatusChannelType {00 0B } \
572 -y1731ChannelType {7F FA }
573 ixNet setMultiAttrs $sg_vport/protocols/ospf \
574 -enableDrOrBdr False \
576 -floodLinkStateUpdatesPerInterval 0 \
577 -rateControlInterval 0
578 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
580 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
581 -bsmFramePerInterval 0 \
582 -crpFramePerInterval 0 \
583 -dataMdtFramePerInterval 0 \
584 -denyGrePimIpPrefix {0.0.0.0/32} \
585 -enableDiscardJoinPruneProcessing False \
586 -enableRateControl False \
588 -helloMsgsPerInterval 0 \
590 -joinPruneMessagesPerInterval 0 \
591 -registerMessagesPerInterval 0 \
592 -registerStopMessagesPerInterval 0
593 ixNet setMultiAttrs $sg_vport/protocols/ping \
595 ixNet setMultiAttrs $sg_vport/protocols/rip \
597 ixNet setMultiAttrs $sg_vport/protocols/ripng \
599 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
600 -enableControlLspInitiationRate False \
601 -enableShowTimeValue False \
602 -enableVpnLabelExchangeOverLsp True \
604 -maxLspInitiationsPerSec 400 \
605 -useTransportLabelsForMplsOam False
606 ixNet setMultiAttrs $sg_vport/protocols/stp \
608 ixNet setMultiAttrs $sg_vport/rateControlParameters \
609 -maxRequestsPerBurst 1 \
610 -maxRequestsPerSec 250 \
611 -minRetryInterval 10 \
613 -sendInBursts False \
614 -sendRequestsAsFastAsPossible False
615 ixNet setMultiAttrs $sg_vport/capture \
616 -controlCaptureTrigger {} \
617 -controlCaptureFilter {} \
618 -hardwareEnabled False \
619 -softwareEnabled False \
620 -displayFiltersDataCapture {} \
621 -displayFiltersControlCapture {} \
622 -controlBufferSize 30 \
623 -controlBufferBehaviour bufferLiveNonCircular
624 ixNet setMultiAttrs $sg_vport/protocolStack/options \
625 -routerSolicitationDelay 1 \
626 -routerSolicitationInterval 4 \
627 -routerSolicitations 3 \
631 -ipv4RetransTime 3000 \
634 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
635 set ixNetSG_ref(2) $sg_vport
636 set ixNetSG_Stack(1) $sg_vport
639 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:1
641 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
642 ixNet setMultiAttrs $sg_uds \
643 -destinationAddressSelector anyAddr \
644 -customFrameSizeTo 0 \
645 -customFrameSizeFrom 0 \
647 -patternSelector anyPattern \
648 -sourceAddressSelector anyAddr \
652 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
655 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:2
657 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
658 ixNet setMultiAttrs $sg_uds \
659 -destinationAddressSelector anyAddr \
660 -customFrameSizeTo 0 \
661 -customFrameSizeFrom 0 \
663 -patternSelector anyPattern \
664 -sourceAddressSelector anyAddr \
668 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
671 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:3
673 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
674 ixNet setMultiAttrs $sg_uds \
675 -destinationAddressSelector anyAddr \
676 -customFrameSizeTo 0 \
677 -customFrameSizeFrom 0 \
679 -patternSelector anyPattern \
680 -sourceAddressSelector anyAddr \
684 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
687 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:4
689 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
690 ixNet setMultiAttrs $sg_uds \
691 -destinationAddressSelector anyAddr \
692 -customFrameSizeTo 0 \
693 -customFrameSizeFrom 0 \
695 -patternSelector anyPattern \
696 -sourceAddressSelector anyAddr \
700 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
703 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:5
705 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
706 ixNet setMultiAttrs $sg_uds \
707 -destinationAddressSelector anyAddr \
708 -customFrameSizeTo 0 \
709 -customFrameSizeFrom 0 \
711 -patternSelector anyPattern \
712 -sourceAddressSelector anyAddr \
716 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
719 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:6
721 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
722 ixNet setMultiAttrs $sg_uds \
723 -destinationAddressSelector anyAddr \
724 -customFrameSizeTo 0 \
725 -customFrameSizeFrom 0 \
727 -patternSelector anyPattern \
728 -sourceAddressSelector anyAddr \
732 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
735 # configuring the object that corresponds to /vport:1/protocols/static/lan:1
737 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
738 ixNet setMultiAttrs $sg_lan \
739 -atmEncapsulation ::ixNet::OBJ-null \
740 -count $L2CountValue \
742 -enableIncrementMac $L2Increment \
743 -enableIncrementVlan False \
744 -enableSiteId False \
747 -frEncapsulation ::ixNet::OBJ-null \
748 -incrementPerVcVlanMode noIncrement \
749 -incrementVlanMode noIncrement \
751 -macRangeMode normal \
754 -skipVlanIdZero True \
756 -trafficGroupId ::ixNet::OBJ-null \
761 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
765 # configuring the object that corresponds to /vport:2
767 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
768 ixNet setMultiAttrs $sg_vport \
769 -transmitIgnoreLinkStatus False \
770 -txGapControlMode averageMode \
772 -connectedTo ::ixNet::OBJ-null \
773 -txMode interleaved \
775 -rxMode captureAndMeasure \
776 -name {10GE LAN - 002}
777 ixNet setMultiAttrs $sg_vport/l1Config \
778 -currentType tenGigLan
779 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
781 -flowControlDirectedAddress "01 80 C2 00 00 01" \
783 -autoInstrumentation endOfFrame \
784 -transmitClocking internal \
785 -txIgnoreRxLinkFaults False \
787 -enableLASIMonitoring False \
788 -enabledFlowControl $flowControl
789 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
793 -vendorSpecificInformation {00 00 00 00} \
794 -macAddress "00:00:00:00:00:00" \
798 -enableTlvOption False \
800 -organizationUniqueIdentifier {000000}
801 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
802 -supportDataCenterMode False \
803 -priorityGroupSize priorityGroupSize-8 \
805 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
806 -flowControlType ieee802.1Qbb \
807 -enablePFCPauseDelay False
808 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
810 -flowControlDirectedAddress "01 80 C2 00 00 01" \
812 -autoInstrumentation endOfFrame \
813 -transmitClocking internal \
814 -txIgnoreRxLinkFaults False \
816 -enableLASIMonitoring False \
817 -enabledFlowControl $flowControl
818 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
819 -supportDataCenterMode False \
820 -priorityGroupSize priorityGroupSize-8 \
822 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
823 -flowControlType ieee802.1Qbb \
824 -enablePFCPauseDelay False
825 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
829 -vendorSpecificInformation {00 00 00 00} \
830 -macAddress "00:00:00:00:00:00" \
834 -enableTlvOption False \
836 -organizationUniqueIdentifier {000000}
837 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
838 -sourceAddress1Mask {00:00:00:00:00:00} \
839 -destinationAddress1Mask {00:00:00:00:00:00} \
840 -sourceAddress2 {00:00:00:00:00:00} \
841 -pattern2OffsetType fromStartOfFrame \
844 -sourceAddress2Mask {00:00:00:00:00:00} \
845 -destinationAddress2 {00:00:00:00:00:00} \
846 -destinationAddress1 {00:00:00:00:00:00} \
847 -sourceAddress1 {00:00:00:00:00:00} \
849 -destinationAddress2Mask {00:00:00:00:00:00} \
853 -pattern1OffsetType fromStartOfFrame
854 ixNet setMultiAttrs $sg_vport/protocols/arp \
856 ixNet setMultiAttrs $sg_vport/protocols/bfd \
859 -packetsPerInterval 0
860 ixNet setMultiAttrs $sg_vport/protocols/bgp \
861 -autoFillUpDutIp False \
862 -disableReceivedUpdateValidation False \
863 -enableAdVplsPrefixLengthInBits False \
864 -enableExternalActiveConnect True \
865 -enableInternalActiveConnect True \
866 -enableVpnLabelExchangeOverLsp True \
869 -externalRetryDelay 120 \
871 -internalRetryDelay 120 \
873 -triggerVplsPwInitiation False
874 ixNet setMultiAttrs $sg_vport/protocols/cfm \
875 -enableOptionalLmFunctionality False \
876 -enableOptionalTlvValidation True \
880 -suppressErrorsOnAis True
881 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
883 ixNet setMultiAttrs $sg_vport/protocols/elmi \
885 ixNet setMultiAttrs $sg_vport/protocols/igmp \
890 -sendLeaveOnStop True \
891 -statsEnabled False \
893 ixNet setMultiAttrs $sg_vport/protocols/isis \
894 -allL1RbridgesMac "01:80:c2:00:00:40" \
895 -emulationType isisL3Routing \
897 -helloMulticastMac "01:80:c2:00:00:41" \
898 -lspMgroupPdusPerInterval 0 \
900 -rateControlInterval 0 \
901 -sendP2PHellosToUnicastMac True \
902 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
903 -spbHelloMulticastMac "09:00:2b:00:00:05" \
905 ixNet setMultiAttrs $sg_vport/protocols/lacp \
906 -enablePreservePartnerInfo False \
908 ixNet setMultiAttrs $sg_vport/protocols/ldp \
909 -enableDiscardSelfAdvFecs False \
910 -enableHelloJitter True \
911 -enableVpnLabelExchangeOverLsp True \
915 -keepAliveHoldTime 30 \
916 -keepAliveInterval 10 \
917 -p2mpCapabilityParam 1288 \
919 -targetedHelloInterval 15 \
920 -targetedHoldTime 45 \
921 -useTransportLabelsForMplsOam False
922 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
924 ixNet setMultiAttrs $sg_vport/protocols/lisp \
925 -burstIntervalInMs 0 \
927 -ipv4MapRegisterPacketsPerBurst 0 \
928 -ipv4MapRequestPacketsPerBurst 0 \
929 -ipv4SmrPacketsPerBurst 0 \
930 -ipv6MapRegisterPacketsPerBurst 0 \
931 -ipv6MapRequestPacketsPerBurst 0 \
932 -ipv6SmrPacketsPerBurst 0
933 ixNet setMultiAttrs $sg_vport/protocols/mld \
934 -enableDoneOnStop True \
936 -mldv2Report type143 \
941 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
943 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
944 -apsChannelType {00 02 } \
945 -bfdCcChannelType {00 07 } \
946 -delayManagementChannelType {00 05 } \
947 -enableHighPerformanceMode True \
949 -faultManagementChannelType {00 58 } \
950 -lossMeasurementChannelType {00 04 } \
951 -onDemandCvChannelType {00 09 } \
952 -pwStatusChannelType {00 0B } \
953 -y1731ChannelType {7F FA }
954 ixNet setMultiAttrs $sg_vport/protocols/ospf \
955 -enableDrOrBdr False \
957 -floodLinkStateUpdatesPerInterval 0 \
958 -rateControlInterval 0
959 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
961 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
962 -bsmFramePerInterval 0 \
963 -crpFramePerInterval 0 \
964 -dataMdtFramePerInterval 0 \
965 -denyGrePimIpPrefix {0.0.0.0/32} \
966 -enableDiscardJoinPruneProcessing False \
967 -enableRateControl False \
969 -helloMsgsPerInterval 0 \
971 -joinPruneMessagesPerInterval 0 \
972 -registerMessagesPerInterval 0 \
973 -registerStopMessagesPerInterval 0
974 ixNet setMultiAttrs $sg_vport/protocols/ping \
976 ixNet setMultiAttrs $sg_vport/protocols/rip \
978 ixNet setMultiAttrs $sg_vport/protocols/ripng \
980 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
981 -enableControlLspInitiationRate False \
982 -enableShowTimeValue False \
983 -enableVpnLabelExchangeOverLsp True \
985 -maxLspInitiationsPerSec 400 \
986 -useTransportLabelsForMplsOam False
987 ixNet setMultiAttrs $sg_vport/protocols/stp \
989 ixNet setMultiAttrs $sg_vport/rateControlParameters \
990 -maxRequestsPerBurst 1 \
991 -maxRequestsPerSec 250 \
992 -minRetryInterval 10 \
994 -sendInBursts False \
995 -sendRequestsAsFastAsPossible False
996 ixNet setMultiAttrs $sg_vport/capture \
997 -controlCaptureTrigger {} \
998 -controlCaptureFilter {} \
999 -hardwareEnabled False \
1000 -softwareEnabled False \
1001 -displayFiltersDataCapture {} \
1002 -displayFiltersControlCapture {} \
1003 -controlBufferSize 30 \
1004 -controlBufferBehaviour bufferLiveNonCircular
1005 ixNet setMultiAttrs $sg_vport/protocolStack/options \
1006 -routerSolicitationDelay 1 \
1007 -routerSolicitationInterval 4 \
1008 -routerSolicitations 3 \
1012 -ipv4RetransTime 3000 \
1015 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
1016 set ixNetSG_ref(10) $sg_vport
1017 set ixNetSG_Stack(1) $sg_vport
1020 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:1
1022 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
1023 ixNet setMultiAttrs $sg_uds \
1024 -destinationAddressSelector anyAddr \
1025 -customFrameSizeTo 0 \
1026 -customFrameSizeFrom 0 \
1027 -error errAnyFrame \
1028 -patternSelector anyPattern \
1029 -sourceAddressSelector anyAddr \
1033 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1036 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:2
1038 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
1039 ixNet setMultiAttrs $sg_uds \
1040 -destinationAddressSelector anyAddr \
1041 -customFrameSizeTo 0 \
1042 -customFrameSizeFrom 0 \
1043 -error errAnyFrame \
1044 -patternSelector anyPattern \
1045 -sourceAddressSelector anyAddr \
1049 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1052 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:3
1054 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
1055 ixNet setMultiAttrs $sg_uds \
1056 -destinationAddressSelector anyAddr \
1057 -customFrameSizeTo 0 \
1058 -customFrameSizeFrom 0 \
1059 -error errAnyFrame \
1060 -patternSelector anyPattern \
1061 -sourceAddressSelector anyAddr \
1065 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1068 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:4
1070 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
1071 ixNet setMultiAttrs $sg_uds \
1072 -destinationAddressSelector anyAddr \
1073 -customFrameSizeTo 0 \
1074 -customFrameSizeFrom 0 \
1075 -error errAnyFrame \
1076 -patternSelector anyPattern \
1077 -sourceAddressSelector anyAddr \
1081 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1084 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:5
1086 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
1087 ixNet setMultiAttrs $sg_uds \
1088 -destinationAddressSelector anyAddr \
1089 -customFrameSizeTo 0 \
1090 -customFrameSizeFrom 0 \
1091 -error errAnyFrame \
1092 -patternSelector anyPattern \
1093 -sourceAddressSelector anyAddr \
1097 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1100 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:6
1102 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
1103 ixNet setMultiAttrs $sg_uds \
1104 -destinationAddressSelector anyAddr \
1105 -customFrameSizeTo 0 \
1106 -customFrameSizeFrom 0 \
1107 -error errAnyFrame \
1108 -patternSelector anyPattern \
1109 -sourceAddressSelector anyAddr \
1113 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1116 # configuring the object that corresponds to /vport:2/protocols/static/lan:1
1118 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
1119 ixNet setMultiAttrs $sg_lan \
1120 -atmEncapsulation ::ixNet::OBJ-null \
1121 -count $L2CountValue \
1123 -enableIncrementMac $L2Increment \
1124 -enableIncrementVlan False \
1125 -enableSiteId False \
1128 -frEncapsulation ::ixNet::OBJ-null \
1129 -incrementPerVcVlanMode noIncrement \
1130 -incrementVlanMode noIncrement \
1132 -macRangeMode normal \
1135 -skipVlanIdZero True \
1137 -trafficGroupId ::ixNet::OBJ-null \
1142 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
1146 ### /availableHardware area
1150 # configuring the object that corresponds to /availableHardware/chassis"
1152 set sg_chassis [ixNet add $ixNetSG_Stack(0)/availableHardware chassis]
1153 ixNet setMultiAttrs $sg_chassis \
1157 -hostname $::chassis
1159 set sg_chassis [lindex [ixNet remapIds $sg_chassis] 0]
1160 set ixNetSG_Stack(1) $sg_chassis
1163 # configuring the object that corresponds to /availableHardware/chassis/card
1165 set sg_card $ixNetSG_Stack(1)/card:$::card
1166 ixNet setMultiAttrs $sg_card \
1167 -aggregationMode normal
1169 set sg_card [lindex [ixNet remapIds $sg_card] 0]
1170 set ixNetSG_ref(19) $sg_card
1171 set ixNetSG_Stack(2) $sg_card
1174 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:1
1176 set sg_aggregation $ixNetSG_Stack(2)/aggregation:1
1177 ixNet setMultiAttrs $sg_aggregation \
1180 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1183 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:2
1185 set sg_aggregation $ixNetSG_Stack(2)/aggregation:2
1186 ixNet setMultiAttrs $sg_aggregation \
1189 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1192 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:3
1194 set sg_aggregation $ixNetSG_Stack(2)/aggregation:3
1195 ixNet setMultiAttrs $sg_aggregation \
1198 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1201 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:4
1203 set sg_aggregation $ixNetSG_Stack(2)/aggregation:4
1204 ixNet setMultiAttrs $sg_aggregation \
1207 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1208 ixNet setMultiAttrs $ixNetSG_ref(2) \
1209 -connectedTo $ixNetSG_ref(19)/port:$::port1
1212 ixNet setMultiAttrs $ixNetSG_ref(10) \
1213 -connectedTo $ixNetSG_ref(19)/port:$::port2
1219 ### /impairment area
1223 # configuring the object that corresponds to /impairment/profile:3
1225 set sg_profile [ixNet add $ixNetSG_Stack(0)/impairment profile]
1226 ixNet setMultiAttrs $sg_profile \
1228 -name {Impairment Profile 1} \
1232 ixNet setMultiAttrs $sg_profile/checksums \
1233 -dropRxL2FcsErrors False \
1234 -correctTxL2FcsErrors False \
1235 -alwaysCorrectWhenModifying True \
1236 -correctTxChecksumOverIp False \
1237 -correctTxIpv4Checksum False
1238 ixNet setMultiAttrs $sg_profile/rxRateLimit \
1241 -units {kKilobitsPerSecond}
1242 ixNet setMultiAttrs $sg_profile/drop \
1246 ixNet setMultiAttrs $sg_profile/reorder \
1251 ixNet setMultiAttrs $sg_profile/duplicate \
1256 ixNet setMultiAttrs $sg_profile/bitError \
1261 ixNet setMultiAttrs $sg_profile/delay \
1264 -units {kMicroseconds}
1265 ixNet setMultiAttrs $sg_profile/delayVariation \
1268 -units {kMicroseconds} \
1269 -distribution {kUniform} \
1270 -exponentialMeanArrival 0 \
1271 -gaussianStandardDeviation 0
1272 ixNet setMultiAttrs $sg_profile/customDelayVariation \
1276 set sg_profile [lindex [ixNet remapIds $sg_profile] 0]
1277 set ixNetSG_Stack(1) $sg_profile
1280 # configuring the object that corresponds to /impairment/profile:3/fixedClassifier:1
1282 set sg_fixedClassifier [ixNet add $ixNetSG_Stack(1) fixedClassifier]
1284 set sg_fixedClassifier [lindex [ixNet remapIds $sg_fixedClassifier] 0]
1291 # configuring the object that corresponds to /traffic/trafficItem:1
1293 set sg_trafficItem [ixNet add $ixNetSG_Stack(0)/traffic trafficItem]
1294 ixNet setMultiAttrs $sg_trafficItem \
1295 -transportRsvpTePreference one \
1296 -trafficItemType l2L3 \
1297 -biDirectional $::biDirect \
1298 -mergeDestinations True \
1299 -hostsPerNetwork 1 \
1300 -transmitMode interleaved \
1302 -trafficType {ethernetVlan} \
1303 -interAsLdpPreference two \
1304 -allowSelfDestined $selfDestined \
1306 -maxNumberOfVpnLabelStack 2 \
1307 -interAsBgpPreference one \
1309 -transportLdpPreference two \
1310 -egressEnabled False \
1311 -enableDynamicMplsLabelValues False \
1312 -routeMesh oneToOne \
1313 -name {Traffic Item 1} \
1314 -srcDestMesh oneToOne
1316 set sg_trafficItem [lindex [ixNet remapIds $sg_trafficItem] 0]
1317 set ixNetSG_ref(26) $sg_trafficItem
1318 set ixNetSG_Stack(1) $sg_trafficItem
1321 # configuring the object that corresponds to /traffic/trafficItem:1/endpointSet:1
1323 set sg_endpointSet [ixNet add $ixNetSG_Stack(1) endpointSet]
1325 ixNet setMultiAttrs $sg_endpointSet \
1326 -destinations [list $ixNetSG_ref(10)/protocols] \
1327 -destinationFilter {} \
1330 -sources [list $ixNetSG_ref(2)/protocols] \
1331 -name {EndpointSet-1}
1333 ixNet setMultiAttrs $sg_endpointSet \
1334 -destinations [list $ixNetSG_ref(2)/protocols] \
1335 -destinationFilter {} \
1338 -sources [list $ixNetSG_ref(2)/protocols] \
1339 -name {EndpointSet-1}
1342 set sg_endpointSet [lindex [ixNet remapIds $sg_endpointSet] 0]
1345 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1
1347 set sg_configElement $ixNetSG_Stack(1)/configElement:1
1348 ixNet setMultiAttrs $sg_configElement \
1350 -preambleCustomSize 8 \
1351 -enableDisparityError False \
1352 -preambleFrameSizeMode auto \
1353 -destinationMacMode manual
1354 ixNet setMultiAttrs $sg_configElement/frameSize \
1362 -presetDistribution cisco \
1365 ixNet setMultiAttrs $sg_configElement/frameRate \
1366 -bitRateUnitsType bitsPerSec \
1368 -enforceMinimumInterPacketGap 0 \
1369 -type percentLineRate \
1370 -interPacketGapUnitsType nanoseconds
1371 ixNet setMultiAttrs $sg_configElement/framePayload \
1372 -type incrementByte \
1373 -customRepeat True \
1375 ixNet setMultiAttrs $sg_configElement/frameRateDistribution \
1376 -streamDistribution applyRateToAll \
1377 -portDistribution applyRateToAll
1378 ixNet setMultiAttrs $sg_configElement/transmissionControl \
1383 -interBurstGapUnits nanoseconds \
1387 -enableInterStreamGap False \
1388 -startDelayUnits bytes \
1390 -burstPacketCount 1 \
1391 -enableInterBurstGap False \
1394 set sg_configElement [lindex [ixNet remapIds $sg_configElement] 0]
1395 set ixNetSG_Stack(2) $sg_configElement
1398 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"
1400 set sg_stack $ixNetSG_Stack(2)/stack:"ethernet-$stack_number"
1402 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1403 set ixNetSG_Stack(3) $sg_stack
1407 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
1409 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
1410 ixNet setMultiAttrs $sg_field \
1411 -singleValue $dstMac \
1413 -optionalEnabled True \
1415 -valueList {{00:00:00:00:00:00}} \
1416 -stepValue {00:00:00:00:00:01} \
1417 -fixedBits {00:00:00:00:00:00} \
1418 -fieldValue $dstMac \
1420 -randomMask {00:00:00:00:00:00} \
1421 -trackingEnabled False \
1422 -valueType singleValue \
1423 -activeFieldChoice False \
1424 -startValue $dstMac \
1427 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1430 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
1432 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
1433 ixNet setMultiAttrs $sg_field \
1434 -singleValue $srcMac \
1436 -optionalEnabled True \
1438 -valueList {{00:00:00:00:00:00}} \
1439 -stepValue {00:00:00:00:00:00} \
1440 -fixedBits {00:00:00:00:00:00} \
1441 -fieldValue $srcMac \
1443 -randomMask {00:00:00:00:00:00} \
1444 -trackingEnabled False \
1445 -valueType singleValue \
1446 -activeFieldChoice False \
1447 -startValue $srcMac \
1450 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1453 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
1455 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
1456 ixNet setMultiAttrs $sg_field \
1457 -singleValue {800} \
1459 -optionalEnabled True \
1461 -valueList {{0xFFFF}} \
1462 -stepValue {0xFFFF} \
1463 -fixedBits {0xFFFF} \
1466 -randomMask {0xFFFF} \
1467 -trackingEnabled False \
1468 -valueType singleValue \
1469 -activeFieldChoice False \
1470 -startValue {0xFFFF} \
1473 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1476 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
1478 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
1479 ixNet setMultiAttrs $sg_field \
1482 -optionalEnabled True \
1490 -trackingEnabled False \
1491 -valueType singleValue \
1492 -activeFieldChoice False \
1496 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1498 if {$vlanEnabled == 1 } {
1499 set sg_stack $ixNetSG_Stack(2)/stack:"vlan-$stack_number"
1501 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1502 set ixNetSG_Stack(3) $sg_stack
1505 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanUserPriority-1"
1506 ixNet setMultiAttrs $sg_field \
1507 -singleValue $vlanUserPrio \
1509 -optionalEnabled true \
1511 -valueList [list 0] \
1514 -fieldValue $vlanUserPrio \
1517 -trackingEnabled false \
1518 -valueType singleValue \
1519 -activeFieldChoice false \
1523 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.cfi-2"
1524 ixNet setMultiAttrs $sg_field \
1525 -singleValue $vlanCfi \
1527 -optionalEnabled true \
1529 -valueList [list 0] \
1532 -fieldValue $vlanCfi \
1535 -trackingEnabled false \
1536 -valueType singleValue \
1537 -activeFieldChoice false \
1541 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanID-3"
1542 ixNet setMultiAttrs $sg_field \
1543 -singleValue $vlanId \
1545 -optionalEnabled true \
1547 -valueList [list 0] \
1550 -fieldValue $vlanId \
1553 -trackingEnabled false \
1554 -valueType singleValue \
1555 -activeFieldChoice false \
1559 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.protocolID-4"
1560 ixNet setMultiAttrs $sg_field \
1563 -optionalEnabled true \
1565 -valueList [list 0xffff] \
1570 -randomMask 0xffff \
1571 -trackingEnabled false \
1572 -valueType singleValue \
1573 -activeFieldChoice false \
1574 -startValue 0xffff \
1578 if {$l3Enabled == 1 } {
1580 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"
1582 set sg_stack $ixNetSG_Stack(2)/stack:"ipv4-$stack_number"
1584 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1585 set ixNetSG_Stack(3) $sg_stack
1589 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.version-1"
1591 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
1592 ixNet setMultiAttrs $sg_field \
1595 -optionalEnabled True \
1603 -trackingEnabled False \
1604 -valueType singleValue \
1605 -activeFieldChoice False \
1609 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1612 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
1614 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
1615 ixNet setMultiAttrs $sg_field \
1618 -optionalEnabled True \
1626 -trackingEnabled False \
1627 -valueType singleValue \
1628 -activeFieldChoice False \
1632 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1635 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
1637 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
1638 ixNet setMultiAttrs $sg_field \
1641 -optionalEnabled True \
1649 -trackingEnabled False \
1650 -valueType singleValue \
1651 -activeFieldChoice False \
1655 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1658 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
1660 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
1661 ixNet setMultiAttrs $sg_field \
1664 -optionalEnabled True \
1669 -fieldValue {000 Routine} \
1672 -trackingEnabled False \
1673 -valueType singleValue \
1674 -activeFieldChoice True \
1678 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1681 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
1683 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
1684 ixNet setMultiAttrs $sg_field \
1687 -optionalEnabled True \
1692 -fieldValue {Normal} \
1695 -trackingEnabled False \
1696 -valueType singleValue \
1697 -activeFieldChoice True \
1701 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1704 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
1706 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
1707 ixNet setMultiAttrs $sg_field \
1710 -optionalEnabled True \
1715 -fieldValue {Normal} \
1718 -trackingEnabled False \
1719 -valueType singleValue \
1720 -activeFieldChoice True \
1724 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1727 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
1729 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
1730 ixNet setMultiAttrs $sg_field \
1733 -optionalEnabled True \
1738 -fieldValue {Normal} \
1741 -trackingEnabled False \
1742 -valueType singleValue \
1743 -activeFieldChoice True \
1747 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1750 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
1752 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
1753 ixNet setMultiAttrs $sg_field \
1756 -optionalEnabled True \
1761 -fieldValue {Normal} \
1764 -trackingEnabled False \
1765 -valueType singleValue \
1766 -activeFieldChoice True \
1770 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1773 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
1775 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
1776 ixNet setMultiAttrs $sg_field \
1779 -optionalEnabled True \
1787 -trackingEnabled False \
1788 -valueType singleValue \
1789 -activeFieldChoice True \
1793 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1796 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1798 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1799 ixNet setMultiAttrs $sg_field \
1802 -optionalEnabled True \
1810 -trackingEnabled False \
1811 -valueType singleValue \
1812 -activeFieldChoice False \
1816 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1819 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1821 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1822 ixNet setMultiAttrs $sg_field \
1825 -optionalEnabled True \
1833 -trackingEnabled False \
1834 -valueType singleValue \
1835 -activeFieldChoice False \
1839 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1842 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1844 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1845 ixNet setMultiAttrs $sg_field \
1848 -optionalEnabled True \
1853 -fieldValue {Precedence 1} \
1856 -trackingEnabled False \
1857 -valueType singleValue \
1858 -activeFieldChoice False \
1862 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1865 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1867 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1868 ixNet setMultiAttrs $sg_field \
1871 -optionalEnabled True \
1879 -trackingEnabled False \
1880 -valueType singleValue \
1881 -activeFieldChoice False \
1885 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1888 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1890 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1891 ixNet setMultiAttrs $sg_field \
1894 -optionalEnabled True \
1899 -fieldValue {Class 1, Low drop precedence} \
1902 -trackingEnabled False \
1903 -valueType singleValue \
1904 -activeFieldChoice False \
1908 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1911 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1913 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1914 ixNet setMultiAttrs $sg_field \
1917 -optionalEnabled True \
1925 -trackingEnabled False \
1926 -valueType singleValue \
1927 -activeFieldChoice False \
1931 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1934 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1936 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1937 ixNet setMultiAttrs $sg_field \
1940 -optionalEnabled True \
1948 -trackingEnabled False \
1949 -valueType singleValue \
1950 -activeFieldChoice False \
1954 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1957 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1959 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1960 ixNet setMultiAttrs $sg_field \
1963 -optionalEnabled True \
1971 -trackingEnabled False \
1972 -valueType singleValue \
1973 -activeFieldChoice False \
1977 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1980 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
1982 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
1983 ixNet setMultiAttrs $sg_field \
1986 -optionalEnabled True \
1994 -trackingEnabled False \
1995 -valueType singleValue \
1996 -activeFieldChoice False \
2000 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2003 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.identification-19"
2005 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
2006 ixNet setMultiAttrs $sg_field \
2009 -optionalEnabled True \
2017 -trackingEnabled False \
2018 -valueType singleValue \
2019 -activeFieldChoice False \
2023 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2026 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
2028 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
2029 ixNet setMultiAttrs $sg_field \
2032 -optionalEnabled True \
2040 -trackingEnabled False \
2041 -valueType singleValue \
2042 -activeFieldChoice False \
2046 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2049 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
2051 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
2052 ixNet setMultiAttrs $sg_field \
2055 -optionalEnabled True \
2060 -fieldValue {May fragment} \
2063 -trackingEnabled False \
2064 -valueType singleValue \
2065 -activeFieldChoice False \
2069 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2072 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
2074 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
2075 ixNet setMultiAttrs $sg_field \
2078 -optionalEnabled True \
2083 -fieldValue {Last fragment} \
2086 -trackingEnabled False \
2087 -valueType singleValue \
2088 -activeFieldChoice False \
2092 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2095 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
2097 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
2098 ixNet setMultiAttrs $sg_field \
2101 -optionalEnabled True \
2109 -trackingEnabled False \
2110 -valueType singleValue \
2111 -activeFieldChoice False \
2115 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2118 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
2120 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
2121 ixNet setMultiAttrs $sg_field \
2124 -optionalEnabled True \
2132 -trackingEnabled False \
2133 -valueType singleValue \
2134 -activeFieldChoice False \
2138 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2141 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
2143 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
2144 ixNet setMultiAttrs $sg_field \
2147 -optionalEnabled True \
2155 -trackingEnabled False \
2156 -valueType singleValue \
2157 -activeFieldChoice False \
2161 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2164 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
2166 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
2167 ixNet setMultiAttrs $sg_field \
2170 -optionalEnabled True \
2178 -trackingEnabled False \
2179 -valueType singleValue \
2180 -activeFieldChoice False \
2184 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2187 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
2189 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
2190 ixNet setMultiAttrs $sg_field \
2191 -singleValue $srcIp \
2193 -optionalEnabled True \
2195 -valueList {{0.0.0.0}} \
2196 -stepValue {0.0.0.0} \
2197 -fixedBits {0.0.0.0} \
2198 -fieldValue $srcIp \
2200 -randomMask {0.0.0.0} \
2201 -trackingEnabled False \
2202 -valueType singleValue \
2203 -activeFieldChoice False \
2204 -startValue {0.0.0.0} \
2207 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2210 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
2212 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
2213 ixNet setMultiAttrs $sg_field \
2214 -singleValue $dstIp \
2216 -optionalEnabled True \
2218 -valueList {{0.0.0.0}} \
2219 -stepValue {0.0.0.1} \
2220 -fixedBits {0.0.0.0} \
2221 -fieldValue $dstIp \
2223 -randomMask {0.0.0.0} \
2224 -trackingEnabled False \
2225 -valueType $L3ValueType \
2226 -activeFieldChoice False \
2227 -startValue $dstIp \
2228 -countValue $L3CountValue
2230 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2233 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
2235 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
2236 ixNet setMultiAttrs $sg_field \
2239 -optionalEnabled False \
2247 -trackingEnabled False \
2248 -valueType singleValue \
2249 -activeFieldChoice True \
2253 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2256 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
2258 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
2259 ixNet setMultiAttrs $sg_field \
2260 -singleValue {130} \
2262 -optionalEnabled False \
2264 -valueList {{130}} \
2270 -trackingEnabled False \
2271 -valueType singleValue \
2272 -activeFieldChoice False \
2276 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2279 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
2281 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
2282 ixNet setMultiAttrs $sg_field \
2285 -optionalEnabled False \
2293 -trackingEnabled False \
2294 -valueType singleValue \
2295 -activeFieldChoice False \
2299 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2302 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
2304 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
2305 ixNet setMultiAttrs $sg_field \
2308 -optionalEnabled False \
2313 -fieldValue {Unclassified} \
2316 -trackingEnabled False \
2317 -valueType singleValue \
2318 -activeFieldChoice False \
2322 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2325 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2327 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2328 ixNet setMultiAttrs $sg_field \
2331 -optionalEnabled False \
2339 -trackingEnabled False \
2340 -valueType singleValue \
2341 -activeFieldChoice False \
2345 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2348 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
2350 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
2351 ixNet setMultiAttrs $sg_field \
2354 -optionalEnabled False \
2362 -trackingEnabled False \
2363 -valueType singleValue \
2364 -activeFieldChoice False \
2368 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2371 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2373 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2374 ixNet setMultiAttrs $sg_field \
2377 -optionalEnabled False \
2385 -trackingEnabled False \
2386 -valueType singleValue \
2387 -activeFieldChoice False \
2391 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2394 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2396 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2397 ixNet setMultiAttrs $sg_field \
2398 -singleValue {131} \
2400 -optionalEnabled False \
2402 -valueList {{131}} \
2408 -trackingEnabled False \
2409 -valueType singleValue \
2410 -activeFieldChoice False \
2414 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2417 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2419 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2420 ixNet setMultiAttrs $sg_field \
2423 -optionalEnabled False \
2431 -trackingEnabled False \
2432 -valueType singleValue \
2433 -activeFieldChoice False \
2437 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2440 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
2442 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
2443 ixNet setMultiAttrs $sg_field \
2446 -optionalEnabled False \
2454 -trackingEnabled False \
2455 -valueType singleValue \
2456 -activeFieldChoice False \
2460 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2463 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
2465 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
2466 ixNet setMultiAttrs $sg_field \
2469 -optionalEnabled False \
2477 -trackingEnabled False \
2478 -valueType singleValue \
2479 -activeFieldChoice False \
2483 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2486 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2488 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2489 ixNet setMultiAttrs $sg_field \
2490 -singleValue {137} \
2492 -optionalEnabled False \
2494 -valueList {{137}} \
2500 -trackingEnabled False \
2501 -valueType singleValue \
2502 -activeFieldChoice False \
2506 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2509 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2511 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2512 ixNet setMultiAttrs $sg_field \
2515 -optionalEnabled False \
2523 -trackingEnabled False \
2524 -valueType singleValue \
2525 -activeFieldChoice False \
2529 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2532 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2534 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2535 ixNet setMultiAttrs $sg_field \
2538 -optionalEnabled False \
2546 -trackingEnabled False \
2547 -valueType singleValue \
2548 -activeFieldChoice False \
2552 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2555 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2557 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2558 ixNet setMultiAttrs $sg_field \
2561 -optionalEnabled False \
2569 -trackingEnabled False \
2570 -valueType singleValue \
2571 -activeFieldChoice False \
2575 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2578 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2580 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2581 ixNet setMultiAttrs $sg_field \
2582 -singleValue {136} \
2584 -optionalEnabled False \
2586 -valueList {{136}} \
2592 -trackingEnabled False \
2593 -valueType singleValue \
2594 -activeFieldChoice False \
2598 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2601 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2603 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2604 ixNet setMultiAttrs $sg_field \
2607 -optionalEnabled False \
2615 -trackingEnabled False \
2616 -valueType singleValue \
2617 -activeFieldChoice False \
2621 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2624 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2626 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2627 ixNet setMultiAttrs $sg_field \
2630 -optionalEnabled False \
2638 -trackingEnabled False \
2639 -valueType singleValue \
2640 -activeFieldChoice False \
2644 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2647 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2649 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2650 ixNet setMultiAttrs $sg_field \
2653 -optionalEnabled False \
2661 -trackingEnabled False \
2662 -valueType singleValue \
2663 -activeFieldChoice False \
2667 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2670 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2672 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2673 ixNet setMultiAttrs $sg_field \
2676 -optionalEnabled False \
2684 -trackingEnabled False \
2685 -valueType singleValue \
2686 -activeFieldChoice False \
2690 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2693 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2695 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2696 ixNet setMultiAttrs $sg_field \
2699 -optionalEnabled False \
2707 -trackingEnabled False \
2708 -valueType singleValue \
2709 -activeFieldChoice False \
2713 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2716 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2718 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2719 ixNet setMultiAttrs $sg_field \
2722 -optionalEnabled False \
2730 -trackingEnabled False \
2731 -valueType singleValue \
2732 -activeFieldChoice False \
2736 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2739 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2741 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2742 ixNet setMultiAttrs $sg_field \
2745 -optionalEnabled False \
2750 -fieldValue {Timestamps only, in consecutive 32-bit words} \
2753 -trackingEnabled False \
2754 -valueType singleValue \
2755 -activeFieldChoice False \
2759 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2762 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2764 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2765 ixNet setMultiAttrs $sg_field \
2768 -optionalEnabled False \
2776 -trackingEnabled False \
2777 -valueType singleValue \
2778 -activeFieldChoice False \
2782 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2785 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2787 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2788 ixNet setMultiAttrs $sg_field \
2791 -optionalEnabled False \
2799 -trackingEnabled False \
2800 -valueType singleValue \
2801 -activeFieldChoice False \
2805 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2808 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
2810 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
2811 ixNet setMultiAttrs $sg_field \
2814 -optionalEnabled False \
2822 -trackingEnabled False \
2823 -valueType singleValue \
2824 -activeFieldChoice False \
2828 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2831 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2833 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2834 ixNet setMultiAttrs $sg_field \
2837 -optionalEnabled False \
2839 -valueList {{0x94}} \
2844 -randomMask {0x94} \
2845 -trackingEnabled False \
2846 -valueType singleValue \
2847 -activeFieldChoice False \
2848 -startValue {0x94} \
2851 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2854 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2856 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2857 ixNet setMultiAttrs $sg_field \
2860 -optionalEnabled False \
2862 -valueList {{0x04}} \
2867 -randomMask {0x04} \
2868 -trackingEnabled False \
2869 -valueType singleValue \
2870 -activeFieldChoice False \
2871 -startValue {0x04} \
2874 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2877 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2879 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2880 ixNet setMultiAttrs $sg_field \
2883 -optionalEnabled False \
2888 -fieldValue {Router shall examine packet} \
2891 -trackingEnabled False \
2892 -valueType singleValue \
2893 -activeFieldChoice False \
2897 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2900 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
2902 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
2903 ixNet setMultiAttrs $sg_field \
2906 -optionalEnabled False \
2914 -trackingEnabled False \
2915 -valueType singleValue \
2916 -activeFieldChoice False \
2920 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2923 if {$l4Enabled == 1 } {
2925 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"
2927 set sg_stack $ixNetSG_Stack(2)/stack:"udp-$stack_number"
2929 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
2930 set ixNetSG_Stack(3) $sg_stack
2934 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.srcPort-1"
2936 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
2937 ixNet setMultiAttrs $sg_field \
2938 -singleValue $srcPort \
2940 -optionalEnabled True \
2945 -fieldValue $srcPort \
2948 -trackingEnabled False \
2949 -valueType singleValue \
2950 -activeFieldChoice False \
2951 -startValue $srcPort \
2954 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2957 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.dstPort-2"
2959 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
2960 ixNet setMultiAttrs $sg_field \
2961 -singleValue $dstPort \
2963 -optionalEnabled True \
2968 -fieldValue $dstPort \
2971 -trackingEnabled False \
2972 -valueType $L4ValueType \
2973 -activeFieldChoice False \
2975 -countValue $L4CountValue
2977 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2980 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.length-3"
2982 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
2983 ixNet setMultiAttrs $sg_field \
2986 -optionalEnabled True \
2994 -trackingEnabled False \
2995 -valueType singleValue \
2996 -activeFieldChoice False \
3000 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3003 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.checksum-4"
3005 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
3006 ixNet setMultiAttrs $sg_field \
3009 -optionalEnabled True \
3017 -trackingEnabled False \
3018 -valueType singleValue \
3019 -activeFieldChoice False \
3023 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3027 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"
3029 set sg_stack $ixNetSG_Stack(2)/stack:"fcs-$stack_number"
3031 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3032 set ixNetSG_Stack(3) $sg_stack
3036 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"/field:"ethernet.fcs-1"
3038 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
3039 ixNet setMultiAttrs $sg_field \
3042 -optionalEnabled True \
3050 -trackingEnabled False \
3051 -valueType singleValue \
3052 -activeFieldChoice False \
3056 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3059 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/transmissionDistribution
3061 set sg_transmissionDistribution $ixNetSG_Stack(2)/transmissionDistribution
3062 ixNet setMultiAttrs $sg_transmissionDistribution \
3065 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3068 # configuring the object that corresponds to /traffic/trafficItem:1/transmissionDistribution
3070 set sg_transmissionDistribution $ixNetSG_Stack(1)/transmissionDistribution
3071 ixNet setMultiAttrs $sg_transmissionDistribution \
3074 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3077 # configuring the object that corresponds to /traffic/trafficItem:1/tracking
3079 set sg_tracking $ixNetSG_Stack(1)/tracking
3080 ixNet setMultiAttrs $sg_tracking \
3082 -oneToOneMesh False \
3085 -fieldWidth thirtyTwoBits \
3086 -protocolOffset {Root.0}
3087 ixNet setMultiAttrs $sg_tracking/egress \
3088 -offset {Outer VLAN Priority (3 bits)} \
3090 -customOffsetBits 0 \
3091 -encapsulation {Ethernet} \
3093 ixNet setMultiAttrs $sg_tracking/latencyBin \
3095 -binLimits {1 1.42 2 2.82 4 5.66 8 11.32} \
3098 set sg_tracking [lindex [ixNet remapIds $sg_tracking] 0]
3099 set ixNetSG_Stack(2) $sg_tracking
3102 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"
3104 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ethernet-1"
3106 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3107 set ixNetSG_Stack(3) $sg_stack
3110 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
3112 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
3113 ixNet setMultiAttrs $sg_field \
3114 -singleValue {00:00:00:00:00:00} \
3116 -optionalEnabled True \
3118 -valueList {{00:00:00:00:00:00}} \
3119 -stepValue {00:00:00:00:00:00} \
3120 -fixedBits {00:00:00:00:00:00} \
3121 -fieldValue {00:00:00:00:00:00} \
3123 -randomMask {00:00:00:00:00:00} \
3124 -trackingEnabled True \
3125 -valueType singleValue \
3126 -activeFieldChoice False \
3127 -startValue {00:00:00:00:00:00} \
3130 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3133 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
3135 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
3136 ixNet setMultiAttrs $sg_field \
3137 -singleValue {00:00:00:00:00:00} \
3139 -optionalEnabled True \
3141 -valueList {{00:00:00:00:00:00}} \
3142 -stepValue {00:00:00:00:00:00} \
3143 -fixedBits {00:00:00:00:00:00} \
3144 -fieldValue {00:00:00:00:00:00} \
3146 -randomMask {00:00:00:00:00:00} \
3147 -trackingEnabled False \
3148 -valueType singleValue \
3149 -activeFieldChoice False \
3150 -startValue {00:00:00:00:00:00} \
3153 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3156 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
3158 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
3159 ixNet setMultiAttrs $sg_field \
3160 -singleValue {800} \
3162 -optionalEnabled True \
3164 -valueList {{0xFFFF}} \
3165 -stepValue {0xFFFF} \
3166 -fixedBits {0xFFFF} \
3169 -randomMask {0xFFFF} \
3170 -trackingEnabled False \
3171 -valueType singleValue \
3172 -activeFieldChoice False \
3173 -startValue {0xFFFF} \
3176 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3179 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
3181 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
3182 ixNet setMultiAttrs $sg_field \
3185 -optionalEnabled True \
3193 -trackingEnabled False \
3194 -valueType singleValue \
3195 -activeFieldChoice False \
3199 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3202 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"
3204 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ipv4-2"
3206 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3207 set ixNetSG_Stack(3) $sg_stack
3210 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
3212 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
3213 ixNet setMultiAttrs $sg_field \
3216 -optionalEnabled True \
3224 -trackingEnabled False \
3225 -valueType singleValue \
3226 -activeFieldChoice False \
3230 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3233 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
3235 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
3236 ixNet setMultiAttrs $sg_field \
3239 -optionalEnabled True \
3247 -trackingEnabled False \
3248 -valueType singleValue \
3249 -activeFieldChoice False \
3253 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3256 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
3258 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
3259 ixNet setMultiAttrs $sg_field \
3262 -optionalEnabled True \
3270 -trackingEnabled False \
3271 -valueType singleValue \
3272 -activeFieldChoice False \
3276 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3279 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
3281 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
3282 ixNet setMultiAttrs $sg_field \
3285 -optionalEnabled True \
3290 -fieldValue {000 Routine} \
3293 -trackingEnabled False \
3294 -valueType singleValue \
3295 -activeFieldChoice True \
3299 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3302 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
3304 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
3305 ixNet setMultiAttrs $sg_field \
3308 -optionalEnabled True \
3313 -fieldValue {Normal} \
3316 -trackingEnabled False \
3317 -valueType singleValue \
3318 -activeFieldChoice True \
3322 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3325 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
3327 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
3328 ixNet setMultiAttrs $sg_field \
3331 -optionalEnabled True \
3336 -fieldValue {Normal} \
3339 -trackingEnabled False \
3340 -valueType singleValue \
3341 -activeFieldChoice True \
3345 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3348 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
3350 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
3351 ixNet setMultiAttrs $sg_field \
3354 -optionalEnabled True \
3359 -fieldValue {Normal} \
3362 -trackingEnabled False \
3363 -valueType singleValue \
3364 -activeFieldChoice True \
3368 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3371 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
3373 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
3374 ixNet setMultiAttrs $sg_field \
3377 -optionalEnabled True \
3382 -fieldValue {Normal} \
3385 -trackingEnabled False \
3386 -valueType singleValue \
3387 -activeFieldChoice True \
3391 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3394 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
3396 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
3397 ixNet setMultiAttrs $sg_field \
3400 -optionalEnabled True \
3408 -trackingEnabled False \
3409 -valueType singleValue \
3410 -activeFieldChoice True \
3414 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3417 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3419 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3420 ixNet setMultiAttrs $sg_field \
3423 -optionalEnabled True \
3431 -trackingEnabled False \
3432 -valueType singleValue \
3433 -activeFieldChoice False \
3437 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3440 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3442 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3443 ixNet setMultiAttrs $sg_field \
3446 -optionalEnabled True \
3454 -trackingEnabled False \
3455 -valueType singleValue \
3456 -activeFieldChoice False \
3460 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3463 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3465 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3466 ixNet setMultiAttrs $sg_field \
3469 -optionalEnabled True \
3474 -fieldValue {Precedence 1} \
3477 -trackingEnabled False \
3478 -valueType singleValue \
3479 -activeFieldChoice False \
3483 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3486 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3488 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3489 ixNet setMultiAttrs $sg_field \
3492 -optionalEnabled True \
3500 -trackingEnabled False \
3501 -valueType singleValue \
3502 -activeFieldChoice False \
3506 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3509 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3511 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3512 ixNet setMultiAttrs $sg_field \
3515 -optionalEnabled True \
3520 -fieldValue {Class 1, Low drop precedence} \
3523 -trackingEnabled False \
3524 -valueType singleValue \
3525 -activeFieldChoice False \
3529 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3532 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3534 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3535 ixNet setMultiAttrs $sg_field \
3538 -optionalEnabled True \
3546 -trackingEnabled False \
3547 -valueType singleValue \
3548 -activeFieldChoice False \
3552 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3555 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3557 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3558 ixNet setMultiAttrs $sg_field \
3561 -optionalEnabled True \
3569 -trackingEnabled False \
3570 -valueType singleValue \
3571 -activeFieldChoice False \
3575 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3578 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3580 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3581 ixNet setMultiAttrs $sg_field \
3584 -optionalEnabled True \
3592 -trackingEnabled False \
3593 -valueType singleValue \
3594 -activeFieldChoice False \
3598 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3601 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
3603 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
3604 ixNet setMultiAttrs $sg_field \
3607 -optionalEnabled True \
3615 -trackingEnabled False \
3616 -valueType singleValue \
3617 -activeFieldChoice False \
3621 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3624 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
3626 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
3627 ixNet setMultiAttrs $sg_field \
3630 -optionalEnabled True \
3638 -trackingEnabled False \
3639 -valueType singleValue \
3640 -activeFieldChoice False \
3644 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3647 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
3649 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
3650 ixNet setMultiAttrs $sg_field \
3653 -optionalEnabled True \
3661 -trackingEnabled False \
3662 -valueType singleValue \
3663 -activeFieldChoice False \
3667 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3670 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
3672 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
3673 ixNet setMultiAttrs $sg_field \
3676 -optionalEnabled True \
3681 -fieldValue {May fragment} \
3684 -trackingEnabled False \
3685 -valueType singleValue \
3686 -activeFieldChoice False \
3690 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3693 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
3695 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
3696 ixNet setMultiAttrs $sg_field \
3699 -optionalEnabled True \
3704 -fieldValue {Last fragment} \
3707 -trackingEnabled False \
3708 -valueType singleValue \
3709 -activeFieldChoice False \
3713 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3716 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
3718 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
3719 ixNet setMultiAttrs $sg_field \
3722 -optionalEnabled True \
3730 -trackingEnabled False \
3731 -valueType singleValue \
3732 -activeFieldChoice False \
3736 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3739 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
3741 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
3742 ixNet setMultiAttrs $sg_field \
3745 -optionalEnabled True \
3753 -trackingEnabled False \
3754 -valueType singleValue \
3755 -activeFieldChoice False \
3759 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3762 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
3764 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
3765 ixNet setMultiAttrs $sg_field \
3768 -optionalEnabled True \
3776 -trackingEnabled False \
3777 -valueType singleValue \
3778 -activeFieldChoice False \
3782 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3785 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
3787 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
3788 ixNet setMultiAttrs $sg_field \
3791 -optionalEnabled True \
3799 -trackingEnabled False \
3800 -valueType singleValue \
3801 -activeFieldChoice False \
3805 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3808 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
3810 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
3811 ixNet setMultiAttrs $sg_field \
3812 -singleValue {0.0.0.0} \
3814 -optionalEnabled True \
3816 -valueList {{0.0.0.0}} \
3817 -stepValue {0.0.0.0} \
3818 -fixedBits {0.0.0.0} \
3819 -fieldValue {0.0.0.0} \
3821 -randomMask {0.0.0.0} \
3822 -trackingEnabled False \
3823 -valueType singleValue \
3824 -activeFieldChoice False \
3825 -startValue {0.0.0.0} \
3828 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3831 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
3833 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
3834 ixNet setMultiAttrs $sg_field \
3835 -singleValue {0.0.0.0} \
3837 -optionalEnabled True \
3839 -valueList {{0.0.0.0}} \
3840 -stepValue {0.0.0.0} \
3841 -fixedBits {0.0.0.0} \
3842 -fieldValue {0.0.0.0} \
3844 -randomMask {0.0.0.0} \
3845 -trackingEnabled False \
3846 -valueType singleValue \
3847 -activeFieldChoice False \
3848 -startValue {0.0.0.0} \
3851 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3854 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
3856 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
3857 ixNet setMultiAttrs $sg_field \
3860 -optionalEnabled False \
3868 -trackingEnabled False \
3869 -valueType singleValue \
3870 -activeFieldChoice True \
3874 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3877 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
3879 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
3880 ixNet setMultiAttrs $sg_field \
3881 -singleValue {130} \
3883 -optionalEnabled False \
3885 -valueList {{130}} \
3891 -trackingEnabled False \
3892 -valueType singleValue \
3893 -activeFieldChoice False \
3897 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3900 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
3902 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
3903 ixNet setMultiAttrs $sg_field \
3906 -optionalEnabled False \
3914 -trackingEnabled False \
3915 -valueType singleValue \
3916 -activeFieldChoice False \
3920 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3923 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
3925 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
3926 ixNet setMultiAttrs $sg_field \
3929 -optionalEnabled False \
3934 -fieldValue {Unclassified} \
3937 -trackingEnabled False \
3938 -valueType singleValue \
3939 -activeFieldChoice False \
3943 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3946 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3948 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3949 ixNet setMultiAttrs $sg_field \
3952 -optionalEnabled False \
3960 -trackingEnabled False \
3961 -valueType singleValue \
3962 -activeFieldChoice False \
3966 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3969 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
3971 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
3972 ixNet setMultiAttrs $sg_field \
3975 -optionalEnabled False \
3983 -trackingEnabled False \
3984 -valueType singleValue \
3985 -activeFieldChoice False \
3989 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3992 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
3994 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
3995 ixNet setMultiAttrs $sg_field \
3998 -optionalEnabled False \
4006 -trackingEnabled False \
4007 -valueType singleValue \
4008 -activeFieldChoice False \
4012 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4015 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4017 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4018 ixNet setMultiAttrs $sg_field \
4019 -singleValue {131} \
4021 -optionalEnabled False \
4023 -valueList {{131}} \
4029 -trackingEnabled False \
4030 -valueType singleValue \
4031 -activeFieldChoice False \
4035 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4038 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4040 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4041 ixNet setMultiAttrs $sg_field \
4044 -optionalEnabled False \
4052 -trackingEnabled False \
4053 -valueType singleValue \
4054 -activeFieldChoice False \
4058 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4061 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
4063 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
4064 ixNet setMultiAttrs $sg_field \
4067 -optionalEnabled False \
4075 -trackingEnabled False \
4076 -valueType singleValue \
4077 -activeFieldChoice False \
4081 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4084 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
4086 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
4087 ixNet setMultiAttrs $sg_field \
4090 -optionalEnabled False \
4098 -trackingEnabled False \
4099 -valueType singleValue \
4100 -activeFieldChoice False \
4104 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4107 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4109 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4110 ixNet setMultiAttrs $sg_field \
4111 -singleValue {137} \
4113 -optionalEnabled False \
4115 -valueList {{137}} \
4121 -trackingEnabled False \
4122 -valueType singleValue \
4123 -activeFieldChoice False \
4127 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4130 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4132 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4133 ixNet setMultiAttrs $sg_field \
4136 -optionalEnabled False \
4144 -trackingEnabled False \
4145 -valueType singleValue \
4146 -activeFieldChoice False \
4150 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4153 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4155 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4156 ixNet setMultiAttrs $sg_field \
4159 -optionalEnabled False \
4167 -trackingEnabled False \
4168 -valueType singleValue \
4169 -activeFieldChoice False \
4173 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4176 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4178 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4179 ixNet setMultiAttrs $sg_field \
4182 -optionalEnabled False \
4190 -trackingEnabled False \
4191 -valueType singleValue \
4192 -activeFieldChoice False \
4196 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4199 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4201 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4202 ixNet setMultiAttrs $sg_field \
4203 -singleValue {136} \
4205 -optionalEnabled False \
4207 -valueList {{136}} \
4213 -trackingEnabled False \
4214 -valueType singleValue \
4215 -activeFieldChoice False \
4219 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4222 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4224 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4225 ixNet setMultiAttrs $sg_field \
4228 -optionalEnabled False \
4236 -trackingEnabled False \
4237 -valueType singleValue \
4238 -activeFieldChoice False \
4242 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4245 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4247 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4248 ixNet setMultiAttrs $sg_field \
4251 -optionalEnabled False \
4259 -trackingEnabled False \
4260 -valueType singleValue \
4261 -activeFieldChoice False \
4265 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4268 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4270 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4271 ixNet setMultiAttrs $sg_field \
4274 -optionalEnabled False \
4282 -trackingEnabled False \
4283 -valueType singleValue \
4284 -activeFieldChoice False \
4288 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4291 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4293 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4294 ixNet setMultiAttrs $sg_field \
4297 -optionalEnabled False \
4305 -trackingEnabled False \
4306 -valueType singleValue \
4307 -activeFieldChoice False \
4311 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4314 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4316 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4317 ixNet setMultiAttrs $sg_field \
4320 -optionalEnabled False \
4328 -trackingEnabled False \
4329 -valueType singleValue \
4330 -activeFieldChoice False \
4334 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4337 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4339 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4340 ixNet setMultiAttrs $sg_field \
4343 -optionalEnabled False \
4351 -trackingEnabled False \
4352 -valueType singleValue \
4353 -activeFieldChoice False \
4357 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4360 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4362 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4363 ixNet setMultiAttrs $sg_field \
4366 -optionalEnabled False \
4371 -fieldValue {Timestamps only, in consecutive 32-bit words} \
4374 -trackingEnabled False \
4375 -valueType singleValue \
4376 -activeFieldChoice False \
4380 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4383 # 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"
4385 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
4386 ixNet setMultiAttrs $sg_field \
4389 -optionalEnabled False \
4397 -trackingEnabled False \
4398 -valueType singleValue \
4399 -activeFieldChoice False \
4403 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4406 # 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"
4408 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
4409 ixNet setMultiAttrs $sg_field \
4412 -optionalEnabled False \
4420 -trackingEnabled False \
4421 -valueType singleValue \
4422 -activeFieldChoice False \
4426 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4429 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
4431 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
4432 ixNet setMultiAttrs $sg_field \
4435 -optionalEnabled False \
4443 -trackingEnabled False \
4444 -valueType singleValue \
4445 -activeFieldChoice False \
4449 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4452 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4454 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4455 ixNet setMultiAttrs $sg_field \
4458 -optionalEnabled False \
4460 -valueList {{0x94}} \
4465 -randomMask {0x94} \
4466 -trackingEnabled False \
4467 -valueType singleValue \
4468 -activeFieldChoice False \
4469 -startValue {0x94} \
4472 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4475 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4477 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4478 ixNet setMultiAttrs $sg_field \
4481 -optionalEnabled False \
4483 -valueList {{0x04}} \
4488 -randomMask {0x04} \
4489 -trackingEnabled False \
4490 -valueType singleValue \
4491 -activeFieldChoice False \
4492 -startValue {0x04} \
4495 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4498 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4500 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4501 ixNet setMultiAttrs $sg_field \
4504 -optionalEnabled False \
4509 -fieldValue {Router shall examine packet} \
4512 -trackingEnabled False \
4513 -valueType singleValue \
4514 -activeFieldChoice False \
4518 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4521 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
4523 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
4524 ixNet setMultiAttrs $sg_field \
4527 -optionalEnabled False \
4535 -trackingEnabled False \
4536 -valueType singleValue \
4537 -activeFieldChoice False \
4541 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4544 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"
4546 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"udp-3"
4548 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4549 set ixNetSG_Stack(3) $sg_stack
4552 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
4554 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
4555 ixNet setMultiAttrs $sg_field \
4558 -optionalEnabled True \
4563 -fieldValue {Default} \
4566 -trackingEnabled False \
4567 -valueType singleValue \
4568 -activeFieldChoice False \
4572 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4575 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
4577 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
4578 ixNet setMultiAttrs $sg_field \
4581 -optionalEnabled True \
4586 -fieldValue {Default} \
4589 -trackingEnabled False \
4590 -valueType singleValue \
4591 -activeFieldChoice False \
4595 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4598 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
4600 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
4601 ixNet setMultiAttrs $sg_field \
4604 -optionalEnabled True \
4612 -trackingEnabled False \
4613 -valueType singleValue \
4614 -activeFieldChoice False \
4618 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4621 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
4623 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
4624 ixNet setMultiAttrs $sg_field \
4627 -optionalEnabled True \
4635 -trackingEnabled False \
4636 -valueType singleValue \
4637 -activeFieldChoice False \
4641 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4644 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"
4646 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"fcs-4"
4648 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4649 set ixNetSG_Stack(3) $sg_stack
4652 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
4654 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
4655 ixNet setMultiAttrs $sg_field \
4658 -optionalEnabled True \
4666 -trackingEnabled False \
4667 -valueType singleValue \
4668 -activeFieldChoice False \
4672 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4675 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1
4677 set sg_egressTracking [ixNet add $ixNetSG_Stack(1) egressTracking]
4678 ixNet setMultiAttrs $sg_egressTracking \
4679 -offset {Outer VLAN Priority (3 bits)} \
4680 -customOffsetBits 0 \
4681 -encapsulation {Ethernet} \
4684 set sg_egressTracking [lindex [ixNet remapIds $sg_egressTracking] 0]
4685 set ixNetSG_Stack(2) $sg_egressTracking
4688 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"
4690 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ethernet-1"
4692 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4693 set ixNetSG_Stack(3) $sg_stack
4696 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
4698 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
4699 ixNet setMultiAttrs $sg_field \
4700 -singleValue {00:00:00:00:00:00} \
4702 -optionalEnabled True \
4704 -valueList {{00:00:00:00:00:00}} \
4705 -stepValue {00:00:00:00:00:00} \
4706 -fixedBits {00:00:00:00:00:00} \
4707 -fieldValue {00:00:00:00:00:00} \
4709 -randomMask {00:00:00:00:00:00} \
4710 -trackingEnabled True \
4711 -valueType singleValue \
4712 -activeFieldChoice False \
4713 -startValue {00:00:00:00:00:00} \
4716 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4719 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
4721 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
4722 ixNet setMultiAttrs $sg_field \
4723 -singleValue {00:00:00:00:00:00} \
4725 -optionalEnabled True \
4727 -valueList {{00:00:00:00:00:00}} \
4728 -stepValue {00:00:00:00:00:00} \
4729 -fixedBits {00:00:00:00:00:00} \
4730 -fieldValue {00:00:00:00:00:00} \
4732 -randomMask {00:00:00:00:00:00} \
4733 -trackingEnabled False \
4734 -valueType singleValue \
4735 -activeFieldChoice False \
4736 -startValue {00:00:00:00:00:00} \
4739 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4742 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
4744 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
4745 ixNet setMultiAttrs $sg_field \
4746 -singleValue {800} \
4748 -optionalEnabled True \
4750 -valueList {{0xFFFF}} \
4751 -stepValue {0xFFFF} \
4752 -fixedBits {0xFFFF} \
4755 -randomMask {0xFFFF} \
4756 -trackingEnabled False \
4757 -valueType singleValue \
4758 -activeFieldChoice False \
4759 -startValue {0xFFFF} \
4762 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4765 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
4767 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
4768 ixNet setMultiAttrs $sg_field \
4771 -optionalEnabled True \
4779 -trackingEnabled False \
4780 -valueType singleValue \
4781 -activeFieldChoice False \
4785 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4788 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"
4790 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ipv4-2"
4792 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4793 set ixNetSG_Stack(3) $sg_stack
4796 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
4798 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
4799 ixNet setMultiAttrs $sg_field \
4802 -optionalEnabled True \
4810 -trackingEnabled False \
4811 -valueType singleValue \
4812 -activeFieldChoice False \
4816 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4819 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
4821 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
4822 ixNet setMultiAttrs $sg_field \
4825 -optionalEnabled True \
4833 -trackingEnabled False \
4834 -valueType singleValue \
4835 -activeFieldChoice False \
4839 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4842 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
4844 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
4845 ixNet setMultiAttrs $sg_field \
4848 -optionalEnabled True \
4856 -trackingEnabled False \
4857 -valueType singleValue \
4858 -activeFieldChoice False \
4862 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4865 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
4867 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
4868 ixNet setMultiAttrs $sg_field \
4871 -optionalEnabled True \
4876 -fieldValue {000 Routine} \
4879 -trackingEnabled False \
4880 -valueType singleValue \
4881 -activeFieldChoice True \
4885 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4888 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
4890 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
4891 ixNet setMultiAttrs $sg_field \
4894 -optionalEnabled True \
4899 -fieldValue {Normal} \
4902 -trackingEnabled False \
4903 -valueType singleValue \
4904 -activeFieldChoice True \
4908 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4911 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
4913 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
4914 ixNet setMultiAttrs $sg_field \
4917 -optionalEnabled True \
4922 -fieldValue {Normal} \
4925 -trackingEnabled False \
4926 -valueType singleValue \
4927 -activeFieldChoice True \
4931 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4934 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
4936 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
4937 ixNet setMultiAttrs $sg_field \
4940 -optionalEnabled True \
4945 -fieldValue {Normal} \
4948 -trackingEnabled False \
4949 -valueType singleValue \
4950 -activeFieldChoice True \
4954 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4957 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
4959 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
4960 ixNet setMultiAttrs $sg_field \
4963 -optionalEnabled True \
4968 -fieldValue {Normal} \
4971 -trackingEnabled False \
4972 -valueType singleValue \
4973 -activeFieldChoice True \
4977 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4980 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
4982 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
4983 ixNet setMultiAttrs $sg_field \
4986 -optionalEnabled True \
4994 -trackingEnabled False \
4995 -valueType singleValue \
4996 -activeFieldChoice True \
5000 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5003 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5005 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5006 ixNet setMultiAttrs $sg_field \
5009 -optionalEnabled True \
5017 -trackingEnabled False \
5018 -valueType singleValue \
5019 -activeFieldChoice False \
5023 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5026 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5028 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5029 ixNet setMultiAttrs $sg_field \
5032 -optionalEnabled True \
5040 -trackingEnabled False \
5041 -valueType singleValue \
5042 -activeFieldChoice False \
5046 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5049 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5051 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5052 ixNet setMultiAttrs $sg_field \
5055 -optionalEnabled True \
5060 -fieldValue {Precedence 1} \
5063 -trackingEnabled False \
5064 -valueType singleValue \
5065 -activeFieldChoice False \
5069 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5072 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5074 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5075 ixNet setMultiAttrs $sg_field \
5078 -optionalEnabled True \
5086 -trackingEnabled False \
5087 -valueType singleValue \
5088 -activeFieldChoice False \
5092 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5095 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5097 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5098 ixNet setMultiAttrs $sg_field \
5101 -optionalEnabled True \
5106 -fieldValue {Class 1, Low drop precedence} \
5109 -trackingEnabled False \
5110 -valueType singleValue \
5111 -activeFieldChoice False \
5115 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5118 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5120 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5121 ixNet setMultiAttrs $sg_field \
5124 -optionalEnabled True \
5132 -trackingEnabled False \
5133 -valueType singleValue \
5134 -activeFieldChoice False \
5138 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5141 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5143 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5144 ixNet setMultiAttrs $sg_field \
5147 -optionalEnabled True \
5155 -trackingEnabled False \
5156 -valueType singleValue \
5157 -activeFieldChoice False \
5161 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5164 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5166 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5167 ixNet setMultiAttrs $sg_field \
5170 -optionalEnabled True \
5178 -trackingEnabled False \
5179 -valueType singleValue \
5180 -activeFieldChoice False \
5184 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5187 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
5189 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
5190 ixNet setMultiAttrs $sg_field \
5193 -optionalEnabled True \
5201 -trackingEnabled False \
5202 -valueType singleValue \
5203 -activeFieldChoice False \
5207 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5210 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
5212 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
5213 ixNet setMultiAttrs $sg_field \
5216 -optionalEnabled True \
5224 -trackingEnabled False \
5225 -valueType singleValue \
5226 -activeFieldChoice False \
5230 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5233 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
5235 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
5236 ixNet setMultiAttrs $sg_field \
5239 -optionalEnabled True \
5247 -trackingEnabled False \
5248 -valueType singleValue \
5249 -activeFieldChoice False \
5253 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5256 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
5258 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
5259 ixNet setMultiAttrs $sg_field \
5262 -optionalEnabled True \
5267 -fieldValue {May fragment} \
5270 -trackingEnabled False \
5271 -valueType singleValue \
5272 -activeFieldChoice False \
5276 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5279 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
5281 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
5282 ixNet setMultiAttrs $sg_field \
5285 -optionalEnabled True \
5290 -fieldValue {Last fragment} \
5293 -trackingEnabled False \
5294 -valueType singleValue \
5295 -activeFieldChoice False \
5299 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5302 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
5304 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
5305 ixNet setMultiAttrs $sg_field \
5308 -optionalEnabled True \
5316 -trackingEnabled False \
5317 -valueType singleValue \
5318 -activeFieldChoice False \
5322 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5325 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
5327 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
5328 ixNet setMultiAttrs $sg_field \
5331 -optionalEnabled True \
5339 -trackingEnabled False \
5340 -valueType singleValue \
5341 -activeFieldChoice False \
5345 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5348 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
5350 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
5351 ixNet setMultiAttrs $sg_field \
5354 -optionalEnabled True \
5362 -trackingEnabled False \
5363 -valueType singleValue \
5364 -activeFieldChoice False \
5368 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5371 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
5373 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
5374 ixNet setMultiAttrs $sg_field \
5377 -optionalEnabled True \
5385 -trackingEnabled False \
5386 -valueType singleValue \
5387 -activeFieldChoice False \
5391 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5394 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
5396 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
5397 ixNet setMultiAttrs $sg_field \
5398 -singleValue {0.0.0.0} \
5400 -optionalEnabled True \
5402 -valueList {{0.0.0.0}} \
5403 -stepValue {0.0.0.0} \
5404 -fixedBits {0.0.0.0} \
5405 -fieldValue {0.0.0.0} \
5407 -randomMask {0.0.0.0} \
5408 -trackingEnabled False \
5409 -valueType singleValue \
5410 -activeFieldChoice False \
5411 -startValue {0.0.0.0} \
5414 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5417 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
5419 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
5420 ixNet setMultiAttrs $sg_field \
5421 -singleValue {0.0.0.0} \
5423 -optionalEnabled True \
5425 -valueList {{0.0.0.0}} \
5426 -stepValue {0.0.0.0} \
5427 -fixedBits {0.0.0.0} \
5428 -fieldValue {0.0.0.0} \
5430 -randomMask {0.0.0.0} \
5431 -trackingEnabled False \
5432 -valueType singleValue \
5433 -activeFieldChoice False \
5434 -startValue {0.0.0.0} \
5437 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5440 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
5442 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
5443 ixNet setMultiAttrs $sg_field \
5446 -optionalEnabled False \
5454 -trackingEnabled False \
5455 -valueType singleValue \
5456 -activeFieldChoice True \
5460 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5463 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
5465 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
5466 ixNet setMultiAttrs $sg_field \
5467 -singleValue {130} \
5469 -optionalEnabled False \
5471 -valueList {{130}} \
5477 -trackingEnabled False \
5478 -valueType singleValue \
5479 -activeFieldChoice False \
5483 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5486 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
5488 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
5489 ixNet setMultiAttrs $sg_field \
5492 -optionalEnabled False \
5500 -trackingEnabled False \
5501 -valueType singleValue \
5502 -activeFieldChoice False \
5506 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5509 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
5511 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
5512 ixNet setMultiAttrs $sg_field \
5515 -optionalEnabled False \
5520 -fieldValue {Unclassified} \
5523 -trackingEnabled False \
5524 -valueType singleValue \
5525 -activeFieldChoice False \
5529 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5532 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5534 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5535 ixNet setMultiAttrs $sg_field \
5538 -optionalEnabled False \
5546 -trackingEnabled False \
5547 -valueType singleValue \
5548 -activeFieldChoice False \
5552 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5555 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
5557 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
5558 ixNet setMultiAttrs $sg_field \
5561 -optionalEnabled False \
5569 -trackingEnabled False \
5570 -valueType singleValue \
5571 -activeFieldChoice False \
5575 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5578 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5580 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5581 ixNet setMultiAttrs $sg_field \
5584 -optionalEnabled False \
5592 -trackingEnabled False \
5593 -valueType singleValue \
5594 -activeFieldChoice False \
5598 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5601 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5603 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5604 ixNet setMultiAttrs $sg_field \
5605 -singleValue {131} \
5607 -optionalEnabled False \
5609 -valueList {{131}} \
5615 -trackingEnabled False \
5616 -valueType singleValue \
5617 -activeFieldChoice False \
5621 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5624 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5626 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5627 ixNet setMultiAttrs $sg_field \
5630 -optionalEnabled False \
5638 -trackingEnabled False \
5639 -valueType singleValue \
5640 -activeFieldChoice False \
5644 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5647 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
5649 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
5650 ixNet setMultiAttrs $sg_field \
5653 -optionalEnabled False \
5661 -trackingEnabled False \
5662 -valueType singleValue \
5663 -activeFieldChoice False \
5667 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5670 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
5672 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
5673 ixNet setMultiAttrs $sg_field \
5676 -optionalEnabled False \
5684 -trackingEnabled False \
5685 -valueType singleValue \
5686 -activeFieldChoice False \
5690 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5693 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5695 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5696 ixNet setMultiAttrs $sg_field \
5697 -singleValue {137} \
5699 -optionalEnabled False \
5701 -valueList {{137}} \
5707 -trackingEnabled False \
5708 -valueType singleValue \
5709 -activeFieldChoice False \
5713 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5716 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5718 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5719 ixNet setMultiAttrs $sg_field \
5722 -optionalEnabled False \
5730 -trackingEnabled False \
5731 -valueType singleValue \
5732 -activeFieldChoice False \
5736 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5739 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5741 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5742 ixNet setMultiAttrs $sg_field \
5745 -optionalEnabled False \
5753 -trackingEnabled False \
5754 -valueType singleValue \
5755 -activeFieldChoice False \
5759 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5762 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5764 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5765 ixNet setMultiAttrs $sg_field \
5768 -optionalEnabled False \
5776 -trackingEnabled False \
5777 -valueType singleValue \
5778 -activeFieldChoice False \
5782 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5785 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5787 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5788 ixNet setMultiAttrs $sg_field \
5789 -singleValue {136} \
5791 -optionalEnabled False \
5793 -valueList {{136}} \
5799 -trackingEnabled False \
5800 -valueType singleValue \
5801 -activeFieldChoice False \
5805 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5808 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5810 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5811 ixNet setMultiAttrs $sg_field \
5814 -optionalEnabled False \
5822 -trackingEnabled False \
5823 -valueType singleValue \
5824 -activeFieldChoice False \
5828 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5831 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5833 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5834 ixNet setMultiAttrs $sg_field \
5837 -optionalEnabled False \
5845 -trackingEnabled False \
5846 -valueType singleValue \
5847 -activeFieldChoice False \
5851 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5854 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5856 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5857 ixNet setMultiAttrs $sg_field \
5860 -optionalEnabled False \
5868 -trackingEnabled False \
5869 -valueType singleValue \
5870 -activeFieldChoice False \
5874 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5877 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5879 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5880 ixNet setMultiAttrs $sg_field \
5883 -optionalEnabled False \
5891 -trackingEnabled False \
5892 -valueType singleValue \
5893 -activeFieldChoice False \
5897 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5900 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5902 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5903 ixNet setMultiAttrs $sg_field \
5906 -optionalEnabled False \
5914 -trackingEnabled False \
5915 -valueType singleValue \
5916 -activeFieldChoice False \
5920 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5923 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5925 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5926 ixNet setMultiAttrs $sg_field \
5929 -optionalEnabled False \
5937 -trackingEnabled False \
5938 -valueType singleValue \
5939 -activeFieldChoice False \
5943 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5946 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5948 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5949 ixNet setMultiAttrs $sg_field \
5952 -optionalEnabled False \
5957 -fieldValue {Timestamps only, in consecutive 32-bit words} \
5960 -trackingEnabled False \
5961 -valueType singleValue \
5962 -activeFieldChoice False \
5966 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5969 # 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"
5971 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
5972 ixNet setMultiAttrs $sg_field \
5975 -optionalEnabled False \
5983 -trackingEnabled False \
5984 -valueType singleValue \
5985 -activeFieldChoice False \
5989 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5992 # 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"
5994 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
5995 ixNet setMultiAttrs $sg_field \
5998 -optionalEnabled False \
6006 -trackingEnabled False \
6007 -valueType singleValue \
6008 -activeFieldChoice False \
6012 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6015 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
6017 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
6018 ixNet setMultiAttrs $sg_field \
6021 -optionalEnabled False \
6029 -trackingEnabled False \
6030 -valueType singleValue \
6031 -activeFieldChoice False \
6035 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6038 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6040 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6041 ixNet setMultiAttrs $sg_field \
6044 -optionalEnabled False \
6046 -valueList {{0x94}} \
6051 -randomMask {0x94} \
6052 -trackingEnabled False \
6053 -valueType singleValue \
6054 -activeFieldChoice False \
6055 -startValue {0x94} \
6058 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6061 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6063 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6064 ixNet setMultiAttrs $sg_field \
6067 -optionalEnabled False \
6069 -valueList {{0x04}} \
6074 -randomMask {0x04} \
6075 -trackingEnabled False \
6076 -valueType singleValue \
6077 -activeFieldChoice False \
6078 -startValue {0x04} \
6081 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6084 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6086 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6087 ixNet setMultiAttrs $sg_field \
6090 -optionalEnabled False \
6095 -fieldValue {Router shall examine packet} \
6098 -trackingEnabled False \
6099 -valueType singleValue \
6100 -activeFieldChoice False \
6104 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6107 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
6109 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
6110 ixNet setMultiAttrs $sg_field \
6113 -optionalEnabled False \
6121 -trackingEnabled False \
6122 -valueType singleValue \
6123 -activeFieldChoice False \
6127 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6130 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"
6132 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"udp-3"
6134 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6135 set ixNetSG_Stack(3) $sg_stack
6138 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
6140 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
6141 ixNet setMultiAttrs $sg_field \
6144 -optionalEnabled True \
6149 -fieldValue {Default} \
6152 -trackingEnabled False \
6153 -valueType singleValue \
6154 -activeFieldChoice False \
6158 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6161 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
6163 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
6164 ixNet setMultiAttrs $sg_field \
6167 -optionalEnabled True \
6172 -fieldValue {Default} \
6175 -trackingEnabled False \
6176 -valueType singleValue \
6177 -activeFieldChoice False \
6181 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6184 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
6186 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
6187 ixNet setMultiAttrs $sg_field \
6190 -optionalEnabled True \
6198 -trackingEnabled False \
6199 -valueType singleValue \
6200 -activeFieldChoice False \
6204 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6207 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
6209 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
6210 ixNet setMultiAttrs $sg_field \
6213 -optionalEnabled True \
6221 -trackingEnabled False \
6222 -valueType singleValue \
6223 -activeFieldChoice False \
6227 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6230 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"
6232 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"fcs-4"
6234 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6235 set ixNetSG_Stack(3) $sg_stack
6238 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
6240 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
6241 ixNet setMultiAttrs $sg_field \
6244 -optionalEnabled True \
6252 -trackingEnabled False \
6253 -valueType singleValue \
6254 -activeFieldChoice False \
6258 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6261 # configuring the object that corresponds to /traffic/trafficItem:1/dynamicUpdate
6263 set sg_dynamicUpdate $ixNetSG_Stack(1)/dynamicUpdate
6264 ixNet setMultiAttrs $sg_dynamicUpdate \
6265 -enabledSessionAwareTrafficFields {} \
6266 -enabledDynamicUpdateFields {}
6268 set sg_dynamicUpdate [lindex [ixNet remapIds $sg_dynamicUpdate] 0]
6275 # configuring the object that corresponds to /quickTest/rfc2544throughput:1
6277 if {$rfc2544TestType == "throughput"} {
6278 set sg_rfc2544throughput [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544throughput]
6279 ixNet setMultiAttrs $sg_rfc2544throughput \
6280 -name {QuickTest1} \
6281 -mode existingMode \
6282 -inputParameters {{}}
6283 ixNet setMultiAttrs $sg_rfc2544throughput/testConfig \
6285 -enableMinFrameSize True \
6286 -framesize $frameSize \
6287 -reportTputRateUnit mbps \
6288 -duration $duration \
6289 -numtrials $numTests \
6290 -trafficType constantLoading \
6292 -framesPerBurstGap 1 \
6294 -frameLossUnit {0} \
6295 -staggeredStart False \
6296 -framesizeList $frameSize \
6297 -frameSizeMode custom \
6298 -rateSelect percentMaxRate \
6299 -percentMaxRate 100 \
6301 -forceRegenerate False \
6302 -reportSequenceError False \
6305 -loadRateList $frameRate \
6306 -fixedLoadUnit percentMaxRate \
6308 -incrementLoadUnit percentMaxRate \
6309 -initialIncrementLoadRate 10 \
6310 -stepIncrementLoadRate 10 \
6311 -maxIncrementLoadRate 100 \
6312 -randomLoadUnit percentMaxRate \
6313 -minRandomLoadRate 10 \
6314 -maxRandomLoadRate 80 \
6315 -countRandomLoadRate 1 \
6319 -delayAfterTransmit 2 \
6320 -minRandomFrameSize 64 \
6321 -maxRandomFrameSize 1518 \
6322 -countRandomFrameSize 1 \
6323 -minIncrementFrameSize 64 \
6324 -stepIncrementFrameSize 64 \
6325 -maxIncrementFrameSize 1518 \
6326 -calculateLatency True \
6327 -latencyType storeForward \
6328 -calculateJitter False \
6329 -enableDataIntegrity False \
6330 -enableBackoffIteration False \
6331 -enableSaturationIteration False \
6332 -enableStopTestOnHighLoss False \
6333 -enableBackoffUseAs% False \
6334 -backoffIteration 1 \
6335 -saturationIteration 1 \
6336 -stopTestOnHighLoss 0 \
6337 -loadType $loadType \
6338 -stepLoadUnit percentMaxRate \
6339 -customLoadUnit percentMaxRate \
6340 -comboLoadUnit percentMaxRate \
6341 -binaryLoadUnit percentMaxRate \
6342 -initialBinaryLoadRate 100 \
6343 -minBinaryLoadRate 1 \
6344 -maxBinaryLoadRate 100 \
6345 -binaryResolution 1 \
6347 -binaryTolerance $tolerance \
6348 -binaryFrameLossUnit % \
6349 -comboFrameLossUnit % \
6350 -stepFrameLossUnit % \
6351 -initialStepLoadRate 10 \
6352 -maxStepLoadRate 100 \
6353 -stepStepLoadRate 10 \
6355 -initialComboLoadRate 10 \
6356 -maxComboLoadRate 100 \
6357 -minComboLoadRate 10 \
6358 -stepComboLoadRate 10 \
6359 -comboResolution 1 \
6362 -binarySearchType linear \
6363 -unchangedValueList {0} \
6364 -enableFastConvergence $fastConvergence \
6365 -fastConvergenceDuration $convergenceDuration \
6366 -fastConvergenceThreshold 10 \
6367 -framesizeFixedValue $frameSize \
6369 -unchangedInitial False \
6370 -generateTrackingOptionAggregationFiles False \
6371 -enableExtraIterations False \
6372 -extraIterationOffsets {10, -10} \
6373 -usePercentOffsets False \
6374 -imixDistribution weight \
6377 -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}}}} \
6378 -imixEnabled False \
6379 -imixTemplates none \
6380 -framesizeImixList $frameSize \
6381 -imixTrafficType {UNCHNAGED} \
6382 -mapType {oneToOne} \
6383 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6384 ixNet setMultiAttrs $sg_rfc2544throughput/learnFrames \
6385 -learnFrequency $learningFrequency \
6386 -learnNumFrames 10 \
6388 -learnWaitTime 1000 \
6389 -learnFrameSize $frameSize \
6390 -fastPathLearnFrameSize $frameSize \
6391 -learnWaitTimeBeforeTransmit 0 \
6392 -learnSendMacOnly False \
6393 -learnSendRouterSolicitation False \
6394 -fastPathEnable $fastPathEnable \
6396 -fastPathNumFrames 10
6397 ixNet setMultiAttrs $sg_rfc2544throughput/passCriteria \
6398 -passCriteriaLoadRateMode average \
6399 -passCriteriaLoadRateValue 100 \
6400 -passCriteriaLoadRateScale mbps \
6401 -enablePassFail False \
6402 -enableRatePassFail False \
6403 -enableLatencyPassFail False \
6404 -enableStandardDeviationPassFail False \
6405 -latencyThresholdValue 10 \
6406 -latencyThresholdScale us \
6407 -latencyThresholdMode average \
6408 -latencyVariationThresholdValue 0 \
6409 -latencyVariationThresholdScale us \
6410 -latencyVarThresholdMode average \
6411 -enableSequenceErrorsPassFail False \
6412 -seqErrorsThresholdValue 0 \
6413 -seqErrorsThresholdMode average \
6414 -enableDataIntegrityPassFail False \
6415 -dataErrorThresholdValue 0 \
6416 -dataErrorThresholdMode average
6418 set sg_rfc2544throughput [lindex [ixNet remapIds $sg_rfc2544throughput] 0]
6419 set ixNetSG_Stack(1) $sg_rfc2544throughput
6422 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/protocols
6424 set sg_protocols $ixNetSG_Stack(1)/protocols
6425 ixNet setMultiAttrs $sg_protocols \
6426 -protocolState default \
6427 -waitAfterStart 120 \
6430 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6433 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/trafficSelection:1
6435 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6436 ixNet setMultiAttrs $sg_trafficSelection \
6437 -id $ixNetSG_ref(26) \
6438 -includeMode inTest \
6439 -itemType trafficItem
6441 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6444 } elseif {$rfc2544TestType == "back2back"} {
6446 # configuring the object that corresponds to /quickTest/rfc2544back2back:2
6448 set sg_rfc2544back2back [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544back2back]
6449 ixNet setMultiAttrs $sg_rfc2544back2back \
6451 -mode existingMode \
6452 -inputParameters {{}}
6453 ixNet setMultiAttrs $sg_rfc2544back2back/testConfig \
6455 -framesize $frameSize \
6456 -reportTputRateUnit mbps \
6457 -rfc2544ImixDataQoS False \
6458 -detailedResultsEnabled True \
6459 -rfc2889ordering noOrdering \
6460 -floodedFramesEnabled False \
6461 -duration $duration \
6462 -numtrials $numTests \
6463 -trafficType constantLoading \
6465 -framesPerBurstGap 1 \
6467 -frameLossUnit {0} \
6468 -staggeredStart False \
6469 -framesizeList $frameSize \
6470 -frameSizeMode custom \
6471 -rateSelect percentMaxRate \
6472 -percentMaxRate 100 \
6474 -forceRegenerate False \
6475 -reportSequenceError False \
6478 -loadRateList $frameRate \
6482 -delayAfterTransmit 2 \
6483 -minRandomFrameSize 64 \
6484 -maxRandomFrameSize 1518 \
6485 -countRandomFrameSize 1 \
6486 -minIncrementFrameSize 64 \
6487 -stepIncrementFrameSize 64 \
6488 -maxIncrementFrameSize 1518 \
6489 -calculateLatency False \
6490 -calibrateLatency False \
6491 -latencyType cutThrough \
6492 -calculateJitter False \
6493 -enableDataIntegrity False \
6494 -loadType $loadType \
6495 -binaryFrameLossUnit % \
6496 -loadUnit percentMaxRate \
6497 -customLoadUnit percentMaxRate \
6498 -randomLoadUnit percentMaxRate \
6499 -incrementLoadUnit percentMaxRate \
6500 -binaryResolution 1000 \
6502 -binaryTolerance $tolerance \
6503 -initialIncrementLoadRate 100 \
6504 -stepIncrementLoadRate 10 \
6505 -maxIncrementLoadRate 100 \
6506 -minRandomLoadRate 10 \
6507 -maxRandomLoadRate 80 \
6508 -countRandomLoadRate 1 \
6509 -numFrames {100000} \
6511 -enableMinFrameSize True \
6513 -generateTrackingOptionAggregationFiles False \
6514 -sendFullyMeshed False \
6515 -imixDistribution weight \
6518 -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}}}} \
6519 -imixEnabled False \
6520 -imixTemplates none \
6521 -framesizeImixList $frameSize \
6522 -imixTrafficType {UNCHNAGED} \
6523 -ipRatioMode fixed \
6524 -ipv4RatioList {10,25,50,75,90} \
6525 -ipv6RatioList {90,75,50,25,10} \
6526 -minIncrementIpv4Ratio {10} \
6527 -stepIncrementIpv4Ratio {10} \
6528 -maxIncrementIpv4Ratio {90} \
6529 -minIncrementIpv6Ratio {90} \
6530 -stepIncrementIpv6Ratio {-10} \
6531 -maxIncrementIpv6Ratio {10} \
6532 -minRandomIpv4Ratio {10} \
6533 -maxRandomIpv4Ratio {90} \
6534 -minRandomIpv6Ratio {90} \
6535 -maxRandomIpv6Ratio {10} \
6536 -countRandomIpRatio 1 \
6537 -mapType {oneToOne|manyToMany|fullMesh} \
6538 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6539 ixNet setMultiAttrs $sg_rfc2544back2back/learnFrames \
6540 -learnFrequency $learningFrequency \
6541 -learnNumFrames 10 \
6543 -learnWaitTime 1000 \
6544 -learnFrameSize 64 \
6545 -fastPathLearnFrameSize 64 \
6546 -learnWaitTimeBeforeTransmit 0 \
6547 -learnSendMacOnly False \
6548 -learnSendRouterSolicitation False \
6549 -fastPathEnable $fastPathEnable \
6551 -fastPathNumFrames 10
6552 ixNet setMultiAttrs $sg_rfc2544back2back/passCriteria \
6553 -passCriteriaLoadRateMode average \
6554 -passCriteriaLoadRateValue 100 \
6555 -passCriteriaLoadRateScale mbps \
6556 -enablePassFail False \
6557 -enableRatePassFail False \
6558 -enableLatencyPassFail False \
6559 -enableStandardDeviationPassFail False \
6560 -latencyThresholdValue 10 \
6561 -latencyThresholdScale us \
6562 -latencyThresholdMode average \
6563 -latencyVariationThresholdValue 0 \
6564 -latencyVariationThresholdScale us \
6565 -latencyVarThresholdMode average \
6566 -enableSequenceErrorsPassFail False \
6567 -seqErrorsThresholdValue 0 \
6568 -seqErrorsThresholdMode average \
6569 -enableDataIntegrityPassFail False \
6570 -dataErrorThresholdValue 0 \
6571 -dataErrorThresholdMode average \
6572 -enableFrameCountPassFail False \
6573 -passCriteriaFrameCountValue 100 \
6574 -passCriteriaFrameCountMode average
6576 set sg_rfc2544back2back [lindex [ixNet remapIds $sg_rfc2544back2back] 0]
6577 set ixNetSG_Stack(1) $sg_rfc2544back2back
6580 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/protocols
6582 set sg_protocols $ixNetSG_Stack(1)/protocols
6583 ixNet setMultiAttrs $sg_protocols \
6584 -protocolState default \
6585 -waitAfterStart 120 \
6588 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6591 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/trafficSelection:1
6593 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6594 ixNet setMultiAttrs $sg_trafficSelection \
6595 -id $ixNetSG_ref(26) \
6596 -includeMode inTest \
6597 -itemType trafficItem
6599 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6603 # getting and applying the RFC2544 test
6605 set root [ixNet getRoot]
6606 set qt [ixNet getList $root quickTest]
6607 if {$rfc2544TestType == "throughput"} {
6608 set rfc2544test [ixNet getList $qt rfc2544throughput]
6609 } elseif {$rfc2544TestType == "back2back"} {
6610 set rfc2544test [ixNet getList $qt rfc2544back2back]
6612 ixNet exec apply $rfc2544test
6616 # starting the RFC2544 Throughput test
6618 puts "Starting test..."
6619 ixNet exec start $rfc2544test
6622 proc waitForRfc2544Test { } {
6623 # Wait for- and return results of- RFC2544 quicktest.
6627 puts "Waiting for test to complete..."
6628 set result [ixNet exec waitForTest $rfc2544test]
6629 puts "Finished Test"