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 True
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 fastConvergence True
154 set convergenceDuration [expr $duration/10]
158 # extract nested dictionaries
159 set trafficSpec_l2 [dict get $trafficSpec l2]
160 set trafficSpec_l3 [dict get $trafficSpec l3]
161 set trafficSpec_l4 [dict get $trafficSpec l4]
162 set trafficSpec_vlan [dict get $trafficSpec vlan]
164 set frameSize [dict get $trafficSpec_l2 framesize]
165 set srcMac [dict get $trafficSpec_l2 srcmac]
166 set dstMac [dict get $trafficSpec_l2 dstmac]
168 set proto [dict get $trafficSpec_l3 proto]
169 set srcIp [dict get $trafficSpec_l3 srcip]
170 set dstIp [dict get $trafficSpec_l3 dstip]
172 set srcPort [dict get $trafficSpec_l4 srcport]
173 set dstPort [dict get $trafficSpec_l4 dstport]
175 set l3Enabled [dict get $trafficSpec_l3 enabled]
176 set l4Enabled [dict get $trafficSpec_l4 enabled]
177 set vlanEnabled [dict get $trafficSpec_vlan enabled]
179 if {$vlanEnabled == 1 } {
180 # these keys won't exist if vlan wasn't enabled
181 set vlanId [dict get $trafficSpec_vlan id]
182 set vlanUserPrio [dict get $trafficSpec_vlan priority]
183 set vlanCfi [dict get $trafficSpec_vlan cfi]
190 if {$frameSize < 68 } {
191 if {$rfc2544TestType == "back2back"} {
192 puts "INFO: Packet size too small, packet size will be \
193 increased to 68 for this test"
198 set VERSION [package require IxTclNetwork]
200 ###################################################################
201 ############################ Operation ############################
202 ###################################################################
204 puts "Connecting to IxNetwork machine..."
206 ixNet connect $::IxNserver -port $::IxNport -version $VERSION
208 puts "Connected to IxNetwork machine"
210 puts "Configuring IxNetwork machine..."
213 proc sg_commit {} {ixNet commit}
216 ixNet setSessionParameter version 6.30.701.16
217 ixNet execute newConfig
218 set ixNetSG_Stack(0) [ixNet getRoot]
221 # setting global options
223 set sg_top [ixNet getRoot]
224 ixNet setMultiAttrs $sg_top/availableHardware \
227 ixNet setMultiAttrs $sg_top/globals/preferences \
228 -connectPortsOnLoadConfig True \
229 -rebootPortsOnConnect False
230 ixNet setMultiAttrs $sg_top/globals/interfaces \
233 -sendSingleArpPerGateway True \
234 -sendSingleNsPerGateway True
235 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/checksums \
236 -dropRxL2FcsErrors False \
237 -correctTxL2FcsErrors False \
238 -alwaysCorrectWhenModifying True \
239 -correctTxChecksumOverIp False \
240 -correctTxIpv4Checksum False
241 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/rxRateLimit \
244 -units {kKilobitsPerSecond}
245 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/drop \
249 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/reorder \
254 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/duplicate \
259 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/bitError \
264 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delay \
267 -units {kMicroseconds}
268 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delayVariation \
271 -units {kMicroseconds} \
272 -distribution {kUniform} \
273 -exponentialMeanArrival 0 \
274 -gaussianStandardDeviation 0
275 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/customDelayVariation \
278 ixNet setMultiAttrs $sg_top/statistics \
279 -additionalFcoeStat2 fcoeInvalidFrames \
280 -csvLogPollIntervalMultiplier 1 \
282 -guardrailEnabled True \
283 -enableCsvLogging False \
284 -dataStorePollingIntervalMultiplier 1 \
285 -maxNumberOfStatsPerCustomGraph 16 \
286 -additionalFcoeStat1 fcoeInvalidDelimiter \
287 -timestampPrecision 3 \
288 -enableDataCenterSharedStats False \
289 -timeSynchronization syncTimeToTestStart \
290 -enableAutoDataStore False
291 ixNet setMultiAttrs $sg_top/statistics/measurementMode \
292 -measurementMode mixedMode
293 ixNet setMultiAttrs $sg_top/eventScheduler \
294 -licenseServerLocation {127.0.0.1}
295 ixNet setMultiAttrs $sg_top/traffic \
296 -destMacRetryCount 1 \
297 -maxTrafficGenerationQueries 500 \
298 -enableStaggeredTransmit False \
299 -learningFrameSize $frameSize \
301 -enableDestMacRetry True \
302 -enableMulticastScalingFactor False \
303 -destMacRetryDelay 5 \
304 -largeErrorThreshhold 2 \
305 -refreshLearnedInfoBeforeApply False \
306 -enableMinFrameSize True \
307 -macChangeOnFly False \
309 -enableInstantaneousStatsSupport False \
310 -learningFramesCount 10 \
311 -globalStreamControl continuous \
312 -displayMplsCurrentLabelValue False \
313 -mplsLabelLearningTimeout 30 \
314 -enableStaggeredStartDelay True \
315 -enableDataIntegrityCheck False \
316 -enableSequenceChecking False \
317 -globalStreamControlIterations 1 \
318 -enableStreamOrdering False \
319 -frameOrderingMode none \
320 -learningFramesRate 100
321 ixNet setMultiAttrs $sg_top/traffic/statistics/latency \
324 ixNet setMultiAttrs $sg_top/traffic/statistics/interArrivalTimeRate \
326 ixNet setMultiAttrs $sg_top/traffic/statistics/delayVariation \
328 -statisticsMode rxDelayVariationErrorsAndRate \
329 -latencyMode storeForward \
330 -largeSequenceNumberErrorThreshold 2
331 ixNet setMultiAttrs $sg_top/traffic/statistics/sequenceChecking \
333 -sequenceMode rxThreshold
334 ixNet setMultiAttrs $sg_top/traffic/statistics/advancedSequenceChecking \
336 -advancedSequenceThreshold 1
337 ixNet setMultiAttrs $sg_top/traffic/statistics/cpdpConvergence \
339 -dataPlaneJitterWindow 10485760 \
340 -dataPlaneThreshold 95 \
341 -enableDataPlaneEventsRateMonitor False \
342 -enableControlPlaneEvents False
343 ixNet setMultiAttrs $sg_top/traffic/statistics/packetLossDuration \
345 ixNet setMultiAttrs $sg_top/traffic/statistics/dataIntegrity \
347 ixNet setMultiAttrs $sg_top/traffic/statistics/errorStats \
349 ixNet setMultiAttrs $sg_top/traffic/statistics/prbs \
351 ixNet setMultiAttrs $sg_top/traffic/statistics/iptv \
353 ixNet setMultiAttrs $sg_top/traffic/statistics/l1Rates \
355 ixNet setMultiAttrs $sg_top/quickTest/globals \
356 -productLabel {Your switch/router name here} \
357 -serialNumber {Your switch/router serial number here} \
358 -version {Your firmware version here} \
360 -titlePageComments {} \
361 -maxLinesToDisplay 100 \
362 -enableCheckLinkState False \
363 -enableAbortIfLinkDown False \
364 -enableSwitchToStats True \
365 -enableCapture False \
366 -enableSwitchToResult True \
367 -enableGenerateReportAfterRun False \
368 -enableRebootCpu False \
369 -saveCaptureBeforeRun False \
371 -sleepTimeAfterReboot 10 \
372 -useDefaultRootPath False \
373 -outputRootPath $::output_dir
375 set sg_top [lindex [ixNet remapIds $sg_top] 0]
376 set ixNetSG_Stack(0) $sg_top
383 # configuring the object that corresponds to /vport:1
385 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
386 ixNet setMultiAttrs $sg_vport \
387 -transmitIgnoreLinkStatus False \
388 -txGapControlMode averageMode \
390 -connectedTo ::ixNet::OBJ-null \
391 -txMode interleaved \
393 -rxMode captureAndMeasure \
394 -name {10GE LAN - 001}
395 ixNet setMultiAttrs $sg_vport/l1Config \
396 -currentType tenGigLan
397 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
399 -flowControlDirectedAddress "01 80 C2 00 00 01" \
401 -autoInstrumentation endOfFrame \
402 -transmitClocking internal \
403 -txIgnoreRxLinkFaults False \
405 -enableLASIMonitoring False \
406 -enabledFlowControl True
407 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
411 -vendorSpecificInformation {00 00 00 00} \
412 -macAddress "00:00:00:00:00:00" \
416 -enableTlvOption False \
418 -organizationUniqueIdentifier {000000}
419 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
420 -supportDataCenterMode False \
421 -priorityGroupSize priorityGroupSize-8 \
423 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
424 -flowControlType ieee802.1Qbb \
425 -enablePFCPauseDelay False
426 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
428 -flowControlDirectedAddress "01 80 C2 00 00 01" \
430 -autoInstrumentation endOfFrame \
431 -transmitClocking internal \
432 -txIgnoreRxLinkFaults False \
434 -enableLASIMonitoring False \
435 -enabledFlowControl False
436 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
437 -supportDataCenterMode False \
438 -priorityGroupSize priorityGroupSize-8 \
440 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
441 -flowControlType ieee802.1Qbb \
442 -enablePFCPauseDelay False
443 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
447 -vendorSpecificInformation {00 00 00 00} \
448 -macAddress "00:00:00:00:00:00" \
452 -enableTlvOption False \
454 -organizationUniqueIdentifier {000000}
455 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
456 -sourceAddress1Mask {00:00:00:00:00:00} \
457 -destinationAddress1Mask {00:00:00:00:00:00} \
458 -sourceAddress2 {00:00:00:00:00:00} \
459 -pattern2OffsetType fromStartOfFrame \
462 -sourceAddress2Mask {00:00:00:00:00:00} \
463 -destinationAddress2 {00:00:00:00:00:00} \
464 -destinationAddress1 {00:00:00:00:00:00} \
465 -sourceAddress1 {00:00:00:00:00:00} \
467 -destinationAddress2Mask {00:00:00:00:00:00} \
471 -pattern1OffsetType fromStartOfFrame
472 ixNet setMultiAttrs $sg_vport/protocols/arp \
474 ixNet setMultiAttrs $sg_vport/protocols/bfd \
477 -packetsPerInterval 0
478 ixNet setMultiAttrs $sg_vport/protocols/bgp \
479 -autoFillUpDutIp False \
480 -disableReceivedUpdateValidation False \
481 -enableAdVplsPrefixLengthInBits False \
482 -enableExternalActiveConnect True \
483 -enableInternalActiveConnect True \
484 -enableVpnLabelExchangeOverLsp True \
487 -externalRetryDelay 120 \
489 -internalRetryDelay 120 \
491 -triggerVplsPwInitiation False
492 ixNet setMultiAttrs $sg_vport/protocols/cfm \
493 -enableOptionalLmFunctionality False \
494 -enableOptionalTlvValidation True \
498 -suppressErrorsOnAis True
499 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
501 ixNet setMultiAttrs $sg_vport/protocols/elmi \
503 ixNet setMultiAttrs $sg_vport/protocols/igmp \
508 -sendLeaveOnStop True \
509 -statsEnabled False \
511 ixNet setMultiAttrs $sg_vport/protocols/isis \
512 -allL1RbridgesMac "01:80:c2:00:00:40" \
513 -emulationType isisL3Routing \
515 -helloMulticastMac "01:80:c2:00:00:41" \
516 -lspMgroupPdusPerInterval 0 \
518 -rateControlInterval 0 \
519 -sendP2PHellosToUnicastMac True \
520 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
521 -spbHelloMulticastMac "09:00:2b:00:00:05" \
523 ixNet setMultiAttrs $sg_vport/protocols/lacp \
524 -enablePreservePartnerInfo False \
526 ixNet setMultiAttrs $sg_vport/protocols/ldp \
527 -enableDiscardSelfAdvFecs False \
528 -enableHelloJitter True \
529 -enableVpnLabelExchangeOverLsp True \
533 -keepAliveHoldTime 30 \
534 -keepAliveInterval 10 \
535 -p2mpCapabilityParam 1288 \
537 -targetedHelloInterval 15 \
538 -targetedHoldTime 45 \
539 -useTransportLabelsForMplsOam False
540 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
542 ixNet setMultiAttrs $sg_vport/protocols/lisp \
543 -burstIntervalInMs 0 \
545 -ipv4MapRegisterPacketsPerBurst 0 \
546 -ipv4MapRequestPacketsPerBurst 0 \
547 -ipv4SmrPacketsPerBurst 0 \
548 -ipv6MapRegisterPacketsPerBurst 0 \
549 -ipv6MapRequestPacketsPerBurst 0 \
550 -ipv6SmrPacketsPerBurst 0
551 ixNet setMultiAttrs $sg_vport/protocols/mld \
552 -enableDoneOnStop True \
554 -mldv2Report type143 \
559 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
561 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
562 -apsChannelType {00 02 } \
563 -bfdCcChannelType {00 07 } \
564 -delayManagementChannelType {00 05 } \
565 -enableHighPerformanceMode True \
567 -faultManagementChannelType {00 58 } \
568 -lossMeasurementChannelType {00 04 } \
569 -onDemandCvChannelType {00 09 } \
570 -pwStatusChannelType {00 0B } \
571 -y1731ChannelType {7F FA }
572 ixNet setMultiAttrs $sg_vport/protocols/ospf \
573 -enableDrOrBdr False \
575 -floodLinkStateUpdatesPerInterval 0 \
576 -rateControlInterval 0
577 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
579 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
580 -bsmFramePerInterval 0 \
581 -crpFramePerInterval 0 \
582 -dataMdtFramePerInterval 0 \
583 -denyGrePimIpPrefix {0.0.0.0/32} \
584 -enableDiscardJoinPruneProcessing False \
585 -enableRateControl False \
587 -helloMsgsPerInterval 0 \
589 -joinPruneMessagesPerInterval 0 \
590 -registerMessagesPerInterval 0 \
591 -registerStopMessagesPerInterval 0
592 ixNet setMultiAttrs $sg_vport/protocols/ping \
594 ixNet setMultiAttrs $sg_vport/protocols/rip \
596 ixNet setMultiAttrs $sg_vport/protocols/ripng \
598 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
599 -enableControlLspInitiationRate False \
600 -enableShowTimeValue False \
601 -enableVpnLabelExchangeOverLsp True \
603 -maxLspInitiationsPerSec 400 \
604 -useTransportLabelsForMplsOam False
605 ixNet setMultiAttrs $sg_vport/protocols/stp \
607 ixNet setMultiAttrs $sg_vport/rateControlParameters \
608 -maxRequestsPerBurst 1 \
609 -maxRequestsPerSec 250 \
610 -minRetryInterval 10 \
612 -sendInBursts False \
613 -sendRequestsAsFastAsPossible False
614 ixNet setMultiAttrs $sg_vport/capture \
615 -controlCaptureTrigger {} \
616 -controlCaptureFilter {} \
617 -hardwareEnabled False \
618 -softwareEnabled False \
619 -displayFiltersDataCapture {} \
620 -displayFiltersControlCapture {} \
621 -controlBufferSize 30 \
622 -controlBufferBehaviour bufferLiveNonCircular
623 ixNet setMultiAttrs $sg_vport/protocolStack/options \
624 -routerSolicitationDelay 1 \
625 -routerSolicitationInterval 4 \
626 -routerSolicitations 3 \
630 -ipv4RetransTime 3000 \
633 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
634 set ixNetSG_ref(2) $sg_vport
635 set ixNetSG_Stack(1) $sg_vport
638 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:1
640 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
641 ixNet setMultiAttrs $sg_uds \
642 -destinationAddressSelector anyAddr \
643 -customFrameSizeTo 0 \
644 -customFrameSizeFrom 0 \
646 -patternSelector anyPattern \
647 -sourceAddressSelector anyAddr \
651 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
654 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:2
656 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
657 ixNet setMultiAttrs $sg_uds \
658 -destinationAddressSelector anyAddr \
659 -customFrameSizeTo 0 \
660 -customFrameSizeFrom 0 \
662 -patternSelector anyPattern \
663 -sourceAddressSelector anyAddr \
667 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
670 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:3
672 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
673 ixNet setMultiAttrs $sg_uds \
674 -destinationAddressSelector anyAddr \
675 -customFrameSizeTo 0 \
676 -customFrameSizeFrom 0 \
678 -patternSelector anyPattern \
679 -sourceAddressSelector anyAddr \
683 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
686 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:4
688 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
689 ixNet setMultiAttrs $sg_uds \
690 -destinationAddressSelector anyAddr \
691 -customFrameSizeTo 0 \
692 -customFrameSizeFrom 0 \
694 -patternSelector anyPattern \
695 -sourceAddressSelector anyAddr \
699 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
702 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:5
704 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
705 ixNet setMultiAttrs $sg_uds \
706 -destinationAddressSelector anyAddr \
707 -customFrameSizeTo 0 \
708 -customFrameSizeFrom 0 \
710 -patternSelector anyPattern \
711 -sourceAddressSelector anyAddr \
715 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
718 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:6
720 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
721 ixNet setMultiAttrs $sg_uds \
722 -destinationAddressSelector anyAddr \
723 -customFrameSizeTo 0 \
724 -customFrameSizeFrom 0 \
726 -patternSelector anyPattern \
727 -sourceAddressSelector anyAddr \
731 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
734 # configuring the object that corresponds to /vport:1/protocols/static/lan:1
736 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
737 ixNet setMultiAttrs $sg_lan \
738 -atmEncapsulation ::ixNet::OBJ-null \
739 -count $L2CountValue \
741 -enableIncrementMac $L2Increment \
742 -enableIncrementVlan False \
743 -enableSiteId False \
746 -frEncapsulation ::ixNet::OBJ-null \
747 -incrementPerVcVlanMode noIncrement \
748 -incrementVlanMode noIncrement \
750 -macRangeMode normal \
753 -skipVlanIdZero True \
755 -trafficGroupId ::ixNet::OBJ-null \
760 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
764 # configuring the object that corresponds to /vport:2
766 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
767 ixNet setMultiAttrs $sg_vport \
768 -transmitIgnoreLinkStatus False \
769 -txGapControlMode averageMode \
771 -connectedTo ::ixNet::OBJ-null \
772 -txMode interleaved \
774 -rxMode captureAndMeasure \
775 -name {10GE LAN - 002}
776 ixNet setMultiAttrs $sg_vport/l1Config \
777 -currentType tenGigLan
778 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
780 -flowControlDirectedAddress "01 80 C2 00 00 01" \
782 -autoInstrumentation endOfFrame \
783 -transmitClocking internal \
784 -txIgnoreRxLinkFaults False \
786 -enableLASIMonitoring False \
787 -enabledFlowControl False
788 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
792 -vendorSpecificInformation {00 00 00 00} \
793 -macAddress "00:00:00:00:00:00" \
797 -enableTlvOption False \
799 -organizationUniqueIdentifier {000000}
800 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
801 -supportDataCenterMode False \
802 -priorityGroupSize priorityGroupSize-8 \
804 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
805 -flowControlType ieee802.1Qbb \
806 -enablePFCPauseDelay False
807 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
809 -flowControlDirectedAddress "01 80 C2 00 00 01" \
811 -autoInstrumentation endOfFrame \
812 -transmitClocking internal \
813 -txIgnoreRxLinkFaults False \
815 -enableLASIMonitoring False \
816 -enabledFlowControl False
817 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
818 -supportDataCenterMode False \
819 -priorityGroupSize priorityGroupSize-8 \
821 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
822 -flowControlType ieee802.1Qbb \
823 -enablePFCPauseDelay False
824 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
828 -vendorSpecificInformation {00 00 00 00} \
829 -macAddress "00:00:00:00:00:00" \
833 -enableTlvOption False \
835 -organizationUniqueIdentifier {000000}
836 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
837 -sourceAddress1Mask {00:00:00:00:00:00} \
838 -destinationAddress1Mask {00:00:00:00:00:00} \
839 -sourceAddress2 {00:00:00:00:00:00} \
840 -pattern2OffsetType fromStartOfFrame \
843 -sourceAddress2Mask {00:00:00:00:00:00} \
844 -destinationAddress2 {00:00:00:00:00:00} \
845 -destinationAddress1 {00:00:00:00:00:00} \
846 -sourceAddress1 {00:00:00:00:00:00} \
848 -destinationAddress2Mask {00:00:00:00:00:00} \
852 -pattern1OffsetType fromStartOfFrame
853 ixNet setMultiAttrs $sg_vport/protocols/arp \
855 ixNet setMultiAttrs $sg_vport/protocols/bfd \
858 -packetsPerInterval 0
859 ixNet setMultiAttrs $sg_vport/protocols/bgp \
860 -autoFillUpDutIp False \
861 -disableReceivedUpdateValidation False \
862 -enableAdVplsPrefixLengthInBits False \
863 -enableExternalActiveConnect True \
864 -enableInternalActiveConnect True \
865 -enableVpnLabelExchangeOverLsp True \
868 -externalRetryDelay 120 \
870 -internalRetryDelay 120 \
872 -triggerVplsPwInitiation False
873 ixNet setMultiAttrs $sg_vport/protocols/cfm \
874 -enableOptionalLmFunctionality False \
875 -enableOptionalTlvValidation True \
879 -suppressErrorsOnAis True
880 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
882 ixNet setMultiAttrs $sg_vport/protocols/elmi \
884 ixNet setMultiAttrs $sg_vport/protocols/igmp \
889 -sendLeaveOnStop True \
890 -statsEnabled False \
892 ixNet setMultiAttrs $sg_vport/protocols/isis \
893 -allL1RbridgesMac "01:80:c2:00:00:40" \
894 -emulationType isisL3Routing \
896 -helloMulticastMac "01:80:c2:00:00:41" \
897 -lspMgroupPdusPerInterval 0 \
899 -rateControlInterval 0 \
900 -sendP2PHellosToUnicastMac True \
901 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
902 -spbHelloMulticastMac "09:00:2b:00:00:05" \
904 ixNet setMultiAttrs $sg_vport/protocols/lacp \
905 -enablePreservePartnerInfo False \
907 ixNet setMultiAttrs $sg_vport/protocols/ldp \
908 -enableDiscardSelfAdvFecs False \
909 -enableHelloJitter True \
910 -enableVpnLabelExchangeOverLsp True \
914 -keepAliveHoldTime 30 \
915 -keepAliveInterval 10 \
916 -p2mpCapabilityParam 1288 \
918 -targetedHelloInterval 15 \
919 -targetedHoldTime 45 \
920 -useTransportLabelsForMplsOam False
921 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
923 ixNet setMultiAttrs $sg_vport/protocols/lisp \
924 -burstIntervalInMs 0 \
926 -ipv4MapRegisterPacketsPerBurst 0 \
927 -ipv4MapRequestPacketsPerBurst 0 \
928 -ipv4SmrPacketsPerBurst 0 \
929 -ipv6MapRegisterPacketsPerBurst 0 \
930 -ipv6MapRequestPacketsPerBurst 0 \
931 -ipv6SmrPacketsPerBurst 0
932 ixNet setMultiAttrs $sg_vport/protocols/mld \
933 -enableDoneOnStop True \
935 -mldv2Report type143 \
940 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
942 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
943 -apsChannelType {00 02 } \
944 -bfdCcChannelType {00 07 } \
945 -delayManagementChannelType {00 05 } \
946 -enableHighPerformanceMode True \
948 -faultManagementChannelType {00 58 } \
949 -lossMeasurementChannelType {00 04 } \
950 -onDemandCvChannelType {00 09 } \
951 -pwStatusChannelType {00 0B } \
952 -y1731ChannelType {7F FA }
953 ixNet setMultiAttrs $sg_vport/protocols/ospf \
954 -enableDrOrBdr False \
956 -floodLinkStateUpdatesPerInterval 0 \
957 -rateControlInterval 0
958 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
960 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
961 -bsmFramePerInterval 0 \
962 -crpFramePerInterval 0 \
963 -dataMdtFramePerInterval 0 \
964 -denyGrePimIpPrefix {0.0.0.0/32} \
965 -enableDiscardJoinPruneProcessing False \
966 -enableRateControl False \
968 -helloMsgsPerInterval 0 \
970 -joinPruneMessagesPerInterval 0 \
971 -registerMessagesPerInterval 0 \
972 -registerStopMessagesPerInterval 0
973 ixNet setMultiAttrs $sg_vport/protocols/ping \
975 ixNet setMultiAttrs $sg_vport/protocols/rip \
977 ixNet setMultiAttrs $sg_vport/protocols/ripng \
979 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
980 -enableControlLspInitiationRate False \
981 -enableShowTimeValue False \
982 -enableVpnLabelExchangeOverLsp True \
984 -maxLspInitiationsPerSec 400 \
985 -useTransportLabelsForMplsOam False
986 ixNet setMultiAttrs $sg_vport/protocols/stp \
988 ixNet setMultiAttrs $sg_vport/rateControlParameters \
989 -maxRequestsPerBurst 1 \
990 -maxRequestsPerSec 250 \
991 -minRetryInterval 10 \
993 -sendInBursts False \
994 -sendRequestsAsFastAsPossible False
995 ixNet setMultiAttrs $sg_vport/capture \
996 -controlCaptureTrigger {} \
997 -controlCaptureFilter {} \
998 -hardwareEnabled False \
999 -softwareEnabled False \
1000 -displayFiltersDataCapture {} \
1001 -displayFiltersControlCapture {} \
1002 -controlBufferSize 30 \
1003 -controlBufferBehaviour bufferLiveNonCircular
1004 ixNet setMultiAttrs $sg_vport/protocolStack/options \
1005 -routerSolicitationDelay 1 \
1006 -routerSolicitationInterval 4 \
1007 -routerSolicitations 3 \
1011 -ipv4RetransTime 3000 \
1014 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
1015 set ixNetSG_ref(10) $sg_vport
1016 set ixNetSG_Stack(1) $sg_vport
1019 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:1
1021 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
1022 ixNet setMultiAttrs $sg_uds \
1023 -destinationAddressSelector anyAddr \
1024 -customFrameSizeTo 0 \
1025 -customFrameSizeFrom 0 \
1026 -error errAnyFrame \
1027 -patternSelector anyPattern \
1028 -sourceAddressSelector anyAddr \
1032 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1035 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:2
1037 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
1038 ixNet setMultiAttrs $sg_uds \
1039 -destinationAddressSelector anyAddr \
1040 -customFrameSizeTo 0 \
1041 -customFrameSizeFrom 0 \
1042 -error errAnyFrame \
1043 -patternSelector anyPattern \
1044 -sourceAddressSelector anyAddr \
1048 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1051 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:3
1053 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
1054 ixNet setMultiAttrs $sg_uds \
1055 -destinationAddressSelector anyAddr \
1056 -customFrameSizeTo 0 \
1057 -customFrameSizeFrom 0 \
1058 -error errAnyFrame \
1059 -patternSelector anyPattern \
1060 -sourceAddressSelector anyAddr \
1064 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1067 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:4
1069 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
1070 ixNet setMultiAttrs $sg_uds \
1071 -destinationAddressSelector anyAddr \
1072 -customFrameSizeTo 0 \
1073 -customFrameSizeFrom 0 \
1074 -error errAnyFrame \
1075 -patternSelector anyPattern \
1076 -sourceAddressSelector anyAddr \
1080 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1083 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:5
1085 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
1086 ixNet setMultiAttrs $sg_uds \
1087 -destinationAddressSelector anyAddr \
1088 -customFrameSizeTo 0 \
1089 -customFrameSizeFrom 0 \
1090 -error errAnyFrame \
1091 -patternSelector anyPattern \
1092 -sourceAddressSelector anyAddr \
1096 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1099 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:6
1101 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
1102 ixNet setMultiAttrs $sg_uds \
1103 -destinationAddressSelector anyAddr \
1104 -customFrameSizeTo 0 \
1105 -customFrameSizeFrom 0 \
1106 -error errAnyFrame \
1107 -patternSelector anyPattern \
1108 -sourceAddressSelector anyAddr \
1112 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1115 # configuring the object that corresponds to /vport:2/protocols/static/lan:1
1117 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
1118 ixNet setMultiAttrs $sg_lan \
1119 -atmEncapsulation ::ixNet::OBJ-null \
1120 -count $L2CountValue \
1122 -enableIncrementMac $L2Increment \
1123 -enableIncrementVlan False \
1124 -enableSiteId False \
1127 -frEncapsulation ::ixNet::OBJ-null \
1128 -incrementPerVcVlanMode noIncrement \
1129 -incrementVlanMode noIncrement \
1131 -macRangeMode normal \
1134 -skipVlanIdZero True \
1136 -trafficGroupId ::ixNet::OBJ-null \
1141 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
1145 ### /availableHardware area
1149 # configuring the object that corresponds to /availableHardware/chassis"
1151 set sg_chassis [ixNet add $ixNetSG_Stack(0)/availableHardware chassis]
1152 ixNet setMultiAttrs $sg_chassis \
1156 -hostname $::chassis
1158 set sg_chassis [lindex [ixNet remapIds $sg_chassis] 0]
1159 set ixNetSG_Stack(1) $sg_chassis
1162 # configuring the object that corresponds to /availableHardware/chassis/card
1164 set sg_card $ixNetSG_Stack(1)/card:$::card
1165 ixNet setMultiAttrs $sg_card \
1166 -aggregationMode normal
1168 set sg_card [lindex [ixNet remapIds $sg_card] 0]
1169 set ixNetSG_ref(19) $sg_card
1170 set ixNetSG_Stack(2) $sg_card
1173 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:1
1175 set sg_aggregation $ixNetSG_Stack(2)/aggregation:1
1176 ixNet setMultiAttrs $sg_aggregation \
1179 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1182 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:2
1184 set sg_aggregation $ixNetSG_Stack(2)/aggregation:2
1185 ixNet setMultiAttrs $sg_aggregation \
1188 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1191 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:3
1193 set sg_aggregation $ixNetSG_Stack(2)/aggregation:3
1194 ixNet setMultiAttrs $sg_aggregation \
1197 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1200 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:4
1202 set sg_aggregation $ixNetSG_Stack(2)/aggregation:4
1203 ixNet setMultiAttrs $sg_aggregation \
1206 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1207 ixNet setMultiAttrs $ixNetSG_ref(2) \
1208 -connectedTo $ixNetSG_ref(19)/port:$::port1
1211 ixNet setMultiAttrs $ixNetSG_ref(10) \
1212 -connectedTo $ixNetSG_ref(19)/port:$::port2
1218 ### /impairment area
1222 # configuring the object that corresponds to /impairment/profile:3
1224 set sg_profile [ixNet add $ixNetSG_Stack(0)/impairment profile]
1225 ixNet setMultiAttrs $sg_profile \
1227 -name {Impairment Profile 1} \
1231 ixNet setMultiAttrs $sg_profile/checksums \
1232 -dropRxL2FcsErrors False \
1233 -correctTxL2FcsErrors False \
1234 -alwaysCorrectWhenModifying True \
1235 -correctTxChecksumOverIp False \
1236 -correctTxIpv4Checksum False
1237 ixNet setMultiAttrs $sg_profile/rxRateLimit \
1240 -units {kKilobitsPerSecond}
1241 ixNet setMultiAttrs $sg_profile/drop \
1245 ixNet setMultiAttrs $sg_profile/reorder \
1250 ixNet setMultiAttrs $sg_profile/duplicate \
1255 ixNet setMultiAttrs $sg_profile/bitError \
1260 ixNet setMultiAttrs $sg_profile/delay \
1263 -units {kMicroseconds}
1264 ixNet setMultiAttrs $sg_profile/delayVariation \
1267 -units {kMicroseconds} \
1268 -distribution {kUniform} \
1269 -exponentialMeanArrival 0 \
1270 -gaussianStandardDeviation 0
1271 ixNet setMultiAttrs $sg_profile/customDelayVariation \
1275 set sg_profile [lindex [ixNet remapIds $sg_profile] 0]
1276 set ixNetSG_Stack(1) $sg_profile
1279 # configuring the object that corresponds to /impairment/profile:3/fixedClassifier:1
1281 set sg_fixedClassifier [ixNet add $ixNetSG_Stack(1) fixedClassifier]
1283 set sg_fixedClassifier [lindex [ixNet remapIds $sg_fixedClassifier] 0]
1290 # configuring the object that corresponds to /traffic/trafficItem:1
1292 set sg_trafficItem [ixNet add $ixNetSG_Stack(0)/traffic trafficItem]
1293 ixNet setMultiAttrs $sg_trafficItem \
1294 -transportRsvpTePreference one \
1295 -trafficItemType l2L3 \
1296 -biDirectional $::biDirect \
1297 -mergeDestinations True \
1298 -hostsPerNetwork 1 \
1299 -transmitMode interleaved \
1301 -trafficType {ethernetVlan} \
1302 -interAsLdpPreference two \
1303 -allowSelfDestined $selfDestined \
1305 -maxNumberOfVpnLabelStack 2 \
1306 -interAsBgpPreference one \
1308 -transportLdpPreference two \
1309 -egressEnabled False \
1310 -enableDynamicMplsLabelValues False \
1311 -routeMesh oneToOne \
1312 -name {Traffic Item 1} \
1313 -srcDestMesh oneToOne
1315 set sg_trafficItem [lindex [ixNet remapIds $sg_trafficItem] 0]
1316 set ixNetSG_ref(26) $sg_trafficItem
1317 set ixNetSG_Stack(1) $sg_trafficItem
1320 # configuring the object that corresponds to /traffic/trafficItem:1/endpointSet:1
1322 set sg_endpointSet [ixNet add $ixNetSG_Stack(1) endpointSet]
1324 ixNet setMultiAttrs $sg_endpointSet \
1325 -destinations [list $ixNetSG_ref(10)/protocols] \
1326 -destinationFilter {} \
1329 -sources [list $ixNetSG_ref(2)/protocols] \
1330 -name {EndpointSet-1}
1332 ixNet setMultiAttrs $sg_endpointSet \
1333 -destinations [list $ixNetSG_ref(2)/protocols] \
1334 -destinationFilter {} \
1337 -sources [list $ixNetSG_ref(2)/protocols] \
1338 -name {EndpointSet-1}
1341 set sg_endpointSet [lindex [ixNet remapIds $sg_endpointSet] 0]
1344 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1
1346 set sg_configElement $ixNetSG_Stack(1)/configElement:1
1347 ixNet setMultiAttrs $sg_configElement \
1349 -preambleCustomSize 8 \
1350 -enableDisparityError False \
1351 -preambleFrameSizeMode auto \
1352 -destinationMacMode manual
1353 ixNet setMultiAttrs $sg_configElement/frameSize \
1361 -presetDistribution cisco \
1364 ixNet setMultiAttrs $sg_configElement/frameRate \
1365 -bitRateUnitsType bitsPerSec \
1367 -enforceMinimumInterPacketGap 0 \
1368 -type percentLineRate \
1369 -interPacketGapUnitsType nanoseconds
1370 ixNet setMultiAttrs $sg_configElement/framePayload \
1371 -type incrementByte \
1372 -customRepeat True \
1374 ixNet setMultiAttrs $sg_configElement/frameRateDistribution \
1375 -streamDistribution applyRateToAll \
1376 -portDistribution applyRateToAll
1377 ixNet setMultiAttrs $sg_configElement/transmissionControl \
1382 -interBurstGapUnits nanoseconds \
1386 -enableInterStreamGap False \
1387 -startDelayUnits bytes \
1389 -burstPacketCount 1 \
1390 -enableInterBurstGap False \
1393 set sg_configElement [lindex [ixNet remapIds $sg_configElement] 0]
1394 set ixNetSG_Stack(2) $sg_configElement
1397 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"
1399 set sg_stack $ixNetSG_Stack(2)/stack:"ethernet-$stack_number"
1401 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1402 set ixNetSG_Stack(3) $sg_stack
1406 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
1408 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
1409 ixNet setMultiAttrs $sg_field \
1410 -singleValue $dstMac \
1412 -optionalEnabled True \
1414 -valueList {{00:00:00:00:00:00}} \
1415 -stepValue {00:00:00:00:00:01} \
1416 -fixedBits {00:00:00:00:00:00} \
1417 -fieldValue $dstMac \
1419 -randomMask {00:00:00:00:00:00} \
1420 -trackingEnabled False \
1421 -valueType singleValue \
1422 -activeFieldChoice False \
1423 -startValue $dstMac \
1426 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1429 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
1431 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
1432 ixNet setMultiAttrs $sg_field \
1433 -singleValue $srcMac \
1435 -optionalEnabled True \
1437 -valueList {{00:00:00:00:00:00}} \
1438 -stepValue {00:00:00:00:00:00} \
1439 -fixedBits {00:00:00:00:00:00} \
1440 -fieldValue $srcMac \
1442 -randomMask {00:00:00:00:00:00} \
1443 -trackingEnabled False \
1444 -valueType singleValue \
1445 -activeFieldChoice False \
1446 -startValue $srcMac \
1449 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1452 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
1454 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
1455 ixNet setMultiAttrs $sg_field \
1456 -singleValue {800} \
1458 -optionalEnabled True \
1460 -valueList {{0xFFFF}} \
1461 -stepValue {0xFFFF} \
1462 -fixedBits {0xFFFF} \
1465 -randomMask {0xFFFF} \
1466 -trackingEnabled False \
1467 -valueType singleValue \
1468 -activeFieldChoice False \
1469 -startValue {0xFFFF} \
1472 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1475 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
1477 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
1478 ixNet setMultiAttrs $sg_field \
1481 -optionalEnabled True \
1489 -trackingEnabled False \
1490 -valueType singleValue \
1491 -activeFieldChoice False \
1495 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1497 if {$vlanEnabled == 1 } {
1498 set sg_stack $ixNetSG_Stack(2)/stack:"vlan-$stack_number"
1500 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1501 set ixNetSG_Stack(3) $sg_stack
1504 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanUserPriority-1"
1505 ixNet setMultiAttrs $sg_field \
1506 -singleValue $vlanUserPrio \
1508 -optionalEnabled true \
1510 -valueList [list 0] \
1513 -fieldValue $vlanUserPrio \
1516 -trackingEnabled false \
1517 -valueType singleValue \
1518 -activeFieldChoice false \
1522 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.cfi-2"
1523 ixNet setMultiAttrs $sg_field \
1524 -singleValue $vlanCfi \
1526 -optionalEnabled true \
1528 -valueList [list 0] \
1531 -fieldValue $vlanCfi \
1534 -trackingEnabled false \
1535 -valueType singleValue \
1536 -activeFieldChoice false \
1540 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanID-3"
1541 ixNet setMultiAttrs $sg_field \
1542 -singleValue $vlanId \
1544 -optionalEnabled true \
1546 -valueList [list 0] \
1549 -fieldValue $vlanId \
1552 -trackingEnabled false \
1553 -valueType singleValue \
1554 -activeFieldChoice false \
1558 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.protocolID-4"
1559 ixNet setMultiAttrs $sg_field \
1562 -optionalEnabled true \
1564 -valueList [list 0xffff] \
1569 -randomMask 0xffff \
1570 -trackingEnabled false \
1571 -valueType singleValue \
1572 -activeFieldChoice false \
1573 -startValue 0xffff \
1577 if {$l3Enabled == 1 } {
1579 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"
1581 set sg_stack $ixNetSG_Stack(2)/stack:"ipv4-$stack_number"
1583 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1584 set ixNetSG_Stack(3) $sg_stack
1588 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.version-1"
1590 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
1591 ixNet setMultiAttrs $sg_field \
1594 -optionalEnabled True \
1602 -trackingEnabled False \
1603 -valueType singleValue \
1604 -activeFieldChoice False \
1608 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1611 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
1613 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
1614 ixNet setMultiAttrs $sg_field \
1617 -optionalEnabled True \
1625 -trackingEnabled False \
1626 -valueType singleValue \
1627 -activeFieldChoice False \
1631 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1634 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
1636 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
1637 ixNet setMultiAttrs $sg_field \
1640 -optionalEnabled True \
1648 -trackingEnabled False \
1649 -valueType singleValue \
1650 -activeFieldChoice False \
1654 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1657 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
1659 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
1660 ixNet setMultiAttrs $sg_field \
1663 -optionalEnabled True \
1668 -fieldValue {000 Routine} \
1671 -trackingEnabled False \
1672 -valueType singleValue \
1673 -activeFieldChoice True \
1677 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1680 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
1682 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
1683 ixNet setMultiAttrs $sg_field \
1686 -optionalEnabled True \
1691 -fieldValue {Normal} \
1694 -trackingEnabled False \
1695 -valueType singleValue \
1696 -activeFieldChoice True \
1700 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1703 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
1705 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
1706 ixNet setMultiAttrs $sg_field \
1709 -optionalEnabled True \
1714 -fieldValue {Normal} \
1717 -trackingEnabled False \
1718 -valueType singleValue \
1719 -activeFieldChoice True \
1723 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1726 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
1728 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
1729 ixNet setMultiAttrs $sg_field \
1732 -optionalEnabled True \
1737 -fieldValue {Normal} \
1740 -trackingEnabled False \
1741 -valueType singleValue \
1742 -activeFieldChoice True \
1746 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1749 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
1751 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
1752 ixNet setMultiAttrs $sg_field \
1755 -optionalEnabled True \
1760 -fieldValue {Normal} \
1763 -trackingEnabled False \
1764 -valueType singleValue \
1765 -activeFieldChoice True \
1769 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1772 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
1774 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
1775 ixNet setMultiAttrs $sg_field \
1778 -optionalEnabled True \
1786 -trackingEnabled False \
1787 -valueType singleValue \
1788 -activeFieldChoice True \
1792 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1795 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1797 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1798 ixNet setMultiAttrs $sg_field \
1801 -optionalEnabled True \
1809 -trackingEnabled False \
1810 -valueType singleValue \
1811 -activeFieldChoice False \
1815 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1818 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1820 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1821 ixNet setMultiAttrs $sg_field \
1824 -optionalEnabled True \
1832 -trackingEnabled False \
1833 -valueType singleValue \
1834 -activeFieldChoice False \
1838 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1841 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1843 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1844 ixNet setMultiAttrs $sg_field \
1847 -optionalEnabled True \
1852 -fieldValue {Precedence 1} \
1855 -trackingEnabled False \
1856 -valueType singleValue \
1857 -activeFieldChoice False \
1861 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1864 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1866 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1867 ixNet setMultiAttrs $sg_field \
1870 -optionalEnabled True \
1878 -trackingEnabled False \
1879 -valueType singleValue \
1880 -activeFieldChoice False \
1884 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1887 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1889 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1890 ixNet setMultiAttrs $sg_field \
1893 -optionalEnabled True \
1898 -fieldValue {Class 1, Low drop precedence} \
1901 -trackingEnabled False \
1902 -valueType singleValue \
1903 -activeFieldChoice False \
1907 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1910 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1912 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1913 ixNet setMultiAttrs $sg_field \
1916 -optionalEnabled True \
1924 -trackingEnabled False \
1925 -valueType singleValue \
1926 -activeFieldChoice False \
1930 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1933 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1935 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1936 ixNet setMultiAttrs $sg_field \
1939 -optionalEnabled True \
1947 -trackingEnabled False \
1948 -valueType singleValue \
1949 -activeFieldChoice False \
1953 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1956 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1958 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1959 ixNet setMultiAttrs $sg_field \
1962 -optionalEnabled True \
1970 -trackingEnabled False \
1971 -valueType singleValue \
1972 -activeFieldChoice False \
1976 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1979 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
1981 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
1982 ixNet setMultiAttrs $sg_field \
1985 -optionalEnabled True \
1993 -trackingEnabled False \
1994 -valueType singleValue \
1995 -activeFieldChoice False \
1999 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2002 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.identification-19"
2004 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
2005 ixNet setMultiAttrs $sg_field \
2008 -optionalEnabled True \
2016 -trackingEnabled False \
2017 -valueType singleValue \
2018 -activeFieldChoice False \
2022 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2025 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
2027 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
2028 ixNet setMultiAttrs $sg_field \
2031 -optionalEnabled True \
2039 -trackingEnabled False \
2040 -valueType singleValue \
2041 -activeFieldChoice False \
2045 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2048 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
2050 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
2051 ixNet setMultiAttrs $sg_field \
2054 -optionalEnabled True \
2059 -fieldValue {May fragment} \
2062 -trackingEnabled False \
2063 -valueType singleValue \
2064 -activeFieldChoice False \
2068 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2071 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
2073 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
2074 ixNet setMultiAttrs $sg_field \
2077 -optionalEnabled True \
2082 -fieldValue {Last fragment} \
2085 -trackingEnabled False \
2086 -valueType singleValue \
2087 -activeFieldChoice False \
2091 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2094 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
2096 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
2097 ixNet setMultiAttrs $sg_field \
2100 -optionalEnabled True \
2108 -trackingEnabled False \
2109 -valueType singleValue \
2110 -activeFieldChoice False \
2114 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2117 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
2119 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
2120 ixNet setMultiAttrs $sg_field \
2123 -optionalEnabled True \
2131 -trackingEnabled False \
2132 -valueType singleValue \
2133 -activeFieldChoice False \
2137 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2140 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
2142 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
2143 ixNet setMultiAttrs $sg_field \
2146 -optionalEnabled True \
2154 -trackingEnabled False \
2155 -valueType singleValue \
2156 -activeFieldChoice False \
2160 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2163 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
2165 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
2166 ixNet setMultiAttrs $sg_field \
2169 -optionalEnabled True \
2177 -trackingEnabled False \
2178 -valueType singleValue \
2179 -activeFieldChoice False \
2183 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2186 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
2188 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
2189 ixNet setMultiAttrs $sg_field \
2190 -singleValue $srcIp \
2192 -optionalEnabled True \
2194 -valueList {{0.0.0.0}} \
2195 -stepValue {0.0.0.0} \
2196 -fixedBits {0.0.0.0} \
2197 -fieldValue $srcIp \
2199 -randomMask {0.0.0.0} \
2200 -trackingEnabled False \
2201 -valueType singleValue \
2202 -activeFieldChoice False \
2203 -startValue {0.0.0.0} \
2206 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2209 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
2211 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
2212 ixNet setMultiAttrs $sg_field \
2213 -singleValue $dstIp \
2215 -optionalEnabled True \
2217 -valueList {{0.0.0.0}} \
2218 -stepValue {0.0.0.1} \
2219 -fixedBits {0.0.0.0} \
2220 -fieldValue $dstIp \
2222 -randomMask {0.0.0.0} \
2223 -trackingEnabled False \
2224 -valueType $L3ValueType \
2225 -activeFieldChoice False \
2226 -startValue $dstIp \
2227 -countValue $L3CountValue
2229 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2232 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
2234 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
2235 ixNet setMultiAttrs $sg_field \
2238 -optionalEnabled False \
2246 -trackingEnabled False \
2247 -valueType singleValue \
2248 -activeFieldChoice True \
2252 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2255 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
2257 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
2258 ixNet setMultiAttrs $sg_field \
2259 -singleValue {130} \
2261 -optionalEnabled False \
2263 -valueList {{130}} \
2269 -trackingEnabled False \
2270 -valueType singleValue \
2271 -activeFieldChoice False \
2275 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2278 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
2280 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
2281 ixNet setMultiAttrs $sg_field \
2284 -optionalEnabled False \
2292 -trackingEnabled False \
2293 -valueType singleValue \
2294 -activeFieldChoice False \
2298 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2301 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
2303 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
2304 ixNet setMultiAttrs $sg_field \
2307 -optionalEnabled False \
2312 -fieldValue {Unclassified} \
2315 -trackingEnabled False \
2316 -valueType singleValue \
2317 -activeFieldChoice False \
2321 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2324 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2326 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2327 ixNet setMultiAttrs $sg_field \
2330 -optionalEnabled False \
2338 -trackingEnabled False \
2339 -valueType singleValue \
2340 -activeFieldChoice False \
2344 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2347 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
2349 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
2350 ixNet setMultiAttrs $sg_field \
2353 -optionalEnabled False \
2361 -trackingEnabled False \
2362 -valueType singleValue \
2363 -activeFieldChoice False \
2367 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2370 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2372 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2373 ixNet setMultiAttrs $sg_field \
2376 -optionalEnabled False \
2384 -trackingEnabled False \
2385 -valueType singleValue \
2386 -activeFieldChoice False \
2390 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2393 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2395 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2396 ixNet setMultiAttrs $sg_field \
2397 -singleValue {131} \
2399 -optionalEnabled False \
2401 -valueList {{131}} \
2407 -trackingEnabled False \
2408 -valueType singleValue \
2409 -activeFieldChoice False \
2413 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2416 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2418 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2419 ixNet setMultiAttrs $sg_field \
2422 -optionalEnabled False \
2430 -trackingEnabled False \
2431 -valueType singleValue \
2432 -activeFieldChoice False \
2436 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2439 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
2441 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
2442 ixNet setMultiAttrs $sg_field \
2445 -optionalEnabled False \
2453 -trackingEnabled False \
2454 -valueType singleValue \
2455 -activeFieldChoice False \
2459 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2462 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
2464 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
2465 ixNet setMultiAttrs $sg_field \
2468 -optionalEnabled False \
2476 -trackingEnabled False \
2477 -valueType singleValue \
2478 -activeFieldChoice False \
2482 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2485 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2487 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2488 ixNet setMultiAttrs $sg_field \
2489 -singleValue {137} \
2491 -optionalEnabled False \
2493 -valueList {{137}} \
2499 -trackingEnabled False \
2500 -valueType singleValue \
2501 -activeFieldChoice False \
2505 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2508 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2510 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2511 ixNet setMultiAttrs $sg_field \
2514 -optionalEnabled False \
2522 -trackingEnabled False \
2523 -valueType singleValue \
2524 -activeFieldChoice False \
2528 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2531 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2533 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2534 ixNet setMultiAttrs $sg_field \
2537 -optionalEnabled False \
2545 -trackingEnabled False \
2546 -valueType singleValue \
2547 -activeFieldChoice False \
2551 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2554 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2556 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2557 ixNet setMultiAttrs $sg_field \
2560 -optionalEnabled False \
2568 -trackingEnabled False \
2569 -valueType singleValue \
2570 -activeFieldChoice False \
2574 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2577 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2579 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2580 ixNet setMultiAttrs $sg_field \
2581 -singleValue {136} \
2583 -optionalEnabled False \
2585 -valueList {{136}} \
2591 -trackingEnabled False \
2592 -valueType singleValue \
2593 -activeFieldChoice False \
2597 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2600 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2602 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2603 ixNet setMultiAttrs $sg_field \
2606 -optionalEnabled False \
2614 -trackingEnabled False \
2615 -valueType singleValue \
2616 -activeFieldChoice False \
2620 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2623 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2625 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2626 ixNet setMultiAttrs $sg_field \
2629 -optionalEnabled False \
2637 -trackingEnabled False \
2638 -valueType singleValue \
2639 -activeFieldChoice False \
2643 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2646 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2648 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2649 ixNet setMultiAttrs $sg_field \
2652 -optionalEnabled False \
2660 -trackingEnabled False \
2661 -valueType singleValue \
2662 -activeFieldChoice False \
2666 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2669 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2671 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2672 ixNet setMultiAttrs $sg_field \
2675 -optionalEnabled False \
2683 -trackingEnabled False \
2684 -valueType singleValue \
2685 -activeFieldChoice False \
2689 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2692 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2694 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2695 ixNet setMultiAttrs $sg_field \
2698 -optionalEnabled False \
2706 -trackingEnabled False \
2707 -valueType singleValue \
2708 -activeFieldChoice False \
2712 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2715 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2717 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2718 ixNet setMultiAttrs $sg_field \
2721 -optionalEnabled False \
2729 -trackingEnabled False \
2730 -valueType singleValue \
2731 -activeFieldChoice False \
2735 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2738 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2740 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2741 ixNet setMultiAttrs $sg_field \
2744 -optionalEnabled False \
2749 -fieldValue {Timestamps only, in consecutive 32-bit words} \
2752 -trackingEnabled False \
2753 -valueType singleValue \
2754 -activeFieldChoice False \
2758 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2761 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2763 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2764 ixNet setMultiAttrs $sg_field \
2767 -optionalEnabled False \
2775 -trackingEnabled False \
2776 -valueType singleValue \
2777 -activeFieldChoice False \
2781 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2784 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2786 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2787 ixNet setMultiAttrs $sg_field \
2790 -optionalEnabled False \
2798 -trackingEnabled False \
2799 -valueType singleValue \
2800 -activeFieldChoice False \
2804 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2807 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
2809 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
2810 ixNet setMultiAttrs $sg_field \
2813 -optionalEnabled False \
2821 -trackingEnabled False \
2822 -valueType singleValue \
2823 -activeFieldChoice False \
2827 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2830 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2832 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2833 ixNet setMultiAttrs $sg_field \
2836 -optionalEnabled False \
2838 -valueList {{0x94}} \
2843 -randomMask {0x94} \
2844 -trackingEnabled False \
2845 -valueType singleValue \
2846 -activeFieldChoice False \
2847 -startValue {0x94} \
2850 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2853 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2855 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2856 ixNet setMultiAttrs $sg_field \
2859 -optionalEnabled False \
2861 -valueList {{0x04}} \
2866 -randomMask {0x04} \
2867 -trackingEnabled False \
2868 -valueType singleValue \
2869 -activeFieldChoice False \
2870 -startValue {0x04} \
2873 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2876 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2878 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2879 ixNet setMultiAttrs $sg_field \
2882 -optionalEnabled False \
2887 -fieldValue {Router shall examine packet} \
2890 -trackingEnabled False \
2891 -valueType singleValue \
2892 -activeFieldChoice False \
2896 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2899 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
2901 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
2902 ixNet setMultiAttrs $sg_field \
2905 -optionalEnabled False \
2913 -trackingEnabled False \
2914 -valueType singleValue \
2915 -activeFieldChoice False \
2919 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2922 if {$l4Enabled == 1 } {
2924 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"
2926 set sg_stack $ixNetSG_Stack(2)/stack:"udp-$stack_number"
2928 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
2929 set ixNetSG_Stack(3) $sg_stack
2933 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.srcPort-1"
2935 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
2936 ixNet setMultiAttrs $sg_field \
2937 -singleValue $srcPort \
2939 -optionalEnabled True \
2944 -fieldValue $srcPort \
2947 -trackingEnabled False \
2948 -valueType singleValue \
2949 -activeFieldChoice False \
2950 -startValue $srcPort \
2953 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2956 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.dstPort-2"
2958 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
2959 ixNet setMultiAttrs $sg_field \
2960 -singleValue $dstPort \
2962 -optionalEnabled True \
2967 -fieldValue $dstPort \
2970 -trackingEnabled False \
2971 -valueType $L4ValueType \
2972 -activeFieldChoice False \
2974 -countValue $L4CountValue
2976 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2979 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.length-3"
2981 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
2982 ixNet setMultiAttrs $sg_field \
2985 -optionalEnabled True \
2993 -trackingEnabled False \
2994 -valueType singleValue \
2995 -activeFieldChoice False \
2999 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3002 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.checksum-4"
3004 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
3005 ixNet setMultiAttrs $sg_field \
3008 -optionalEnabled True \
3016 -trackingEnabled False \
3017 -valueType singleValue \
3018 -activeFieldChoice False \
3022 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3026 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"
3028 set sg_stack $ixNetSG_Stack(2)/stack:"fcs-$stack_number"
3030 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3031 set ixNetSG_Stack(3) $sg_stack
3035 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"/field:"ethernet.fcs-1"
3037 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
3038 ixNet setMultiAttrs $sg_field \
3041 -optionalEnabled True \
3049 -trackingEnabled False \
3050 -valueType singleValue \
3051 -activeFieldChoice False \
3055 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3058 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/transmissionDistribution
3060 set sg_transmissionDistribution $ixNetSG_Stack(2)/transmissionDistribution
3061 ixNet setMultiAttrs $sg_transmissionDistribution \
3064 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3067 # configuring the object that corresponds to /traffic/trafficItem:1/transmissionDistribution
3069 set sg_transmissionDistribution $ixNetSG_Stack(1)/transmissionDistribution
3070 ixNet setMultiAttrs $sg_transmissionDistribution \
3073 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3076 # configuring the object that corresponds to /traffic/trafficItem:1/tracking
3078 set sg_tracking $ixNetSG_Stack(1)/tracking
3079 ixNet setMultiAttrs $sg_tracking \
3081 -oneToOneMesh False \
3084 -fieldWidth thirtyTwoBits \
3085 -protocolOffset {Root.0}
3086 ixNet setMultiAttrs $sg_tracking/egress \
3087 -offset {Outer VLAN Priority (3 bits)} \
3089 -customOffsetBits 0 \
3090 -encapsulation {Ethernet} \
3092 ixNet setMultiAttrs $sg_tracking/latencyBin \
3094 -binLimits {1 1.42 2 2.82 4 5.66 8 11.32} \
3097 set sg_tracking [lindex [ixNet remapIds $sg_tracking] 0]
3098 set ixNetSG_Stack(2) $sg_tracking
3101 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"
3103 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ethernet-1"
3105 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3106 set ixNetSG_Stack(3) $sg_stack
3109 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
3111 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
3112 ixNet setMultiAttrs $sg_field \
3113 -singleValue {00:00:00:00:00:00} \
3115 -optionalEnabled True \
3117 -valueList {{00:00:00:00:00:00}} \
3118 -stepValue {00:00:00:00:00:00} \
3119 -fixedBits {00:00:00:00:00:00} \
3120 -fieldValue {00:00:00:00:00:00} \
3122 -randomMask {00:00:00:00:00:00} \
3123 -trackingEnabled True \
3124 -valueType singleValue \
3125 -activeFieldChoice False \
3126 -startValue {00:00:00:00:00:00} \
3129 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3132 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
3134 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
3135 ixNet setMultiAttrs $sg_field \
3136 -singleValue {00:00:00:00:00:00} \
3138 -optionalEnabled True \
3140 -valueList {{00:00:00:00:00:00}} \
3141 -stepValue {00:00:00:00:00:00} \
3142 -fixedBits {00:00:00:00:00:00} \
3143 -fieldValue {00:00:00:00:00:00} \
3145 -randomMask {00:00:00:00:00:00} \
3146 -trackingEnabled False \
3147 -valueType singleValue \
3148 -activeFieldChoice False \
3149 -startValue {00:00:00:00:00:00} \
3152 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3155 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
3157 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
3158 ixNet setMultiAttrs $sg_field \
3159 -singleValue {800} \
3161 -optionalEnabled True \
3163 -valueList {{0xFFFF}} \
3164 -stepValue {0xFFFF} \
3165 -fixedBits {0xFFFF} \
3168 -randomMask {0xFFFF} \
3169 -trackingEnabled False \
3170 -valueType singleValue \
3171 -activeFieldChoice False \
3172 -startValue {0xFFFF} \
3175 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3178 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
3180 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
3181 ixNet setMultiAttrs $sg_field \
3184 -optionalEnabled True \
3192 -trackingEnabled False \
3193 -valueType singleValue \
3194 -activeFieldChoice False \
3198 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3201 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"
3203 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ipv4-2"
3205 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3206 set ixNetSG_Stack(3) $sg_stack
3209 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
3211 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
3212 ixNet setMultiAttrs $sg_field \
3215 -optionalEnabled True \
3223 -trackingEnabled False \
3224 -valueType singleValue \
3225 -activeFieldChoice False \
3229 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3232 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
3234 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
3235 ixNet setMultiAttrs $sg_field \
3238 -optionalEnabled True \
3246 -trackingEnabled False \
3247 -valueType singleValue \
3248 -activeFieldChoice False \
3252 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3255 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
3257 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
3258 ixNet setMultiAttrs $sg_field \
3261 -optionalEnabled True \
3269 -trackingEnabled False \
3270 -valueType singleValue \
3271 -activeFieldChoice False \
3275 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3278 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
3280 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
3281 ixNet setMultiAttrs $sg_field \
3284 -optionalEnabled True \
3289 -fieldValue {000 Routine} \
3292 -trackingEnabled False \
3293 -valueType singleValue \
3294 -activeFieldChoice True \
3298 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3301 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
3303 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
3304 ixNet setMultiAttrs $sg_field \
3307 -optionalEnabled True \
3312 -fieldValue {Normal} \
3315 -trackingEnabled False \
3316 -valueType singleValue \
3317 -activeFieldChoice True \
3321 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3324 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
3326 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
3327 ixNet setMultiAttrs $sg_field \
3330 -optionalEnabled True \
3335 -fieldValue {Normal} \
3338 -trackingEnabled False \
3339 -valueType singleValue \
3340 -activeFieldChoice True \
3344 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3347 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
3349 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
3350 ixNet setMultiAttrs $sg_field \
3353 -optionalEnabled True \
3358 -fieldValue {Normal} \
3361 -trackingEnabled False \
3362 -valueType singleValue \
3363 -activeFieldChoice True \
3367 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3370 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
3372 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
3373 ixNet setMultiAttrs $sg_field \
3376 -optionalEnabled True \
3381 -fieldValue {Normal} \
3384 -trackingEnabled False \
3385 -valueType singleValue \
3386 -activeFieldChoice True \
3390 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3393 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
3395 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
3396 ixNet setMultiAttrs $sg_field \
3399 -optionalEnabled True \
3407 -trackingEnabled False \
3408 -valueType singleValue \
3409 -activeFieldChoice True \
3413 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3416 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3418 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3419 ixNet setMultiAttrs $sg_field \
3422 -optionalEnabled True \
3430 -trackingEnabled False \
3431 -valueType singleValue \
3432 -activeFieldChoice False \
3436 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3439 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3441 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3442 ixNet setMultiAttrs $sg_field \
3445 -optionalEnabled True \
3453 -trackingEnabled False \
3454 -valueType singleValue \
3455 -activeFieldChoice False \
3459 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3462 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3464 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3465 ixNet setMultiAttrs $sg_field \
3468 -optionalEnabled True \
3473 -fieldValue {Precedence 1} \
3476 -trackingEnabled False \
3477 -valueType singleValue \
3478 -activeFieldChoice False \
3482 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3485 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3487 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3488 ixNet setMultiAttrs $sg_field \
3491 -optionalEnabled True \
3499 -trackingEnabled False \
3500 -valueType singleValue \
3501 -activeFieldChoice False \
3505 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3508 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3510 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3511 ixNet setMultiAttrs $sg_field \
3514 -optionalEnabled True \
3519 -fieldValue {Class 1, Low drop precedence} \
3522 -trackingEnabled False \
3523 -valueType singleValue \
3524 -activeFieldChoice False \
3528 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3531 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3533 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3534 ixNet setMultiAttrs $sg_field \
3537 -optionalEnabled True \
3545 -trackingEnabled False \
3546 -valueType singleValue \
3547 -activeFieldChoice False \
3551 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3554 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3556 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3557 ixNet setMultiAttrs $sg_field \
3560 -optionalEnabled True \
3568 -trackingEnabled False \
3569 -valueType singleValue \
3570 -activeFieldChoice False \
3574 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3577 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3579 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3580 ixNet setMultiAttrs $sg_field \
3583 -optionalEnabled True \
3591 -trackingEnabled False \
3592 -valueType singleValue \
3593 -activeFieldChoice False \
3597 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3600 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
3602 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
3603 ixNet setMultiAttrs $sg_field \
3606 -optionalEnabled True \
3614 -trackingEnabled False \
3615 -valueType singleValue \
3616 -activeFieldChoice False \
3620 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3623 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
3625 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
3626 ixNet setMultiAttrs $sg_field \
3629 -optionalEnabled True \
3637 -trackingEnabled False \
3638 -valueType singleValue \
3639 -activeFieldChoice False \
3643 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3646 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
3648 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
3649 ixNet setMultiAttrs $sg_field \
3652 -optionalEnabled True \
3660 -trackingEnabled False \
3661 -valueType singleValue \
3662 -activeFieldChoice False \
3666 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3669 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
3671 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
3672 ixNet setMultiAttrs $sg_field \
3675 -optionalEnabled True \
3680 -fieldValue {May fragment} \
3683 -trackingEnabled False \
3684 -valueType singleValue \
3685 -activeFieldChoice False \
3689 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3692 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
3694 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
3695 ixNet setMultiAttrs $sg_field \
3698 -optionalEnabled True \
3703 -fieldValue {Last fragment} \
3706 -trackingEnabled False \
3707 -valueType singleValue \
3708 -activeFieldChoice False \
3712 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3715 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
3717 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
3718 ixNet setMultiAttrs $sg_field \
3721 -optionalEnabled True \
3729 -trackingEnabled False \
3730 -valueType singleValue \
3731 -activeFieldChoice False \
3735 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3738 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
3740 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
3741 ixNet setMultiAttrs $sg_field \
3744 -optionalEnabled True \
3752 -trackingEnabled False \
3753 -valueType singleValue \
3754 -activeFieldChoice False \
3758 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3761 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
3763 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
3764 ixNet setMultiAttrs $sg_field \
3767 -optionalEnabled True \
3775 -trackingEnabled False \
3776 -valueType singleValue \
3777 -activeFieldChoice False \
3781 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3784 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
3786 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
3787 ixNet setMultiAttrs $sg_field \
3790 -optionalEnabled True \
3798 -trackingEnabled False \
3799 -valueType singleValue \
3800 -activeFieldChoice False \
3804 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3807 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
3809 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
3810 ixNet setMultiAttrs $sg_field \
3811 -singleValue {0.0.0.0} \
3813 -optionalEnabled True \
3815 -valueList {{0.0.0.0}} \
3816 -stepValue {0.0.0.0} \
3817 -fixedBits {0.0.0.0} \
3818 -fieldValue {0.0.0.0} \
3820 -randomMask {0.0.0.0} \
3821 -trackingEnabled False \
3822 -valueType singleValue \
3823 -activeFieldChoice False \
3824 -startValue {0.0.0.0} \
3827 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3830 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
3832 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
3833 ixNet setMultiAttrs $sg_field \
3834 -singleValue {0.0.0.0} \
3836 -optionalEnabled True \
3838 -valueList {{0.0.0.0}} \
3839 -stepValue {0.0.0.0} \
3840 -fixedBits {0.0.0.0} \
3841 -fieldValue {0.0.0.0} \
3843 -randomMask {0.0.0.0} \
3844 -trackingEnabled False \
3845 -valueType singleValue \
3846 -activeFieldChoice False \
3847 -startValue {0.0.0.0} \
3850 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3853 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
3855 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
3856 ixNet setMultiAttrs $sg_field \
3859 -optionalEnabled False \
3867 -trackingEnabled False \
3868 -valueType singleValue \
3869 -activeFieldChoice True \
3873 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3876 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
3878 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
3879 ixNet setMultiAttrs $sg_field \
3880 -singleValue {130} \
3882 -optionalEnabled False \
3884 -valueList {{130}} \
3890 -trackingEnabled False \
3891 -valueType singleValue \
3892 -activeFieldChoice False \
3896 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3899 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
3901 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
3902 ixNet setMultiAttrs $sg_field \
3905 -optionalEnabled False \
3913 -trackingEnabled False \
3914 -valueType singleValue \
3915 -activeFieldChoice False \
3919 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3922 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
3924 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
3925 ixNet setMultiAttrs $sg_field \
3928 -optionalEnabled False \
3933 -fieldValue {Unclassified} \
3936 -trackingEnabled False \
3937 -valueType singleValue \
3938 -activeFieldChoice False \
3942 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3945 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3947 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3948 ixNet setMultiAttrs $sg_field \
3951 -optionalEnabled False \
3959 -trackingEnabled False \
3960 -valueType singleValue \
3961 -activeFieldChoice False \
3965 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3968 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
3970 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
3971 ixNet setMultiAttrs $sg_field \
3974 -optionalEnabled False \
3982 -trackingEnabled False \
3983 -valueType singleValue \
3984 -activeFieldChoice False \
3988 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3991 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
3993 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
3994 ixNet setMultiAttrs $sg_field \
3997 -optionalEnabled False \
4005 -trackingEnabled False \
4006 -valueType singleValue \
4007 -activeFieldChoice False \
4011 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4014 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4016 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4017 ixNet setMultiAttrs $sg_field \
4018 -singleValue {131} \
4020 -optionalEnabled False \
4022 -valueList {{131}} \
4028 -trackingEnabled False \
4029 -valueType singleValue \
4030 -activeFieldChoice False \
4034 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4037 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4039 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4040 ixNet setMultiAttrs $sg_field \
4043 -optionalEnabled False \
4051 -trackingEnabled False \
4052 -valueType singleValue \
4053 -activeFieldChoice False \
4057 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4060 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
4062 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
4063 ixNet setMultiAttrs $sg_field \
4066 -optionalEnabled False \
4074 -trackingEnabled False \
4075 -valueType singleValue \
4076 -activeFieldChoice False \
4080 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4083 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
4085 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
4086 ixNet setMultiAttrs $sg_field \
4089 -optionalEnabled False \
4097 -trackingEnabled False \
4098 -valueType singleValue \
4099 -activeFieldChoice False \
4103 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4106 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4108 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4109 ixNet setMultiAttrs $sg_field \
4110 -singleValue {137} \
4112 -optionalEnabled False \
4114 -valueList {{137}} \
4120 -trackingEnabled False \
4121 -valueType singleValue \
4122 -activeFieldChoice False \
4126 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4129 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4131 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4132 ixNet setMultiAttrs $sg_field \
4135 -optionalEnabled False \
4143 -trackingEnabled False \
4144 -valueType singleValue \
4145 -activeFieldChoice False \
4149 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4152 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4154 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4155 ixNet setMultiAttrs $sg_field \
4158 -optionalEnabled False \
4166 -trackingEnabled False \
4167 -valueType singleValue \
4168 -activeFieldChoice False \
4172 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4175 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4177 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4178 ixNet setMultiAttrs $sg_field \
4181 -optionalEnabled False \
4189 -trackingEnabled False \
4190 -valueType singleValue \
4191 -activeFieldChoice False \
4195 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4198 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4200 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4201 ixNet setMultiAttrs $sg_field \
4202 -singleValue {136} \
4204 -optionalEnabled False \
4206 -valueList {{136}} \
4212 -trackingEnabled False \
4213 -valueType singleValue \
4214 -activeFieldChoice False \
4218 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4221 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4223 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4224 ixNet setMultiAttrs $sg_field \
4227 -optionalEnabled False \
4235 -trackingEnabled False \
4236 -valueType singleValue \
4237 -activeFieldChoice False \
4241 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4244 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4246 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4247 ixNet setMultiAttrs $sg_field \
4250 -optionalEnabled False \
4258 -trackingEnabled False \
4259 -valueType singleValue \
4260 -activeFieldChoice False \
4264 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4267 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4269 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4270 ixNet setMultiAttrs $sg_field \
4273 -optionalEnabled False \
4281 -trackingEnabled False \
4282 -valueType singleValue \
4283 -activeFieldChoice False \
4287 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4290 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4292 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4293 ixNet setMultiAttrs $sg_field \
4296 -optionalEnabled False \
4304 -trackingEnabled False \
4305 -valueType singleValue \
4306 -activeFieldChoice False \
4310 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4313 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4315 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4316 ixNet setMultiAttrs $sg_field \
4319 -optionalEnabled False \
4327 -trackingEnabled False \
4328 -valueType singleValue \
4329 -activeFieldChoice False \
4333 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4336 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4338 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4339 ixNet setMultiAttrs $sg_field \
4342 -optionalEnabled False \
4350 -trackingEnabled False \
4351 -valueType singleValue \
4352 -activeFieldChoice False \
4356 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4359 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4361 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4362 ixNet setMultiAttrs $sg_field \
4365 -optionalEnabled False \
4370 -fieldValue {Timestamps only, in consecutive 32-bit words} \
4373 -trackingEnabled False \
4374 -valueType singleValue \
4375 -activeFieldChoice False \
4379 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4382 # 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"
4384 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
4385 ixNet setMultiAttrs $sg_field \
4388 -optionalEnabled False \
4396 -trackingEnabled False \
4397 -valueType singleValue \
4398 -activeFieldChoice False \
4402 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4405 # 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"
4407 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
4408 ixNet setMultiAttrs $sg_field \
4411 -optionalEnabled False \
4419 -trackingEnabled False \
4420 -valueType singleValue \
4421 -activeFieldChoice False \
4425 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4428 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
4430 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
4431 ixNet setMultiAttrs $sg_field \
4434 -optionalEnabled False \
4442 -trackingEnabled False \
4443 -valueType singleValue \
4444 -activeFieldChoice False \
4448 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4451 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4453 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4454 ixNet setMultiAttrs $sg_field \
4457 -optionalEnabled False \
4459 -valueList {{0x94}} \
4464 -randomMask {0x94} \
4465 -trackingEnabled False \
4466 -valueType singleValue \
4467 -activeFieldChoice False \
4468 -startValue {0x94} \
4471 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4474 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4476 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4477 ixNet setMultiAttrs $sg_field \
4480 -optionalEnabled False \
4482 -valueList {{0x04}} \
4487 -randomMask {0x04} \
4488 -trackingEnabled False \
4489 -valueType singleValue \
4490 -activeFieldChoice False \
4491 -startValue {0x04} \
4494 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4497 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4499 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4500 ixNet setMultiAttrs $sg_field \
4503 -optionalEnabled False \
4508 -fieldValue {Router shall examine packet} \
4511 -trackingEnabled False \
4512 -valueType singleValue \
4513 -activeFieldChoice False \
4517 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4520 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
4522 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
4523 ixNet setMultiAttrs $sg_field \
4526 -optionalEnabled False \
4534 -trackingEnabled False \
4535 -valueType singleValue \
4536 -activeFieldChoice False \
4540 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4543 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"
4545 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"udp-3"
4547 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4548 set ixNetSG_Stack(3) $sg_stack
4551 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
4553 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
4554 ixNet setMultiAttrs $sg_field \
4557 -optionalEnabled True \
4562 -fieldValue {Default} \
4565 -trackingEnabled False \
4566 -valueType singleValue \
4567 -activeFieldChoice False \
4571 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4574 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
4576 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
4577 ixNet setMultiAttrs $sg_field \
4580 -optionalEnabled True \
4585 -fieldValue {Default} \
4588 -trackingEnabled False \
4589 -valueType singleValue \
4590 -activeFieldChoice False \
4594 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4597 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
4599 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
4600 ixNet setMultiAttrs $sg_field \
4603 -optionalEnabled True \
4611 -trackingEnabled False \
4612 -valueType singleValue \
4613 -activeFieldChoice False \
4617 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4620 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
4622 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
4623 ixNet setMultiAttrs $sg_field \
4626 -optionalEnabled True \
4634 -trackingEnabled False \
4635 -valueType singleValue \
4636 -activeFieldChoice False \
4640 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4643 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"
4645 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"fcs-4"
4647 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4648 set ixNetSG_Stack(3) $sg_stack
4651 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
4653 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
4654 ixNet setMultiAttrs $sg_field \
4657 -optionalEnabled True \
4665 -trackingEnabled False \
4666 -valueType singleValue \
4667 -activeFieldChoice False \
4671 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4674 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1
4676 set sg_egressTracking [ixNet add $ixNetSG_Stack(1) egressTracking]
4677 ixNet setMultiAttrs $sg_egressTracking \
4678 -offset {Outer VLAN Priority (3 bits)} \
4679 -customOffsetBits 0 \
4680 -encapsulation {Ethernet} \
4683 set sg_egressTracking [lindex [ixNet remapIds $sg_egressTracking] 0]
4684 set ixNetSG_Stack(2) $sg_egressTracking
4687 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"
4689 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ethernet-1"
4691 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4692 set ixNetSG_Stack(3) $sg_stack
4695 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
4697 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
4698 ixNet setMultiAttrs $sg_field \
4699 -singleValue {00:00:00:00:00:00} \
4701 -optionalEnabled True \
4703 -valueList {{00:00:00:00:00:00}} \
4704 -stepValue {00:00:00:00:00:00} \
4705 -fixedBits {00:00:00:00:00:00} \
4706 -fieldValue {00:00:00:00:00:00} \
4708 -randomMask {00:00:00:00:00:00} \
4709 -trackingEnabled True \
4710 -valueType singleValue \
4711 -activeFieldChoice False \
4712 -startValue {00:00:00:00:00:00} \
4715 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4718 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
4720 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
4721 ixNet setMultiAttrs $sg_field \
4722 -singleValue {00:00:00:00:00:00} \
4724 -optionalEnabled True \
4726 -valueList {{00:00:00:00:00:00}} \
4727 -stepValue {00:00:00:00:00:00} \
4728 -fixedBits {00:00:00:00:00:00} \
4729 -fieldValue {00:00:00:00:00:00} \
4731 -randomMask {00:00:00:00:00:00} \
4732 -trackingEnabled False \
4733 -valueType singleValue \
4734 -activeFieldChoice False \
4735 -startValue {00:00:00:00:00:00} \
4738 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4741 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
4743 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
4744 ixNet setMultiAttrs $sg_field \
4745 -singleValue {800} \
4747 -optionalEnabled True \
4749 -valueList {{0xFFFF}} \
4750 -stepValue {0xFFFF} \
4751 -fixedBits {0xFFFF} \
4754 -randomMask {0xFFFF} \
4755 -trackingEnabled False \
4756 -valueType singleValue \
4757 -activeFieldChoice False \
4758 -startValue {0xFFFF} \
4761 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4764 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
4766 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
4767 ixNet setMultiAttrs $sg_field \
4770 -optionalEnabled True \
4778 -trackingEnabled False \
4779 -valueType singleValue \
4780 -activeFieldChoice False \
4784 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4787 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"
4789 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ipv4-2"
4791 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4792 set ixNetSG_Stack(3) $sg_stack
4795 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
4797 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
4798 ixNet setMultiAttrs $sg_field \
4801 -optionalEnabled True \
4809 -trackingEnabled False \
4810 -valueType singleValue \
4811 -activeFieldChoice False \
4815 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4818 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
4820 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
4821 ixNet setMultiAttrs $sg_field \
4824 -optionalEnabled True \
4832 -trackingEnabled False \
4833 -valueType singleValue \
4834 -activeFieldChoice False \
4838 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4841 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
4843 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
4844 ixNet setMultiAttrs $sg_field \
4847 -optionalEnabled True \
4855 -trackingEnabled False \
4856 -valueType singleValue \
4857 -activeFieldChoice False \
4861 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4864 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
4866 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
4867 ixNet setMultiAttrs $sg_field \
4870 -optionalEnabled True \
4875 -fieldValue {000 Routine} \
4878 -trackingEnabled False \
4879 -valueType singleValue \
4880 -activeFieldChoice True \
4884 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4887 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
4889 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
4890 ixNet setMultiAttrs $sg_field \
4893 -optionalEnabled True \
4898 -fieldValue {Normal} \
4901 -trackingEnabled False \
4902 -valueType singleValue \
4903 -activeFieldChoice True \
4907 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4910 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
4912 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
4913 ixNet setMultiAttrs $sg_field \
4916 -optionalEnabled True \
4921 -fieldValue {Normal} \
4924 -trackingEnabled False \
4925 -valueType singleValue \
4926 -activeFieldChoice True \
4930 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4933 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
4935 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
4936 ixNet setMultiAttrs $sg_field \
4939 -optionalEnabled True \
4944 -fieldValue {Normal} \
4947 -trackingEnabled False \
4948 -valueType singleValue \
4949 -activeFieldChoice True \
4953 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4956 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
4958 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
4959 ixNet setMultiAttrs $sg_field \
4962 -optionalEnabled True \
4967 -fieldValue {Normal} \
4970 -trackingEnabled False \
4971 -valueType singleValue \
4972 -activeFieldChoice True \
4976 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4979 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
4981 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
4982 ixNet setMultiAttrs $sg_field \
4985 -optionalEnabled True \
4993 -trackingEnabled False \
4994 -valueType singleValue \
4995 -activeFieldChoice True \
4999 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5002 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5004 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5005 ixNet setMultiAttrs $sg_field \
5008 -optionalEnabled True \
5016 -trackingEnabled False \
5017 -valueType singleValue \
5018 -activeFieldChoice False \
5022 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5025 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5027 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5028 ixNet setMultiAttrs $sg_field \
5031 -optionalEnabled True \
5039 -trackingEnabled False \
5040 -valueType singleValue \
5041 -activeFieldChoice False \
5045 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5048 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5050 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5051 ixNet setMultiAttrs $sg_field \
5054 -optionalEnabled True \
5059 -fieldValue {Precedence 1} \
5062 -trackingEnabled False \
5063 -valueType singleValue \
5064 -activeFieldChoice False \
5068 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5071 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5073 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5074 ixNet setMultiAttrs $sg_field \
5077 -optionalEnabled True \
5085 -trackingEnabled False \
5086 -valueType singleValue \
5087 -activeFieldChoice False \
5091 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5094 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5096 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5097 ixNet setMultiAttrs $sg_field \
5100 -optionalEnabled True \
5105 -fieldValue {Class 1, Low drop precedence} \
5108 -trackingEnabled False \
5109 -valueType singleValue \
5110 -activeFieldChoice False \
5114 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5117 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5119 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5120 ixNet setMultiAttrs $sg_field \
5123 -optionalEnabled True \
5131 -trackingEnabled False \
5132 -valueType singleValue \
5133 -activeFieldChoice False \
5137 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5140 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5142 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5143 ixNet setMultiAttrs $sg_field \
5146 -optionalEnabled True \
5154 -trackingEnabled False \
5155 -valueType singleValue \
5156 -activeFieldChoice False \
5160 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5163 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5165 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5166 ixNet setMultiAttrs $sg_field \
5169 -optionalEnabled True \
5177 -trackingEnabled False \
5178 -valueType singleValue \
5179 -activeFieldChoice False \
5183 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5186 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
5188 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
5189 ixNet setMultiAttrs $sg_field \
5192 -optionalEnabled True \
5200 -trackingEnabled False \
5201 -valueType singleValue \
5202 -activeFieldChoice False \
5206 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5209 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
5211 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
5212 ixNet setMultiAttrs $sg_field \
5215 -optionalEnabled True \
5223 -trackingEnabled False \
5224 -valueType singleValue \
5225 -activeFieldChoice False \
5229 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5232 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
5234 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
5235 ixNet setMultiAttrs $sg_field \
5238 -optionalEnabled True \
5246 -trackingEnabled False \
5247 -valueType singleValue \
5248 -activeFieldChoice False \
5252 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5255 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
5257 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
5258 ixNet setMultiAttrs $sg_field \
5261 -optionalEnabled True \
5266 -fieldValue {May fragment} \
5269 -trackingEnabled False \
5270 -valueType singleValue \
5271 -activeFieldChoice False \
5275 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5278 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
5280 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
5281 ixNet setMultiAttrs $sg_field \
5284 -optionalEnabled True \
5289 -fieldValue {Last fragment} \
5292 -trackingEnabled False \
5293 -valueType singleValue \
5294 -activeFieldChoice False \
5298 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5301 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
5303 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
5304 ixNet setMultiAttrs $sg_field \
5307 -optionalEnabled True \
5315 -trackingEnabled False \
5316 -valueType singleValue \
5317 -activeFieldChoice False \
5321 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5324 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
5326 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
5327 ixNet setMultiAttrs $sg_field \
5330 -optionalEnabled True \
5338 -trackingEnabled False \
5339 -valueType singleValue \
5340 -activeFieldChoice False \
5344 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5347 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
5349 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
5350 ixNet setMultiAttrs $sg_field \
5353 -optionalEnabled True \
5361 -trackingEnabled False \
5362 -valueType singleValue \
5363 -activeFieldChoice False \
5367 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5370 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
5372 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
5373 ixNet setMultiAttrs $sg_field \
5376 -optionalEnabled True \
5384 -trackingEnabled False \
5385 -valueType singleValue \
5386 -activeFieldChoice False \
5390 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5393 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
5395 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
5396 ixNet setMultiAttrs $sg_field \
5397 -singleValue {0.0.0.0} \
5399 -optionalEnabled True \
5401 -valueList {{0.0.0.0}} \
5402 -stepValue {0.0.0.0} \
5403 -fixedBits {0.0.0.0} \
5404 -fieldValue {0.0.0.0} \
5406 -randomMask {0.0.0.0} \
5407 -trackingEnabled False \
5408 -valueType singleValue \
5409 -activeFieldChoice False \
5410 -startValue {0.0.0.0} \
5413 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5416 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
5418 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
5419 ixNet setMultiAttrs $sg_field \
5420 -singleValue {0.0.0.0} \
5422 -optionalEnabled True \
5424 -valueList {{0.0.0.0}} \
5425 -stepValue {0.0.0.0} \
5426 -fixedBits {0.0.0.0} \
5427 -fieldValue {0.0.0.0} \
5429 -randomMask {0.0.0.0} \
5430 -trackingEnabled False \
5431 -valueType singleValue \
5432 -activeFieldChoice False \
5433 -startValue {0.0.0.0} \
5436 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5439 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
5441 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
5442 ixNet setMultiAttrs $sg_field \
5445 -optionalEnabled False \
5453 -trackingEnabled False \
5454 -valueType singleValue \
5455 -activeFieldChoice True \
5459 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5462 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
5464 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
5465 ixNet setMultiAttrs $sg_field \
5466 -singleValue {130} \
5468 -optionalEnabled False \
5470 -valueList {{130}} \
5476 -trackingEnabled False \
5477 -valueType singleValue \
5478 -activeFieldChoice False \
5482 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5485 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
5487 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
5488 ixNet setMultiAttrs $sg_field \
5491 -optionalEnabled False \
5499 -trackingEnabled False \
5500 -valueType singleValue \
5501 -activeFieldChoice False \
5505 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5508 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
5510 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
5511 ixNet setMultiAttrs $sg_field \
5514 -optionalEnabled False \
5519 -fieldValue {Unclassified} \
5522 -trackingEnabled False \
5523 -valueType singleValue \
5524 -activeFieldChoice False \
5528 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5531 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5533 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5534 ixNet setMultiAttrs $sg_field \
5537 -optionalEnabled False \
5545 -trackingEnabled False \
5546 -valueType singleValue \
5547 -activeFieldChoice False \
5551 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5554 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
5556 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
5557 ixNet setMultiAttrs $sg_field \
5560 -optionalEnabled False \
5568 -trackingEnabled False \
5569 -valueType singleValue \
5570 -activeFieldChoice False \
5574 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5577 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5579 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5580 ixNet setMultiAttrs $sg_field \
5583 -optionalEnabled False \
5591 -trackingEnabled False \
5592 -valueType singleValue \
5593 -activeFieldChoice False \
5597 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5600 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5602 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5603 ixNet setMultiAttrs $sg_field \
5604 -singleValue {131} \
5606 -optionalEnabled False \
5608 -valueList {{131}} \
5614 -trackingEnabled False \
5615 -valueType singleValue \
5616 -activeFieldChoice False \
5620 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5623 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5625 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5626 ixNet setMultiAttrs $sg_field \
5629 -optionalEnabled False \
5637 -trackingEnabled False \
5638 -valueType singleValue \
5639 -activeFieldChoice False \
5643 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5646 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
5648 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
5649 ixNet setMultiAttrs $sg_field \
5652 -optionalEnabled False \
5660 -trackingEnabled False \
5661 -valueType singleValue \
5662 -activeFieldChoice False \
5666 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5669 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
5671 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
5672 ixNet setMultiAttrs $sg_field \
5675 -optionalEnabled False \
5683 -trackingEnabled False \
5684 -valueType singleValue \
5685 -activeFieldChoice False \
5689 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5692 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5694 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5695 ixNet setMultiAttrs $sg_field \
5696 -singleValue {137} \
5698 -optionalEnabled False \
5700 -valueList {{137}} \
5706 -trackingEnabled False \
5707 -valueType singleValue \
5708 -activeFieldChoice False \
5712 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5715 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5717 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5718 ixNet setMultiAttrs $sg_field \
5721 -optionalEnabled False \
5729 -trackingEnabled False \
5730 -valueType singleValue \
5731 -activeFieldChoice False \
5735 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5738 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5740 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5741 ixNet setMultiAttrs $sg_field \
5744 -optionalEnabled False \
5752 -trackingEnabled False \
5753 -valueType singleValue \
5754 -activeFieldChoice False \
5758 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5761 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5763 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5764 ixNet setMultiAttrs $sg_field \
5767 -optionalEnabled False \
5775 -trackingEnabled False \
5776 -valueType singleValue \
5777 -activeFieldChoice False \
5781 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5784 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5786 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5787 ixNet setMultiAttrs $sg_field \
5788 -singleValue {136} \
5790 -optionalEnabled False \
5792 -valueList {{136}} \
5798 -trackingEnabled False \
5799 -valueType singleValue \
5800 -activeFieldChoice False \
5804 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5807 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5809 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5810 ixNet setMultiAttrs $sg_field \
5813 -optionalEnabled False \
5821 -trackingEnabled False \
5822 -valueType singleValue \
5823 -activeFieldChoice False \
5827 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5830 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5832 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5833 ixNet setMultiAttrs $sg_field \
5836 -optionalEnabled False \
5844 -trackingEnabled False \
5845 -valueType singleValue \
5846 -activeFieldChoice False \
5850 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5853 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5855 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5856 ixNet setMultiAttrs $sg_field \
5859 -optionalEnabled False \
5867 -trackingEnabled False \
5868 -valueType singleValue \
5869 -activeFieldChoice False \
5873 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5876 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5878 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5879 ixNet setMultiAttrs $sg_field \
5882 -optionalEnabled False \
5890 -trackingEnabled False \
5891 -valueType singleValue \
5892 -activeFieldChoice False \
5896 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5899 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5901 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5902 ixNet setMultiAttrs $sg_field \
5905 -optionalEnabled False \
5913 -trackingEnabled False \
5914 -valueType singleValue \
5915 -activeFieldChoice False \
5919 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5922 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5924 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5925 ixNet setMultiAttrs $sg_field \
5928 -optionalEnabled False \
5936 -trackingEnabled False \
5937 -valueType singleValue \
5938 -activeFieldChoice False \
5942 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5945 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5947 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5948 ixNet setMultiAttrs $sg_field \
5951 -optionalEnabled False \
5956 -fieldValue {Timestamps only, in consecutive 32-bit words} \
5959 -trackingEnabled False \
5960 -valueType singleValue \
5961 -activeFieldChoice False \
5965 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5968 # 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"
5970 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
5971 ixNet setMultiAttrs $sg_field \
5974 -optionalEnabled False \
5982 -trackingEnabled False \
5983 -valueType singleValue \
5984 -activeFieldChoice False \
5988 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5991 # 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"
5993 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
5994 ixNet setMultiAttrs $sg_field \
5997 -optionalEnabled False \
6005 -trackingEnabled False \
6006 -valueType singleValue \
6007 -activeFieldChoice False \
6011 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6014 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
6016 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
6017 ixNet setMultiAttrs $sg_field \
6020 -optionalEnabled False \
6028 -trackingEnabled False \
6029 -valueType singleValue \
6030 -activeFieldChoice False \
6034 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6037 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6039 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6040 ixNet setMultiAttrs $sg_field \
6043 -optionalEnabled False \
6045 -valueList {{0x94}} \
6050 -randomMask {0x94} \
6051 -trackingEnabled False \
6052 -valueType singleValue \
6053 -activeFieldChoice False \
6054 -startValue {0x94} \
6057 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6060 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6062 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6063 ixNet setMultiAttrs $sg_field \
6066 -optionalEnabled False \
6068 -valueList {{0x04}} \
6073 -randomMask {0x04} \
6074 -trackingEnabled False \
6075 -valueType singleValue \
6076 -activeFieldChoice False \
6077 -startValue {0x04} \
6080 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6083 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6085 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6086 ixNet setMultiAttrs $sg_field \
6089 -optionalEnabled False \
6094 -fieldValue {Router shall examine packet} \
6097 -trackingEnabled False \
6098 -valueType singleValue \
6099 -activeFieldChoice False \
6103 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6106 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
6108 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
6109 ixNet setMultiAttrs $sg_field \
6112 -optionalEnabled False \
6120 -trackingEnabled False \
6121 -valueType singleValue \
6122 -activeFieldChoice False \
6126 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6129 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"
6131 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"udp-3"
6133 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6134 set ixNetSG_Stack(3) $sg_stack
6137 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
6139 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
6140 ixNet setMultiAttrs $sg_field \
6143 -optionalEnabled True \
6148 -fieldValue {Default} \
6151 -trackingEnabled False \
6152 -valueType singleValue \
6153 -activeFieldChoice False \
6157 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6160 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
6162 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
6163 ixNet setMultiAttrs $sg_field \
6166 -optionalEnabled True \
6171 -fieldValue {Default} \
6174 -trackingEnabled False \
6175 -valueType singleValue \
6176 -activeFieldChoice False \
6180 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6183 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
6185 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
6186 ixNet setMultiAttrs $sg_field \
6189 -optionalEnabled True \
6197 -trackingEnabled False \
6198 -valueType singleValue \
6199 -activeFieldChoice False \
6203 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6206 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
6208 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
6209 ixNet setMultiAttrs $sg_field \
6212 -optionalEnabled True \
6220 -trackingEnabled False \
6221 -valueType singleValue \
6222 -activeFieldChoice False \
6226 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6229 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"
6231 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"fcs-4"
6233 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6234 set ixNetSG_Stack(3) $sg_stack
6237 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
6239 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
6240 ixNet setMultiAttrs $sg_field \
6243 -optionalEnabled True \
6251 -trackingEnabled False \
6252 -valueType singleValue \
6253 -activeFieldChoice False \
6257 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6260 # configuring the object that corresponds to /traffic/trafficItem:1/dynamicUpdate
6262 set sg_dynamicUpdate $ixNetSG_Stack(1)/dynamicUpdate
6263 ixNet setMultiAttrs $sg_dynamicUpdate \
6264 -enabledSessionAwareTrafficFields {} \
6265 -enabledDynamicUpdateFields {}
6267 set sg_dynamicUpdate [lindex [ixNet remapIds $sg_dynamicUpdate] 0]
6274 # configuring the object that corresponds to /quickTest/rfc2544throughput:1
6276 if {$rfc2544TestType == "throughput"} {
6277 set sg_rfc2544throughput [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544throughput]
6278 ixNet setMultiAttrs $sg_rfc2544throughput \
6279 -name {QuickTest1} \
6280 -mode existingMode \
6281 -inputParameters {{}}
6282 ixNet setMultiAttrs $sg_rfc2544throughput/testConfig \
6284 -enableMinFrameSize True \
6285 -framesize $frameSize \
6286 -reportTputRateUnit mbps \
6287 -duration $duration \
6288 -numtrials $numTests \
6289 -trafficType constantLoading \
6291 -framesPerBurstGap 1 \
6293 -frameLossUnit {0} \
6294 -staggeredStart False \
6295 -framesizeList $frameSize \
6296 -frameSizeMode custom \
6297 -rateSelect percentMaxRate \
6298 -percentMaxRate 100 \
6300 -forceRegenerate False \
6301 -reportSequenceError False \
6304 -loadRateList $frameRate \
6305 -fixedLoadUnit percentMaxRate \
6307 -incrementLoadUnit percentMaxRate \
6308 -initialIncrementLoadRate 10 \
6309 -stepIncrementLoadRate 10 \
6310 -maxIncrementLoadRate 100 \
6311 -randomLoadUnit percentMaxRate \
6312 -minRandomLoadRate 10 \
6313 -maxRandomLoadRate 80 \
6314 -countRandomLoadRate 1 \
6318 -delayAfterTransmit 2 \
6319 -minRandomFrameSize 64 \
6320 -maxRandomFrameSize 1518 \
6321 -countRandomFrameSize 1 \
6322 -minIncrementFrameSize 64 \
6323 -stepIncrementFrameSize 64 \
6324 -maxIncrementFrameSize 1518 \
6325 -calculateLatency True \
6326 -latencyType storeForward \
6327 -calculateJitter False \
6328 -enableDataIntegrity False \
6329 -enableBackoffIteration False \
6330 -enableSaturationIteration False \
6331 -enableStopTestOnHighLoss False \
6332 -enableBackoffUseAs% False \
6333 -backoffIteration 1 \
6334 -saturationIteration 1 \
6335 -stopTestOnHighLoss 0 \
6336 -loadType $loadType \
6337 -stepLoadUnit percentMaxRate \
6338 -customLoadUnit percentMaxRate \
6339 -comboLoadUnit percentMaxRate \
6340 -binaryLoadUnit percentMaxRate \
6341 -initialBinaryLoadRate 100 \
6342 -minBinaryLoadRate 1 \
6343 -maxBinaryLoadRate 100 \
6344 -binaryResolution 1 \
6346 -binaryTolerance $tolerance \
6347 -binaryFrameLossUnit % \
6348 -comboFrameLossUnit % \
6349 -stepFrameLossUnit % \
6350 -initialStepLoadRate 10 \
6351 -maxStepLoadRate 100 \
6352 -stepStepLoadRate 10 \
6354 -initialComboLoadRate 10 \
6355 -maxComboLoadRate 100 \
6356 -minComboLoadRate 10 \
6357 -stepComboLoadRate 10 \
6358 -comboResolution 1 \
6361 -binarySearchType linear \
6362 -unchangedValueList {0} \
6363 -enableFastConvergence $fastConvergence \
6364 -fastConvergenceDuration $convergenceDuration \
6365 -fastConvergenceThreshold 10 \
6366 -framesizeFixedValue $frameSize \
6368 -unchangedInitial False \
6369 -generateTrackingOptionAggregationFiles False \
6370 -enableExtraIterations False \
6371 -extraIterationOffsets {10, -10} \
6372 -usePercentOffsets False \
6373 -imixDistribution weight \
6376 -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}}}} \
6377 -imixEnabled False \
6378 -imixTemplates none \
6379 -framesizeImixList $frameSize \
6380 -imixTrafficType {UNCHNAGED} \
6381 -mapType {oneToOne} \
6382 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6383 ixNet setMultiAttrs $sg_rfc2544throughput/learnFrames \
6384 -learnFrequency $learningFrequency \
6385 -learnNumFrames 10 \
6387 -learnWaitTime 1000 \
6388 -learnFrameSize $frameSize \
6389 -fastPathLearnFrameSize $frameSize \
6390 -learnWaitTimeBeforeTransmit 0 \
6391 -learnSendMacOnly False \
6392 -learnSendRouterSolicitation False \
6393 -fastPathEnable $fastPathEnable \
6395 -fastPathNumFrames 10
6396 ixNet setMultiAttrs $sg_rfc2544throughput/passCriteria \
6397 -passCriteriaLoadRateMode average \
6398 -passCriteriaLoadRateValue 100 \
6399 -passCriteriaLoadRateScale mbps \
6400 -enablePassFail False \
6401 -enableRatePassFail False \
6402 -enableLatencyPassFail False \
6403 -enableStandardDeviationPassFail False \
6404 -latencyThresholdValue 10 \
6405 -latencyThresholdScale us \
6406 -latencyThresholdMode average \
6407 -latencyVariationThresholdValue 0 \
6408 -latencyVariationThresholdScale us \
6409 -latencyVarThresholdMode average \
6410 -enableSequenceErrorsPassFail False \
6411 -seqErrorsThresholdValue 0 \
6412 -seqErrorsThresholdMode average \
6413 -enableDataIntegrityPassFail False \
6414 -dataErrorThresholdValue 0 \
6415 -dataErrorThresholdMode average
6417 set sg_rfc2544throughput [lindex [ixNet remapIds $sg_rfc2544throughput] 0]
6418 set ixNetSG_Stack(1) $sg_rfc2544throughput
6421 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/protocols
6423 set sg_protocols $ixNetSG_Stack(1)/protocols
6424 ixNet setMultiAttrs $sg_protocols \
6425 -protocolState default \
6426 -waitAfterStart 120 \
6429 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6432 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/trafficSelection:1
6434 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6435 ixNet setMultiAttrs $sg_trafficSelection \
6436 -id $ixNetSG_ref(26) \
6437 -includeMode inTest \
6438 -itemType trafficItem
6440 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6443 } elseif {$rfc2544TestType == "back2back"} {
6445 # configuring the object that corresponds to /quickTest/rfc2544back2back:2
6447 set sg_rfc2544back2back [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544back2back]
6448 ixNet setMultiAttrs $sg_rfc2544back2back \
6450 -mode existingMode \
6451 -inputParameters {{}}
6452 ixNet setMultiAttrs $sg_rfc2544back2back/testConfig \
6454 -framesize $frameSize \
6455 -reportTputRateUnit mbps \
6456 -rfc2544ImixDataQoS False \
6457 -detailedResultsEnabled True \
6458 -rfc2889ordering noOrdering \
6459 -floodedFramesEnabled False \
6460 -duration $duration \
6461 -numtrials $numTests \
6462 -trafficType constantLoading \
6464 -framesPerBurstGap 1 \
6466 -frameLossUnit {0} \
6467 -staggeredStart False \
6468 -framesizeList $frameSize \
6469 -frameSizeMode custom \
6470 -rateSelect percentMaxRate \
6471 -percentMaxRate 100 \
6473 -forceRegenerate False \
6474 -reportSequenceError False \
6477 -loadRateList $frameRate \
6481 -delayAfterTransmit 2 \
6482 -minRandomFrameSize 64 \
6483 -maxRandomFrameSize 1518 \
6484 -countRandomFrameSize 1 \
6485 -minIncrementFrameSize 64 \
6486 -stepIncrementFrameSize 64 \
6487 -maxIncrementFrameSize 1518 \
6488 -calculateLatency False \
6489 -calibrateLatency False \
6490 -latencyType cutThrough \
6491 -calculateJitter False \
6492 -enableDataIntegrity False \
6493 -loadType $loadType \
6494 -binaryFrameLossUnit % \
6495 -loadUnit percentMaxRate \
6496 -customLoadUnit percentMaxRate \
6497 -randomLoadUnit percentMaxRate \
6498 -incrementLoadUnit percentMaxRate \
6499 -binaryResolution 1000 \
6501 -binaryTolerance $tolerance \
6502 -initialIncrementLoadRate 100 \
6503 -stepIncrementLoadRate 10 \
6504 -maxIncrementLoadRate 100 \
6505 -minRandomLoadRate 10 \
6506 -maxRandomLoadRate 80 \
6507 -countRandomLoadRate 1 \
6508 -numFrames {100000} \
6510 -enableMinFrameSize True \
6512 -generateTrackingOptionAggregationFiles False \
6513 -sendFullyMeshed False \
6514 -imixDistribution weight \
6517 -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}}}} \
6518 -imixEnabled False \
6519 -imixTemplates none \
6520 -framesizeImixList $frameSize \
6521 -imixTrafficType {UNCHNAGED} \
6522 -ipRatioMode fixed \
6523 -ipv4RatioList {10,25,50,75,90} \
6524 -ipv6RatioList {90,75,50,25,10} \
6525 -minIncrementIpv4Ratio {10} \
6526 -stepIncrementIpv4Ratio {10} \
6527 -maxIncrementIpv4Ratio {90} \
6528 -minIncrementIpv6Ratio {90} \
6529 -stepIncrementIpv6Ratio {-10} \
6530 -maxIncrementIpv6Ratio {10} \
6531 -minRandomIpv4Ratio {10} \
6532 -maxRandomIpv4Ratio {90} \
6533 -minRandomIpv6Ratio {90} \
6534 -maxRandomIpv6Ratio {10} \
6535 -countRandomIpRatio 1 \
6536 -mapType {oneToOne|manyToMany|fullMesh} \
6537 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6538 ixNet setMultiAttrs $sg_rfc2544back2back/learnFrames \
6539 -learnFrequency $learningFrequency \
6540 -learnNumFrames 10 \
6542 -learnWaitTime 1000 \
6543 -learnFrameSize 64 \
6544 -fastPathLearnFrameSize 64 \
6545 -learnWaitTimeBeforeTransmit 0 \
6546 -learnSendMacOnly False \
6547 -learnSendRouterSolicitation False \
6548 -fastPathEnable $fastPathEnable \
6550 -fastPathNumFrames 10
6551 ixNet setMultiAttrs $sg_rfc2544back2back/passCriteria \
6552 -passCriteriaLoadRateMode average \
6553 -passCriteriaLoadRateValue 100 \
6554 -passCriteriaLoadRateScale mbps \
6555 -enablePassFail False \
6556 -enableRatePassFail False \
6557 -enableLatencyPassFail False \
6558 -enableStandardDeviationPassFail False \
6559 -latencyThresholdValue 10 \
6560 -latencyThresholdScale us \
6561 -latencyThresholdMode average \
6562 -latencyVariationThresholdValue 0 \
6563 -latencyVariationThresholdScale us \
6564 -latencyVarThresholdMode average \
6565 -enableSequenceErrorsPassFail False \
6566 -seqErrorsThresholdValue 0 \
6567 -seqErrorsThresholdMode average \
6568 -enableDataIntegrityPassFail False \
6569 -dataErrorThresholdValue 0 \
6570 -dataErrorThresholdMode average \
6571 -enableFrameCountPassFail False \
6572 -passCriteriaFrameCountValue 100 \
6573 -passCriteriaFrameCountMode average
6575 set sg_rfc2544back2back [lindex [ixNet remapIds $sg_rfc2544back2back] 0]
6576 set ixNetSG_Stack(1) $sg_rfc2544back2back
6579 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/protocols
6581 set sg_protocols $ixNetSG_Stack(1)/protocols
6582 ixNet setMultiAttrs $sg_protocols \
6583 -protocolState default \
6584 -waitAfterStart 120 \
6587 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6590 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/trafficSelection:1
6592 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6593 ixNet setMultiAttrs $sg_trafficSelection \
6594 -id $ixNetSG_ref(26) \
6595 -includeMode inTest \
6596 -itemType trafficItem
6598 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6602 # getting and applying the RFC2544 test
6604 set root [ixNet getRoot]
6605 set qt [ixNet getList $root quickTest]
6606 if {$rfc2544TestType == "throughput"} {
6607 set rfc2544test [ixNet getList $qt rfc2544throughput]
6608 } elseif {$rfc2544TestType == "back2back"} {
6609 set rfc2544test [ixNet getList $qt rfc2544back2back]
6611 ixNet exec apply $rfc2544test
6615 # starting the RFC2544 Throughput test
6617 puts "Starting test..."
6618 ixNet exec start $rfc2544test
6621 proc waitForRfc2544Test { } {
6622 # Wait for- and return results of- RFC2544 quicktest.
6626 puts "Waiting for test to complete..."
6627 set result [ixNet exec waitForTest $rfc2544test]
6628 puts "Finished Test"