3 # Copyright (c) 2014, Ixia
4 # Copyright (c) 2015-2018, Intel Corporation, Tieto
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" "frame_size_list"]
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
62 set frameSizeList $frame_size_list
64 # change to windows path format and append directory
65 set output_dir [string map {"/" "\\"} $output_dir]
66 set output_dir "$output_dir\\rfctests"
67 puts "Output directory is $output_dir"
69 proc startRfc2544Test { testSpec trafficSpec } {
70 # Start RFC2544 quickte"$output_dir\\rfctests"st.
72 # Configure global variables. See documentation on 'global' for more
73 # information on why this is necessary
74 # https://www.tcl.tk/man/tcl8.5/tutorial/Tcl13.html
78 global sg_rfc2544throughput
79 global sg_rfc2544back2back
82 # Suffix for stack names
83 # This variable should be incremented after setting sg_stack like:
84 # set sg_stack $ixNetSG_Stack(2)/stack:"protocolnamehere-$stack_number"
90 set rfc2544TestType [dict get $testSpec rfc2544TestType]
92 set binary [dict get $testSpec binary]
94 set duration [dict get $testSpec duration]
96 # check if only one tgen port is requested
97 if {($::port1 == $::port2)} {
102 set selfDestined False
105 # RFC2544 to IXIA terminology mapping (it affects Ixia configuration inside this script):
109 set numTests [dict get $testSpec tests]
111 set tolerance [dict get $testSpec lossrate]
115 set frameRate [dict get $testSpec framerate]
120 set learningFrames [dict get $testSpec learningFrames]
123 set L2Increment False
124 set L3ValueType singleValue
126 set L4ValueType singleValue
129 if {$learningFrames} {
130 set learningFrequency oncePerTest
131 set fastPathEnable True
133 set learningFrequency never
134 set fastPathEnable False
137 set multipleStreams [dict get $testSpec multipleStreams]
138 set streamType [dict get $testSpec streamType]
140 if {($multipleStreams < 0)} {
141 set multipleStreams 0
144 if {$multipleStreams} {
145 if {($streamType == "L2")} {
146 set L2CountValue $multipleStreams
148 } elseif {($streamType == "L3")} {
149 set L3ValueType increment
150 set L3CountValue $multipleStreams
152 set L4ValueType increment
153 set L4CountValue $multipleStreams
157 set flowControl [dict get $testSpec flowControl]
158 set fastConvergence True
159 set convergenceDuration [expr $duration/10]
163 # extract nested dictionaries
164 set trafficSpec_l2 [dict get $trafficSpec l2]
165 set trafficSpec_l3 [dict get $trafficSpec l3]
166 set trafficSpec_l4 [dict get $trafficSpec l4]
167 set trafficSpec_vlan [dict get $trafficSpec vlan]
169 set frameSize [dict get $trafficSpec_l2 framesize]
170 set srcMac [dict get $trafficSpec_l2 srcmac]
171 set dstMac [dict get $trafficSpec_l2 dstmac]
172 set srcPort [dict get $trafficSpec_l4 srcport]
173 set dstPort [dict get $trafficSpec_l4 dstport]
175 set proto [dict get $trafficSpec_l3 proto]
176 set srcIp [dict get $trafficSpec_l3 srcip]
177 set dstIp [dict get $trafficSpec_l3 dstip]
178 set vlanEnabled [dict get $trafficSpec_vlan enabled]
179 set l3Enabled [dict get $trafficSpec_l3 enabled]
180 set l4Enabled [dict get $trafficSpec_l4 enabled]
183 if {$frameSize < 68 } {
184 if {$rfc2544TestType == "back2back"} {
185 puts "INFO: Packet size too small, packet size will be \
186 increased to 68 for this test"
191 set VERSION [package require IxTclNetwork]
193 ###################################################################
194 ############################ Operation ############################
195 ###################################################################
197 puts "Connecting to IxNetwork machine..."
199 ixNet connect $::IxNserver -port $::IxNport -version $VERSION
201 puts "Connected to IxNetwork machine"
203 puts "Configuring IxNetwork machine..."
206 proc sg_commit {} {ixNet commit}
209 ixNet setSessionParameter version 6.30.701.16
210 ixNet execute newConfig
211 set ixNetSG_Stack(0) [ixNet getRoot]
214 # setting global options
216 set sg_top [ixNet getRoot]
217 ixNet setMultiAttrs $sg_top/availableHardware \
220 ixNet setMultiAttrs $sg_top/globals/preferences \
221 -connectPortsOnLoadConfig True \
222 -rebootPortsOnConnect False
223 ixNet setMultiAttrs $sg_top/globals/interfaces \
226 -sendSingleArpPerGateway True \
227 -sendSingleNsPerGateway True
228 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/checksums \
229 -dropRxL2FcsErrors False \
230 -correctTxL2FcsErrors False \
231 -alwaysCorrectWhenModifying True \
232 -correctTxChecksumOverIp False \
233 -correctTxIpv4Checksum False
234 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/rxRateLimit \
237 -units {kKilobitsPerSecond}
238 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/drop \
242 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/reorder \
247 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/duplicate \
252 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/bitError \
257 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delay \
260 -units {kMicroseconds}
261 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delayVariation \
264 -units {kMicroseconds} \
265 -distribution {kUniform} \
266 -exponentialMeanArrival 0 \
267 -gaussianStandardDeviation 0
268 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/customDelayVariation \
271 ixNet setMultiAttrs $sg_top/statistics \
272 -additionalFcoeStat2 fcoeInvalidFrames \
273 -csvLogPollIntervalMultiplier 1 \
275 -guardrailEnabled True \
276 -enableCsvLogging False\
277 -dataStorePollingIntervalMultiplier 1 \
278 -maxNumberOfStatsPerCustomGraph 16 \
279 -additionalFcoeStat1 fcoeInvalidDelimiter \
280 -timestampPrecision 3 \
281 -enableDataCenterSharedStats False \
282 -timeSynchronization syncTimeToTestStart \
283 -enableAutoDataStore False
284 ixNet setMultiAttrs $sg_top/statistics/measurementMode \
285 -measurementMode mixedMode
286 ixNet setMultiAttrs $sg_top/eventScheduler \
287 -licenseServerLocation {127.0.0.1}
288 ixNet setMultiAttrs $sg_top/traffic \
289 -destMacRetryCount 1 \
290 -maxTrafficGenerationQueries 500 \
291 -enableStaggeredTransmit False \
292 -learningFrameSize $frameSize \
294 -enableDestMacRetry True \
295 -enableMulticastScalingFactor False \
296 -destMacRetryDelay 5 \
297 -largeErrorThreshhold 2 \
298 -refreshLearnedInfoBeforeApply False \
299 -enableMinFrameSize True \
300 -macChangeOnFly False \
302 -enableInstantaneousStatsSupport False \
303 -learningFramesCount 10 \
304 -globalStreamControl continuous \
305 -displayMplsCurrentLabelValue False \
306 -mplsLabelLearningTimeout 30 \
307 -enableStaggeredStartDelay True \
308 -enableDataIntegrityCheck False \
309 -enableSequenceChecking False \
310 -globalStreamControlIterations 1 \
311 -enableStreamOrdering False \
312 -frameOrderingMode none \
313 -learningFramesRate 100
314 ixNet setMultiAttrs $sg_top/traffic/statistics/latency \
317 ixNet setMultiAttrs $sg_top/traffic/statistics/interArrivalTimeRate \
319 ixNet setMultiAttrs $sg_top/traffic/statistics/delayVariation \
321 -statisticsMode rxDelayVariationErrorsAndRate \
322 -latencyMode storeForward \
323 -largeSequenceNumberErrorThreshold 2
324 ixNet setMultiAttrs $sg_top/traffic/statistics/sequenceChecking \
326 -sequenceMode rxThreshold
327 ixNet setMultiAttrs $sg_top/traffic/statistics/advancedSequenceChecking \
329 -advancedSequenceThreshold 1
330 ixNet setMultiAttrs $sg_top/traffic/statistics/cpdpConvergence \
332 -dataPlaneJitterWindow 10485760 \
333 -dataPlaneThreshold 95 \
334 -enableDataPlaneEventsRateMonitor False \
335 -enableControlPlaneEvents False
336 ixNet setMultiAttrs $sg_top/traffic/statistics/packetLossDuration \
338 ixNet setMultiAttrs $sg_top/traffic/statistics/dataIntegrity \
340 ixNet setMultiAttrs $sg_top/traffic/statistics/errorStats \
342 ixNet setMultiAttrs $sg_top/traffic/statistics/prbs \
344 ixNet setMultiAttrs $sg_top/traffic/statistics/iptv \
346 ixNet setMultiAttrs $sg_top/traffic/statistics/l1Rates \
348 ixNet setMultiAttrs $sg_top/quickTest/globals \
349 -productLabel {Your switch/router name here} \
350 -serialNumber {Your switch/router serial number here} \
351 -version {Your firmware version here} \
353 -titlePageComments {} \
354 -maxLinesToDisplay 100 \
355 -enableCheckLinkState False \
356 -enableAbortIfLinkDown False \
357 -enableSwitchToStats True \
358 -enableCapture False \
359 -enableSwitchToResult True \
360 -enableGenerateReportAfterRun False \
361 -enableRebootCpu False \
362 -saveCaptureBeforeRun False \
364 -sleepTimeAfterReboot 10 \
365 -useDefaultRootPath False \
366 -outputRootPath $::output_dir
368 #set sg_top [lindex [ixNet remapIds $sg_top] 0]
369 set ixNetSG_Stack(0) $sg_top
376 # configuring the object that corresponds to /vport:1
378 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
379 ixNet setMultiAttrs $sg_vport \
380 -transmitIgnoreLinkStatus False \
381 -txGapControlMode averageMode \
383 -connectedTo ::ixNet::OBJ-null \
384 -txMode interleaved \
386 -rxMode captureAndMeasure \
387 -name {10GE LAN - 001}
388 ixNet setMultiAttrs $sg_vport/l1Config \
389 -currentType tenGigLan
390 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
392 -flowControlDirectedAddress "01 80 C2 00 00 01" \
394 -autoInstrumentation endOfFrame \
395 -transmitClocking internal \
396 -txIgnoreRxLinkFaults False \
398 -enableLASIMonitoring False \
399 -enabledFlowControl $flowControl
400 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
404 -vendorSpecificInformation {00 00 00 00} \
405 -macAddress "00:00:00:00:00:00" \
409 -enableTlvOption False \
411 -organizationUniqueIdentifier {000000}
412 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
413 -supportDataCenterMode False \
414 -priorityGroupSize priorityGroupSize-8 \
416 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
417 -flowControlType ieee802.1Qbb \
418 -enablePFCPauseDelay False
419 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
421 -flowControlDirectedAddress "01 80 C2 00 00 01" \
423 -autoInstrumentation endOfFrame \
424 -transmitClocking internal \
425 -txIgnoreRxLinkFaults False \
427 -enableLASIMonitoring False \
428 -enabledFlowControl $flowControl
429 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
430 -supportDataCenterMode False \
431 -priorityGroupSize priorityGroupSize-8 \
433 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
434 -flowControlType ieee802.1Qbb \
435 -enablePFCPauseDelay False
436 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
440 -vendorSpecificInformation {00 00 00 00} \
441 -macAddress "00:00:00:00:00:00" \
445 -enableTlvOption False \
447 -organizationUniqueIdentifier {000000}
448 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
449 -sourceAddress1Mask {00:00:00:00:00:00} \
450 -destinationAddress1Mask {00:00:00:00:00:00} \
451 -sourceAddress2 {00:00:00:00:00:00} \
452 -pattern2OffsetType fromStartOfFrame \
455 -sourceAddress2Mask {00:00:00:00:00:00} \
456 -destinationAddress2 {00:00:00:00:00:00} \
457 -destinationAddress1 {00:00:00:00:00:00} \
458 -sourceAddress1 {00:00:00:00:00:00} \
460 -destinationAddress2Mask {00:00:00:00:00:00} \
464 -pattern1OffsetType fromStartOfFrame
465 ixNet setMultiAttrs $sg_vport/protocols/arp \
467 ixNet setMultiAttrs $sg_vport/protocols/bfd \
470 -packetsPerInterval 0
471 ixNet setMultiAttrs $sg_vport/protocols/bgp \
472 -autoFillUpDutIp False \
473 -disableReceivedUpdateValidation False \
474 -enableAdVplsPrefixLengthInBits False \
475 -enableExternalActiveConnect True \
476 -enableInternalActiveConnect True \
477 -enableVpnLabelExchangeOverLsp True \
480 -externalRetryDelay 120 \
482 -internalRetryDelay 120 \
484 -triggerVplsPwInitiation False
485 ixNet setMultiAttrs $sg_vport/protocols/cfm \
486 -enableOptionalLmFunctionality False \
487 -enableOptionalTlvValidation True \
491 -suppressErrorsOnAis True
492 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
494 ixNet setMultiAttrs $sg_vport/protocols/elmi \
496 ixNet setMultiAttrs $sg_vport/protocols/igmp \
501 -sendLeaveOnStop True \
502 -statsEnabled False \
504 ixNet setMultiAttrs $sg_vport/protocols/isis \
505 -allL1RbridgesMac "01:80:c2:00:00:40" \
506 -emulationType isisL3Routing \
508 -helloMulticastMac "01:80:c2:00:00:41" \
509 -lspMgroupPdusPerInterval 0 \
511 -rateControlInterval 0 \
512 -sendP2PHellosToUnicastMac True \
513 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
514 -spbHelloMulticastMac "09:00:2b:00:00:05" \
516 ixNet setMultiAttrs $sg_vport/protocols/lacp \
517 -enablePreservePartnerInfo False \
519 ixNet setMultiAttrs $sg_vport/protocols/ldp \
520 -enableDiscardSelfAdvFecs False \
521 -enableHelloJitter True \
522 -enableVpnLabelExchangeOverLsp True \
526 -keepAliveHoldTime 30 \
527 -keepAliveInterval 10 \
528 -p2mpCapabilityParam 1288 \
530 -targetedHelloInterval 15 \
531 -targetedHoldTime 45 \
532 -useTransportLabelsForMplsOam False
533 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
535 ixNet setMultiAttrs $sg_vport/protocols/lisp \
536 -burstIntervalInMs 0 \
538 -ipv4MapRegisterPacketsPerBurst 0 \
539 -ipv4MapRequestPacketsPerBurst 0 \
540 -ipv4SmrPacketsPerBurst 0 \
541 -ipv6MapRegisterPacketsPerBurst 0 \
542 -ipv6MapRequestPacketsPerBurst 0 \
543 -ipv6SmrPacketsPerBurst 0
544 ixNet setMultiAttrs $sg_vport/protocols/mld \
545 -enableDoneOnStop True \
547 -mldv2Report type143 \
552 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
554 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
555 -apsChannelType {00 02 } \
556 -bfdCcChannelType {00 07 } \
557 -delayManagementChannelType {00 05 } \
558 -enableHighPerformanceMode True \
560 -faultManagementChannelType {00 58 } \
561 -lossMeasurementChannelType {00 04 } \
562 -onDemandCvChannelType {00 09 } \
563 -pwStatusChannelType {00 0B } \
564 -y1731ChannelType {7F FA }
565 ixNet setMultiAttrs $sg_vport/protocols/ospf \
566 -enableDrOrBdr False \
568 -floodLinkStateUpdatesPerInterval 0 \
569 -rateControlInterval 0
570 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
572 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
573 -bsmFramePerInterval 0 \
574 -crpFramePerInterval 0 \
575 -dataMdtFramePerInterval 0 \
576 -denyGrePimIpPrefix {0.0.0.0/32} \
577 -enableDiscardJoinPruneProcessing False \
578 -enableRateControl False \
580 -helloMsgsPerInterval 0 \
582 -joinPruneMessagesPerInterval 0 \
583 -registerMessagesPerInterval 0 \
584 -registerStopMessagesPerInterval 0
585 ixNet setMultiAttrs $sg_vport/protocols/ping \
587 ixNet setMultiAttrs $sg_vport/protocols/rip \
589 ixNet setMultiAttrs $sg_vport/protocols/ripng \
591 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
592 -enableControlLspInitiationRate False \
593 -enableShowTimeValue False \
594 -enableVpnLabelExchangeOverLsp True \
596 -maxLspInitiationsPerSec 400 \
597 -useTransportLabelsForMplsOam False
598 ixNet setMultiAttrs $sg_vport/protocols/stp \
600 ixNet setMultiAttrs $sg_vport/rateControlParameters \
601 -maxRequestsPerBurst 1 \
602 -maxRequestsPerSec 250 \
603 -minRetryInterval 10 \
605 -sendInBursts False \
606 -sendRequestsAsFastAsPossible False
607 ixNet setMultiAttrs $sg_vport/capture \
608 -controlCaptureTrigger {} \
609 -controlCaptureFilter {} \
610 -hardwareEnabled False \
611 -softwareEnabled False \
612 -displayFiltersDataCapture {} \
613 -displayFiltersControlCapture {} \
614 -controlBufferSize 30 \
615 -controlBufferBehaviour bufferLiveNonCircular
616 ixNet setMultiAttrs $sg_vport/protocolStack/options \
617 -routerSolicitationDelay 1 \
618 -routerSolicitationInterval 4 \
619 -routerSolicitations 3 \
623 -ipv4RetransTime 3000 \
626 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
627 set ixNetSG_ref(2) $sg_vport
628 set ixNetSG_Stack(1) $sg_vport
631 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:1
633 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
634 ixNet setMultiAttrs $sg_uds \
635 -destinationAddressSelector anyAddr \
636 -customFrameSizeTo 0 \
637 -customFrameSizeFrom 0 \
639 -patternSelector anyPattern \
640 -sourceAddressSelector anyAddr \
644 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
647 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:2
649 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
650 ixNet setMultiAttrs $sg_uds \
651 -destinationAddressSelector anyAddr \
652 -customFrameSizeTo 0 \
653 -customFrameSizeFrom 0 \
655 -patternSelector anyPattern \
656 -sourceAddressSelector anyAddr \
660 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
663 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:3
665 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
666 ixNet setMultiAttrs $sg_uds \
667 -destinationAddressSelector anyAddr \
668 -customFrameSizeTo 0 \
669 -customFrameSizeFrom 0 \
671 -patternSelector anyPattern \
672 -sourceAddressSelector anyAddr \
676 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
679 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:4
681 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
682 ixNet setMultiAttrs $sg_uds \
683 -destinationAddressSelector anyAddr \
684 -customFrameSizeTo 0 \
685 -customFrameSizeFrom 0 \
687 -patternSelector anyPattern \
688 -sourceAddressSelector anyAddr \
692 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
695 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:5
697 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
698 ixNet setMultiAttrs $sg_uds \
699 -destinationAddressSelector anyAddr \
700 -customFrameSizeTo 0 \
701 -customFrameSizeFrom 0 \
703 -patternSelector anyPattern \
704 -sourceAddressSelector anyAddr \
708 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
711 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:6
713 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
714 ixNet setMultiAttrs $sg_uds \
715 -destinationAddressSelector anyAddr \
716 -customFrameSizeTo 0 \
717 -customFrameSizeFrom 0 \
719 -patternSelector anyPattern \
720 -sourceAddressSelector anyAddr \
724 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
727 # configuring the object that corresponds to /vport:1/protocols/static/lan:1
729 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
730 ixNet setMultiAttrs $sg_lan \
731 -atmEncapsulation ::ixNet::OBJ-null \
732 -count $L2CountValue \
734 -enableIncrementMac $L2Increment \
735 -enableIncrementVlan False \
736 -enableSiteId False \
739 -frEncapsulation ::ixNet::OBJ-null \
740 -incrementPerVcVlanMode noIncrement \
741 -incrementVlanMode noIncrement \
743 -macRangeMode normal \
746 -skipVlanIdZero True \
748 -trafficGroupId ::ixNet::OBJ-null \
753 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
757 # configuring the object that corresponds to /vport:2
759 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
760 ixNet setMultiAttrs $sg_vport \
761 -transmitIgnoreLinkStatus False \
762 -txGapControlMode averageMode \
764 -connectedTo ::ixNet::OBJ-null \
765 -txMode interleaved \
767 -rxMode captureAndMeasure \
768 -name {10GE LAN - 002}
769 ixNet setMultiAttrs $sg_vport/l1Config \
770 -currentType tenGigLan
771 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
773 -flowControlDirectedAddress "01 80 C2 00 00 01" \
775 -autoInstrumentation endOfFrame \
776 -transmitClocking internal \
777 -txIgnoreRxLinkFaults False \
779 -enableLASIMonitoring False \
780 -enabledFlowControl $flowControl
781 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
785 -vendorSpecificInformation {00 00 00 00} \
786 -macAddress "00:00:00:00:00:00" \
790 -enableTlvOption False \
792 -organizationUniqueIdentifier {000000}
793 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
794 -supportDataCenterMode False \
795 -priorityGroupSize priorityGroupSize-8 \
797 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
798 -flowControlType ieee802.1Qbb \
799 -enablePFCPauseDelay False
800 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
802 -flowControlDirectedAddress "01 80 C2 00 00 01" \
804 -autoInstrumentation endOfFrame \
805 -transmitClocking internal \
806 -txIgnoreRxLinkFaults False \
808 -enableLASIMonitoring False \
809 -enabledFlowControl $flowControl
810 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
811 -supportDataCenterMode False \
812 -priorityGroupSize priorityGroupSize-8 \
814 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
815 -flowControlType ieee802.1Qbb \
816 -enablePFCPauseDelay False
817 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
821 -vendorSpecificInformation {00 00 00 00} \
822 -macAddress "00:00:00:00:00:00" \
826 -enableTlvOption False \
828 -organizationUniqueIdentifier {000000}
829 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
830 -sourceAddress1Mask {00:00:00:00:00:00} \
831 -destinationAddress1Mask {00:00:00:00:00:00} \
832 -sourceAddress2 {00:00:00:00:00:00} \
833 -pattern2OffsetType fromStartOfFrame \
836 -sourceAddress2Mask {00:00:00:00:00:00} \
837 -destinationAddress2 {00:00:00:00:00:00} \
838 -destinationAddress1 {00:00:00:00:00:00} \
839 -sourceAddress1 {00:00:00:00:00:00} \
841 -destinationAddress2Mask {00:00:00:00:00:00} \
845 -pattern1OffsetType fromStartOfFrame
846 ixNet setMultiAttrs $sg_vport/protocols/arp \
848 ixNet setMultiAttrs $sg_vport/protocols/bfd \
851 -packetsPerInterval 0
852 ixNet setMultiAttrs $sg_vport/protocols/bgp \
853 -autoFillUpDutIp False \
854 -disableReceivedUpdateValidation False \
855 -enableAdVplsPrefixLengthInBits False \
856 -enableExternalActiveConnect True \
857 -enableInternalActiveConnect True \
858 -enableVpnLabelExchangeOverLsp True \
861 -externalRetryDelay 120 \
863 -internalRetryDelay 120 \
865 -triggerVplsPwInitiation False
866 ixNet setMultiAttrs $sg_vport/protocols/cfm \
867 -enableOptionalLmFunctionality False \
868 -enableOptionalTlvValidation True \
872 -suppressErrorsOnAis True
873 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
875 ixNet setMultiAttrs $sg_vport/protocols/elmi \
877 ixNet setMultiAttrs $sg_vport/protocols/igmp \
882 -sendLeaveOnStop True \
883 -statsEnabled False \
885 ixNet setMultiAttrs $sg_vport/protocols/isis \
886 -allL1RbridgesMac "01:80:c2:00:00:40" \
887 -emulationType isisL3Routing \
889 -helloMulticastMac "01:80:c2:00:00:41" \
890 -lspMgroupPdusPerInterval 0 \
892 -rateControlInterval 0 \
893 -sendP2PHellosToUnicastMac True \
894 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
895 -spbHelloMulticastMac "09:00:2b:00:00:05" \
897 ixNet setMultiAttrs $sg_vport/protocols/lacp \
898 -enablePreservePartnerInfo False \
900 ixNet setMultiAttrs $sg_vport/protocols/ldp \
901 -enableDiscardSelfAdvFecs False \
902 -enableHelloJitter True \
903 -enableVpnLabelExchangeOverLsp True \
907 -keepAliveHoldTime 30 \
908 -keepAliveInterval 10 \
909 -p2mpCapabilityParam 1288 \
911 -targetedHelloInterval 15 \
912 -targetedHoldTime 45 \
913 -useTransportLabelsForMplsOam False
914 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
916 ixNet setMultiAttrs $sg_vport/protocols/lisp \
917 -burstIntervalInMs 0 \
919 -ipv4MapRegisterPacketsPerBurst 0 \
920 -ipv4MapRequestPacketsPerBurst 0 \
921 -ipv4SmrPacketsPerBurst 0 \
922 -ipv6MapRegisterPacketsPerBurst 0 \
923 -ipv6MapRequestPacketsPerBurst 0 \
924 -ipv6SmrPacketsPerBurst 0
925 ixNet setMultiAttrs $sg_vport/protocols/mld \
926 -enableDoneOnStop True \
928 -mldv2Report type143 \
933 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
935 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
936 -apsChannelType {00 02 } \
937 -bfdCcChannelType {00 07 } \
938 -delayManagementChannelType {00 05 } \
939 -enableHighPerformanceMode True \
941 -faultManagementChannelType {00 58 } \
942 -lossMeasurementChannelType {00 04 } \
943 -onDemandCvChannelType {00 09 } \
944 -pwStatusChannelType {00 0B } \
945 -y1731ChannelType {7F FA }
946 ixNet setMultiAttrs $sg_vport/protocols/ospf \
947 -enableDrOrBdr False \
949 -floodLinkStateUpdatesPerInterval 0 \
950 -rateControlInterval 0
951 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
953 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
954 -bsmFramePerInterval 0 \
955 -crpFramePerInterval 0 \
956 -dataMdtFramePerInterval 0 \
957 -denyGrePimIpPrefix {0.0.0.0/32} \
958 -enableDiscardJoinPruneProcessing False \
959 -enableRateControl False \
961 -helloMsgsPerInterval 0 \
963 -joinPruneMessagesPerInterval 0 \
964 -registerMessagesPerInterval 0 \
965 -registerStopMessagesPerInterval 0
966 ixNet setMultiAttrs $sg_vport/protocols/ping \
968 ixNet setMultiAttrs $sg_vport/protocols/rip \
970 ixNet setMultiAttrs $sg_vport/protocols/ripng \
972 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
973 -enableControlLspInitiationRate False \
974 -enableShowTimeValue False \
975 -enableVpnLabelExchangeOverLsp True \
977 -maxLspInitiationsPerSec 400 \
978 -useTransportLabelsForMplsOam False
979 ixNet setMultiAttrs $sg_vport/protocols/stp \
981 ixNet setMultiAttrs $sg_vport/rateControlParameters \
982 -maxRequestsPerBurst 1 \
983 -maxRequestsPerSec 250 \
984 -minRetryInterval 10 \
986 -sendInBursts False \
987 -sendRequestsAsFastAsPossible False
988 ixNet setMultiAttrs $sg_vport/capture \
989 -controlCaptureTrigger {} \
990 -controlCaptureFilter {} \
991 -hardwareEnabled False \
992 -softwareEnabled False \
993 -displayFiltersDataCapture {} \
994 -displayFiltersControlCapture {} \
995 -controlBufferSize 30 \
996 -controlBufferBehaviour bufferLiveNonCircular
997 ixNet setMultiAttrs $sg_vport/protocolStack/options \
998 -routerSolicitationDelay 1 \
999 -routerSolicitationInterval 4 \
1000 -routerSolicitations 3 \
1004 -ipv4RetransTime 3000 \
1007 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
1008 set ixNetSG_ref(10) $sg_vport
1009 set ixNetSG_Stack(1) $sg_vport
1012 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:1
1014 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
1015 ixNet setMultiAttrs $sg_uds \
1016 -destinationAddressSelector anyAddr \
1017 -customFrameSizeTo 0 \
1018 -customFrameSizeFrom 0 \
1019 -error errAnyFrame \
1020 -patternSelector anyPattern \
1021 -sourceAddressSelector anyAddr \
1025 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1028 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:2
1030 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
1031 ixNet setMultiAttrs $sg_uds \
1032 -destinationAddressSelector anyAddr \
1033 -customFrameSizeTo 0 \
1034 -customFrameSizeFrom 0 \
1035 -error errAnyFrame \
1036 -patternSelector anyPattern \
1037 -sourceAddressSelector anyAddr \
1041 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1044 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:3
1046 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
1047 ixNet setMultiAttrs $sg_uds \
1048 -destinationAddressSelector anyAddr \
1049 -customFrameSizeTo 0 \
1050 -customFrameSizeFrom 0 \
1051 -error errAnyFrame \
1052 -patternSelector anyPattern \
1053 -sourceAddressSelector anyAddr \
1057 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1060 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:4
1062 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
1063 ixNet setMultiAttrs $sg_uds \
1064 -destinationAddressSelector anyAddr \
1065 -customFrameSizeTo 0 \
1066 -customFrameSizeFrom 0 \
1067 -error errAnyFrame \
1068 -patternSelector anyPattern \
1069 -sourceAddressSelector anyAddr \
1073 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1076 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:5
1078 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
1079 ixNet setMultiAttrs $sg_uds \
1080 -destinationAddressSelector anyAddr \
1081 -customFrameSizeTo 0 \
1082 -customFrameSizeFrom 0 \
1083 -error errAnyFrame \
1084 -patternSelector anyPattern \
1085 -sourceAddressSelector anyAddr \
1089 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1092 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:6
1094 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
1095 ixNet setMultiAttrs $sg_uds \
1096 -destinationAddressSelector anyAddr \
1097 -customFrameSizeTo 0 \
1098 -customFrameSizeFrom 0 \
1099 -error errAnyFrame \
1100 -patternSelector anyPattern \
1101 -sourceAddressSelector anyAddr \
1105 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1108 # configuring the object that corresponds to /vport:2/protocols/static/lan:1
1110 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
1111 ixNet setMultiAttrs $sg_lan \
1112 -atmEncapsulation ::ixNet::OBJ-null \
1113 -count $L2CountValue \
1115 -enableIncrementMac $L2Increment \
1116 -enableIncrementVlan False \
1117 -enableSiteId False \
1120 -frEncapsulation ::ixNet::OBJ-null \
1121 -incrementPerVcVlanMode noIncrement \
1122 -incrementVlanMode noIncrement \
1124 -macRangeMode normal \
1127 -skipVlanIdZero True \
1129 -trafficGroupId ::ixNet::OBJ-null \
1134 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
1138 ### /availableHardware area
1142 # configuring the object that corresponds to /availableHardware/chassis"
1144 set sg_chassis [ixNet add $ixNetSG_Stack(0)/availableHardware chassis]
1145 ixNet setMultiAttrs $sg_chassis \
1149 -hostname $::chassis
1151 set sg_chassis [lindex [ixNet remapIds $sg_chassis] 0]
1152 set ixNetSG_Stack(1) $sg_chassis
1155 # configuring the object that corresponds to /availableHardware/chassis/card
1157 set sg_card $ixNetSG_Stack(1)/card:$::card
1158 ixNet setMultiAttrs $sg_card \
1159 -aggregationMode normal
1161 set sg_card [lindex [ixNet remapIds $sg_card] 0]
1162 set ixNetSG_ref(19) $sg_card
1163 set ixNetSG_Stack(2) $sg_card
1166 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:1
1168 set sg_aggregation $ixNetSG_Stack(2)/aggregation:1
1169 ixNet setMultiAttrs $sg_aggregation \
1172 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1175 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:2
1177 set sg_aggregation $ixNetSG_Stack(2)/aggregation:2
1178 ixNet setMultiAttrs $sg_aggregation \
1181 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1184 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:3
1186 set sg_aggregation $ixNetSG_Stack(2)/aggregation:3
1187 ixNet setMultiAttrs $sg_aggregation \
1190 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1193 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:4
1195 set sg_aggregation $ixNetSG_Stack(2)/aggregation:4
1196 ixNet setMultiAttrs $sg_aggregation \
1199 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1200 ixNet setMultiAttrs $ixNetSG_ref(2) \
1201 -connectedTo $ixNetSG_ref(19)/port:$::port1
1204 ixNet setMultiAttrs $ixNetSG_ref(10) \
1205 -connectedTo $ixNetSG_ref(19)/port:$::port2
1211 ### /impairment area
1215 # configuring the object that corresponds to /impairment/profile:3
1217 set sg_profile [ixNet add $ixNetSG_Stack(0)/impairment profile]
1218 ixNet setMultiAttrs $sg_profile \
1220 -name {Impairment Profile 1} \
1224 ixNet setMultiAttrs $sg_profile/checksums \
1225 -dropRxL2FcsErrors False \
1226 -correctTxL2FcsErrors False \
1227 -alwaysCorrectWhenModifying True \
1228 -correctTxChecksumOverIp False \
1229 -correctTxIpv4Checksum False
1230 ixNet setMultiAttrs $sg_profile/rxRateLimit \
1233 -units {kKilobitsPerSecond}
1234 ixNet setMultiAttrs $sg_profile/drop \
1238 ixNet setMultiAttrs $sg_profile/reorder \
1243 ixNet setMultiAttrs $sg_profile/duplicate \
1248 ixNet setMultiAttrs $sg_profile/bitError \
1253 ixNet setMultiAttrs $sg_profile/delay \
1256 -units {kMicroseconds}
1257 ixNet setMultiAttrs $sg_profile/delayVariation \
1260 -units {kMicroseconds} \
1261 -distribution {kUniform} \
1262 -exponentialMeanArrival 0 \
1263 -gaussianStandardDeviation 0
1264 ixNet setMultiAttrs $sg_profile/customDelayVariation \
1268 set sg_profile [lindex [ixNet remapIds $sg_profile] 0]
1269 set ixNetSG_Stack(1) $sg_profile
1272 # configuring the object that corresponds to /impairment/profile:3/fixedClassifier:1
1274 set sg_fixedClassifier [ixNet add $ixNetSG_Stack(1) fixedClassifier]
1276 set sg_fixedClassifier [lindex [ixNet remapIds $sg_fixedClassifier] 0]
1283 # configuring the object that corresponds to /traffic/trafficItem:1
1285 set sg_trafficItem [ixNet add $ixNetSG_Stack(0)/traffic trafficItem]
1286 ixNet setMultiAttrs $sg_trafficItem \
1287 -transportRsvpTePreference one \
1288 -trafficItemType l2L3 \
1289 -biDirectional $::biDirect \
1290 -mergeDestinations True \
1291 -hostsPerNetwork 1 \
1292 -transmitMode interleaved \
1294 -trafficType {ethernetVlan} \
1295 -interAsLdpPreference two \
1296 -allowSelfDestined $selfDestined \
1298 -maxNumberOfVpnLabelStack 2 \
1299 -interAsBgpPreference one \
1301 -transportLdpPreference two \
1302 -egressEnabled False \
1303 -enableDynamicMplsLabelValues False \
1304 -routeMesh oneToOne \
1305 -name {Traffic Item 1} \
1306 -srcDestMesh oneToOne
1308 set sg_trafficItem [lindex [ixNet remapIds $sg_trafficItem] 0]
1309 set ixNetSG_ref(26) $sg_trafficItem
1310 set ixNetSG_Stack(1) $sg_trafficItem
1313 # configuring the object that corresponds to /traffic/trafficItem:1/endpointSet:1
1315 set sg_endpointSet [ixNet add $ixNetSG_Stack(1) endpointSet]
1317 ixNet setMultiAttrs $sg_endpointSet \
1318 -destinations [list $ixNetSG_ref(10)/protocols] \
1319 -destinationFilter {} \
1322 -sources [list $ixNetSG_ref(2)/protocols] \
1323 -name {EndpointSet-1}
1325 ixNet setMultiAttrs $sg_endpointSet \
1326 -destinations [list $ixNetSG_ref(2)/protocols] \
1327 -destinationFilter {} \
1330 -sources [list $ixNetSG_ref(2)/protocols] \
1331 -name {EndpointSet-1}
1334 set sg_endpointSet [lindex [ixNet remapIds $sg_endpointSet] 0]
1337 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1
1339 set sg_configElement $ixNetSG_Stack(1)/configElement:1
1340 ixNet setMultiAttrs $sg_configElement \
1342 -preambleCustomSize 8 \
1343 -enableDisparityError False \
1344 -preambleFrameSizeMode auto \
1345 -destinationMacMode manual
1346 ixNet setMultiAttrs $sg_configElement/frameSize \
1348 -fixedSize $frameSizeList \
1354 -presetDistribution cisco \
1357 ixNet setMultiAttrs $sg_configElement/frameRate \
1358 -bitRateUnitsType bitsPerSec \
1360 -enforceMinimumInterPacketGap 0 \
1361 -type percentLineRate \
1362 -interPacketGapUnitsType nanoseconds
1363 ixNet setMultiAttrs $sg_configElement/framePayload \
1364 -type incrementByte \
1365 -customRepeat True \
1367 ixNet setMultiAttrs $sg_configElement/frameRateDistribution \
1368 -streamDistribution applyRateToAll \
1369 -portDistribution applyRateToAll
1370 ixNet setMultiAttrs $sg_configElement/transmissionControl \
1375 -interBurstGapUnits nanoseconds \
1379 -enableInterStreamGap False \
1380 -startDelayUnits bytes \
1382 -burstPacketCount 1 \
1383 -enableInterBurstGap False \
1386 set sg_configElement [lindex [ixNet remapIds $sg_configElement] 0]
1387 set ixNetSG_Stack(2) $sg_configElement
1390 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"
1392 set sg_stack $ixNetSG_Stack(2)/stack:"ethernet-$stack_number"
1394 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1395 set ixNetSG_Stack(3) $sg_stack
1399 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
1401 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
1402 ixNet setMultiAttrs $sg_field \
1403 -singleValue $dstMac \
1405 -optionalEnabled True \
1407 -valueList {{00:00:00:00:00:00}} \
1408 -stepValue {00:00:00:00:00:01} \
1409 -fixedBits {00:00:00:00:00:00} \
1410 -fieldValue $dstMac \
1412 -randomMask {00:00:00:00:00:00} \
1413 -trackingEnabled False \
1414 -valueType singleValue \
1415 -activeFieldChoice False \
1416 -startValue $dstMac \
1419 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1422 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
1424 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
1425 ixNet setMultiAttrs $sg_field \
1426 -singleValue $srcMac \
1428 -optionalEnabled True \
1430 -valueList {{00:00:00:00:00:00}} \
1431 -stepValue {00:00:00:00:00:00} \
1432 -fixedBits {00:00:00:00:00:00} \
1433 -fieldValue $srcMac \
1435 -randomMask {00:00:00:00:00:00} \
1436 -trackingEnabled False \
1437 -valueType singleValue \
1438 -activeFieldChoice False \
1439 -startValue $srcMac \
1442 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1445 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
1447 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
1448 ixNet setMultiAttrs $sg_field \
1449 -singleValue {800} \
1451 -optionalEnabled True \
1453 -valueList {{0xFFFF}} \
1454 -stepValue {0xFFFF} \
1455 -fixedBits {0xFFFF} \
1458 -randomMask {0xFFFF} \
1459 -trackingEnabled False \
1460 -valueType singleValue \
1461 -activeFieldChoice False \
1462 -startValue {0xFFFF} \
1465 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1468 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
1470 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
1471 ixNet setMultiAttrs $sg_field \
1474 -optionalEnabled True \
1482 -trackingEnabled False \
1483 -valueType singleValue \
1484 -activeFieldChoice False \
1488 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1490 if {$vlanEnabled == 1 } {
1491 set sg_stack $ixNetSG_Stack(2)/stack:"vlan-$stack_number"
1493 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1494 set ixNetSG_Stack(3) $sg_stack
1497 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanUserPriority-1"
1498 ixNet setMultiAttrs $sg_field \
1499 -singleValue $vlanUserPrio \
1501 -optionalEnabled true \
1503 -valueList [list 0] \
1506 -fieldValue $vlanUserPrio \
1509 -trackingEnabled false \
1510 -valueType singleValue \
1511 -activeFieldChoice false \
1515 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.cfi-2"
1516 ixNet setMultiAttrs $sg_field \
1517 -singleValue $vlanCfi \
1519 -optionalEnabled true \
1521 -valueList [list 0] \
1524 -fieldValue $vlanCfi \
1527 -trackingEnabled false \
1528 -valueType singleValue \
1529 -activeFieldChoice false \
1533 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanID-3"
1534 ixNet setMultiAttrs $sg_field \
1535 -singleValue $vlanId \
1537 -optionalEnabled true \
1539 -valueList [list 0] \
1542 -fieldValue $vlanId \
1545 -trackingEnabled false \
1546 -valueType singleValue \
1547 -activeFieldChoice false \
1551 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.protocolID-4"
1552 ixNet setMultiAttrs $sg_field \
1555 -optionalEnabled true \
1557 -valueList [list 0xffff] \
1562 -randomMask 0xffff \
1563 -trackingEnabled false \
1564 -valueType singleValue \
1565 -activeFieldChoice false \
1566 -startValue 0xffff \
1570 if {$l3Enabled == 1 } {
1572 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"
1574 set sg_stack $ixNetSG_Stack(2)/stack:"ipv4-$stack_number"
1576 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1577 set ixNetSG_Stack(3) $sg_stack
1581 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.version-1"
1583 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
1584 ixNet setMultiAttrs $sg_field \
1587 -optionalEnabled True \
1595 -trackingEnabled False \
1596 -valueType singleValue \
1597 -activeFieldChoice False \
1601 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1604 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
1606 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
1607 ixNet setMultiAttrs $sg_field \
1610 -optionalEnabled True \
1618 -trackingEnabled False \
1619 -valueType singleValue \
1620 -activeFieldChoice False \
1624 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1627 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
1629 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
1630 ixNet setMultiAttrs $sg_field \
1633 -optionalEnabled True \
1641 -trackingEnabled False \
1642 -valueType singleValue \
1643 -activeFieldChoice False \
1647 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1650 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
1652 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
1653 ixNet setMultiAttrs $sg_field \
1656 -optionalEnabled True \
1661 -fieldValue {000 Routine} \
1664 -trackingEnabled False \
1665 -valueType singleValue \
1666 -activeFieldChoice True \
1670 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1673 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
1675 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
1676 ixNet setMultiAttrs $sg_field \
1679 -optionalEnabled True \
1684 -fieldValue {Normal} \
1687 -trackingEnabled False \
1688 -valueType singleValue \
1689 -activeFieldChoice True \
1693 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1696 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
1698 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
1699 ixNet setMultiAttrs $sg_field \
1702 -optionalEnabled True \
1707 -fieldValue {Normal} \
1710 -trackingEnabled False \
1711 -valueType singleValue \
1712 -activeFieldChoice True \
1716 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1719 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
1721 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
1722 ixNet setMultiAttrs $sg_field \
1725 -optionalEnabled True \
1730 -fieldValue {Normal} \
1733 -trackingEnabled False \
1734 -valueType singleValue \
1735 -activeFieldChoice True \
1739 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1742 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
1744 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
1745 ixNet setMultiAttrs $sg_field \
1748 -optionalEnabled True \
1753 -fieldValue {Normal} \
1756 -trackingEnabled False \
1757 -valueType singleValue \
1758 -activeFieldChoice True \
1762 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1765 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
1767 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
1768 ixNet setMultiAttrs $sg_field \
1771 -optionalEnabled True \
1779 -trackingEnabled False \
1780 -valueType singleValue \
1781 -activeFieldChoice True \
1785 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1788 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1790 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1791 ixNet setMultiAttrs $sg_field \
1794 -optionalEnabled True \
1802 -trackingEnabled False \
1803 -valueType singleValue \
1804 -activeFieldChoice False \
1808 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1811 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1813 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1814 ixNet setMultiAttrs $sg_field \
1817 -optionalEnabled True \
1825 -trackingEnabled False \
1826 -valueType singleValue \
1827 -activeFieldChoice False \
1831 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1834 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1836 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1837 ixNet setMultiAttrs $sg_field \
1840 -optionalEnabled True \
1845 -fieldValue {Precedence 1} \
1848 -trackingEnabled False \
1849 -valueType singleValue \
1850 -activeFieldChoice False \
1854 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1857 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1859 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1860 ixNet setMultiAttrs $sg_field \
1863 -optionalEnabled True \
1871 -trackingEnabled False \
1872 -valueType singleValue \
1873 -activeFieldChoice False \
1877 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1880 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1882 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1883 ixNet setMultiAttrs $sg_field \
1886 -optionalEnabled True \
1891 -fieldValue {Class 1, Low drop precedence} \
1894 -trackingEnabled False \
1895 -valueType singleValue \
1896 -activeFieldChoice False \
1900 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1903 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1905 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1906 ixNet setMultiAttrs $sg_field \
1909 -optionalEnabled True \
1917 -trackingEnabled False \
1918 -valueType singleValue \
1919 -activeFieldChoice False \
1923 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1926 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1928 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1929 ixNet setMultiAttrs $sg_field \
1932 -optionalEnabled True \
1940 -trackingEnabled False \
1941 -valueType singleValue \
1942 -activeFieldChoice False \
1946 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1949 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1951 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1952 ixNet setMultiAttrs $sg_field \
1955 -optionalEnabled True \
1963 -trackingEnabled False \
1964 -valueType singleValue \
1965 -activeFieldChoice False \
1969 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1972 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
1974 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
1975 ixNet setMultiAttrs $sg_field \
1978 -optionalEnabled True \
1986 -trackingEnabled False \
1987 -valueType singleValue \
1988 -activeFieldChoice False \
1992 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1995 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.identification-19"
1997 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
1998 ixNet setMultiAttrs $sg_field \
2001 -optionalEnabled True \
2009 -trackingEnabled False \
2010 -valueType singleValue \
2011 -activeFieldChoice False \
2015 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2018 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
2020 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
2021 ixNet setMultiAttrs $sg_field \
2024 -optionalEnabled True \
2032 -trackingEnabled False \
2033 -valueType singleValue \
2034 -activeFieldChoice False \
2038 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2041 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
2043 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
2044 ixNet setMultiAttrs $sg_field \
2047 -optionalEnabled True \
2052 -fieldValue {May fragment} \
2055 -trackingEnabled False \
2056 -valueType singleValue \
2057 -activeFieldChoice False \
2061 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2064 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
2066 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
2067 ixNet setMultiAttrs $sg_field \
2070 -optionalEnabled True \
2075 -fieldValue {Last fragment} \
2078 -trackingEnabled False \
2079 -valueType singleValue \
2080 -activeFieldChoice False \
2084 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2087 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
2089 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
2090 ixNet setMultiAttrs $sg_field \
2093 -optionalEnabled True \
2101 -trackingEnabled False \
2102 -valueType singleValue \
2103 -activeFieldChoice False \
2107 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2110 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
2112 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
2113 ixNet setMultiAttrs $sg_field \
2116 -optionalEnabled True \
2124 -trackingEnabled False \
2125 -valueType singleValue \
2126 -activeFieldChoice False \
2130 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2133 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
2135 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
2136 ixNet setMultiAttrs $sg_field \
2139 -optionalEnabled True \
2147 -trackingEnabled False \
2148 -valueType singleValue \
2149 -activeFieldChoice False \
2153 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2156 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
2158 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
2159 ixNet setMultiAttrs $sg_field \
2162 -optionalEnabled True \
2170 -trackingEnabled False \
2171 -valueType singleValue \
2172 -activeFieldChoice False \
2176 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2179 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
2181 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
2182 ixNet setMultiAttrs $sg_field \
2183 -singleValue $srcIp \
2185 -optionalEnabled True \
2187 -valueList {{0.0.0.0}} \
2188 -stepValue {0.0.0.0} \
2189 -fixedBits {0.0.0.0} \
2190 -fieldValue $srcIp \
2192 -randomMask {0.0.0.0} \
2193 -trackingEnabled False \
2194 -valueType singleValue \
2195 -activeFieldChoice False \
2196 -startValue {0.0.0.0} \
2199 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2202 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
2204 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
2205 ixNet setMultiAttrs $sg_field \
2206 -singleValue $dstIp \
2208 -optionalEnabled True \
2210 -valueList {{0.0.0.0}} \
2211 -stepValue {0.0.0.1} \
2212 -fixedBits {0.0.0.0} \
2213 -fieldValue $dstIp \
2215 -randomMask {0.0.0.0} \
2216 -trackingEnabled False \
2217 -valueType $L3ValueType \
2218 -activeFieldChoice False \
2219 -startValue $dstIp \
2220 -countValue $L3CountValue
2222 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2225 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
2227 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
2228 ixNet setMultiAttrs $sg_field \
2231 -optionalEnabled False \
2239 -trackingEnabled False \
2240 -valueType singleValue \
2241 -activeFieldChoice True \
2245 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2248 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
2250 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
2251 ixNet setMultiAttrs $sg_field \
2252 -singleValue {130} \
2254 -optionalEnabled False \
2256 -valueList {{130}} \
2262 -trackingEnabled False \
2263 -valueType singleValue \
2264 -activeFieldChoice False \
2268 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2271 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
2273 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
2274 ixNet setMultiAttrs $sg_field \
2277 -optionalEnabled False \
2285 -trackingEnabled False \
2286 -valueType singleValue \
2287 -activeFieldChoice False \
2291 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2294 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
2296 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
2297 ixNet setMultiAttrs $sg_field \
2300 -optionalEnabled False \
2305 -fieldValue {Unclassified} \
2308 -trackingEnabled False \
2309 -valueType singleValue \
2310 -activeFieldChoice False \
2314 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2317 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2319 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2320 ixNet setMultiAttrs $sg_field \
2323 -optionalEnabled False \
2331 -trackingEnabled False \
2332 -valueType singleValue \
2333 -activeFieldChoice False \
2337 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2340 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
2342 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
2343 ixNet setMultiAttrs $sg_field \
2346 -optionalEnabled False \
2354 -trackingEnabled False \
2355 -valueType singleValue \
2356 -activeFieldChoice False \
2360 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2363 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2365 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2366 ixNet setMultiAttrs $sg_field \
2369 -optionalEnabled False \
2377 -trackingEnabled False \
2378 -valueType singleValue \
2379 -activeFieldChoice False \
2383 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2386 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2388 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2389 ixNet setMultiAttrs $sg_field \
2390 -singleValue {131} \
2392 -optionalEnabled False \
2394 -valueList {{131}} \
2400 -trackingEnabled False \
2401 -valueType singleValue \
2402 -activeFieldChoice False \
2406 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2409 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2411 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2412 ixNet setMultiAttrs $sg_field \
2415 -optionalEnabled False \
2423 -trackingEnabled False \
2424 -valueType singleValue \
2425 -activeFieldChoice False \
2429 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2432 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
2434 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
2435 ixNet setMultiAttrs $sg_field \
2438 -optionalEnabled False \
2446 -trackingEnabled False \
2447 -valueType singleValue \
2448 -activeFieldChoice False \
2452 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2455 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
2457 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
2458 ixNet setMultiAttrs $sg_field \
2461 -optionalEnabled False \
2469 -trackingEnabled False \
2470 -valueType singleValue \
2471 -activeFieldChoice False \
2475 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2478 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2480 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2481 ixNet setMultiAttrs $sg_field \
2482 -singleValue {137} \
2484 -optionalEnabled False \
2486 -valueList {{137}} \
2492 -trackingEnabled False \
2493 -valueType singleValue \
2494 -activeFieldChoice False \
2498 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2501 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2503 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2504 ixNet setMultiAttrs $sg_field \
2507 -optionalEnabled False \
2515 -trackingEnabled False \
2516 -valueType singleValue \
2517 -activeFieldChoice False \
2521 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2524 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2526 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2527 ixNet setMultiAttrs $sg_field \
2530 -optionalEnabled False \
2538 -trackingEnabled False \
2539 -valueType singleValue \
2540 -activeFieldChoice False \
2544 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2547 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2549 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2550 ixNet setMultiAttrs $sg_field \
2553 -optionalEnabled False \
2561 -trackingEnabled False \
2562 -valueType singleValue \
2563 -activeFieldChoice False \
2567 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2570 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2572 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2573 ixNet setMultiAttrs $sg_field \
2574 -singleValue {136} \
2576 -optionalEnabled False \
2578 -valueList {{136}} \
2584 -trackingEnabled False \
2585 -valueType singleValue \
2586 -activeFieldChoice False \
2590 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2593 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2595 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2596 ixNet setMultiAttrs $sg_field \
2599 -optionalEnabled False \
2607 -trackingEnabled False \
2608 -valueType singleValue \
2609 -activeFieldChoice False \
2613 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2616 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2618 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2619 ixNet setMultiAttrs $sg_field \
2622 -optionalEnabled False \
2630 -trackingEnabled False \
2631 -valueType singleValue \
2632 -activeFieldChoice False \
2636 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2639 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2641 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2642 ixNet setMultiAttrs $sg_field \
2645 -optionalEnabled False \
2653 -trackingEnabled False \
2654 -valueType singleValue \
2655 -activeFieldChoice False \
2659 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2662 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2664 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2665 ixNet setMultiAttrs $sg_field \
2668 -optionalEnabled False \
2676 -trackingEnabled False \
2677 -valueType singleValue \
2678 -activeFieldChoice False \
2682 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2685 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2687 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2688 ixNet setMultiAttrs $sg_field \
2691 -optionalEnabled False \
2699 -trackingEnabled False \
2700 -valueType singleValue \
2701 -activeFieldChoice False \
2705 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2708 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2710 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2711 ixNet setMultiAttrs $sg_field \
2714 -optionalEnabled False \
2722 -trackingEnabled False \
2723 -valueType singleValue \
2724 -activeFieldChoice False \
2728 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2731 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2733 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2734 ixNet setMultiAttrs $sg_field \
2737 -optionalEnabled False \
2742 -fieldValue {Timestamps only, in consecutive 32-bit words} \
2745 -trackingEnabled False \
2746 -valueType singleValue \
2747 -activeFieldChoice False \
2751 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2754 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2756 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2757 ixNet setMultiAttrs $sg_field \
2760 -optionalEnabled False \
2768 -trackingEnabled False \
2769 -valueType singleValue \
2770 -activeFieldChoice False \
2774 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2777 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2779 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2780 ixNet setMultiAttrs $sg_field \
2783 -optionalEnabled False \
2791 -trackingEnabled False \
2792 -valueType singleValue \
2793 -activeFieldChoice False \
2797 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2800 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
2802 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
2803 ixNet setMultiAttrs $sg_field \
2806 -optionalEnabled False \
2814 -trackingEnabled False \
2815 -valueType singleValue \
2816 -activeFieldChoice False \
2820 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2823 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2825 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2826 ixNet setMultiAttrs $sg_field \
2829 -optionalEnabled False \
2831 -valueList {{0x94}} \
2836 -randomMask {0x94} \
2837 -trackingEnabled False \
2838 -valueType singleValue \
2839 -activeFieldChoice False \
2840 -startValue {0x94} \
2843 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2846 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2848 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2849 ixNet setMultiAttrs $sg_field \
2852 -optionalEnabled False \
2854 -valueList {{0x04}} \
2859 -randomMask {0x04} \
2860 -trackingEnabled False \
2861 -valueType singleValue \
2862 -activeFieldChoice False \
2863 -startValue {0x04} \
2866 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2869 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2871 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2872 ixNet setMultiAttrs $sg_field \
2875 -optionalEnabled False \
2880 -fieldValue {Router shall examine packet} \
2883 -trackingEnabled False \
2884 -valueType singleValue \
2885 -activeFieldChoice False \
2889 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2892 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
2894 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
2895 ixNet setMultiAttrs $sg_field \
2898 -optionalEnabled False \
2906 -trackingEnabled False \
2907 -valueType singleValue \
2908 -activeFieldChoice False \
2912 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2915 if {$l4Enabled == 1 } {
2917 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"
2919 set sg_stack $ixNetSG_Stack(2)/stack:"udp-$stack_number"
2921 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
2922 set ixNetSG_Stack(3) $sg_stack
2926 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.srcPort-1"
2928 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
2929 ixNet setMultiAttrs $sg_field \
2930 -singleValue $srcPort \
2932 -optionalEnabled True \
2937 -fieldValue $srcPort \
2940 -trackingEnabled False \
2941 -valueType singleValue \
2942 -activeFieldChoice False \
2943 -startValue $srcPort \
2946 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2949 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.dstPort-2"
2951 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
2952 ixNet setMultiAttrs $sg_field \
2953 -singleValue $dstPort \
2955 -optionalEnabled True \
2960 -fieldValue $dstPort \
2963 -trackingEnabled False \
2964 -valueType $L4ValueType \
2965 -activeFieldChoice False \
2966 -startValue $dstPort \
2967 -countValue $L4CountValue
2969 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2972 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.length-3"
2974 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
2975 ixNet setMultiAttrs $sg_field \
2978 -optionalEnabled True \
2986 -trackingEnabled False \
2987 -valueType singleValue \
2988 -activeFieldChoice False \
2992 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2995 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.checksum-4"
2997 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
2998 ixNet setMultiAttrs $sg_field \
3001 -optionalEnabled True \
3009 -trackingEnabled False \
3010 -valueType singleValue \
3011 -activeFieldChoice False \
3015 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3019 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"
3021 set sg_stack $ixNetSG_Stack(2)/stack:"fcs-$stack_number"
3023 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3024 set ixNetSG_Stack(3) $sg_stack
3028 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"/field:"ethernet.fcs-1"
3030 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
3031 ixNet setMultiAttrs $sg_field \
3034 -optionalEnabled True \
3042 -trackingEnabled False \
3043 -valueType singleValue \
3044 -activeFieldChoice False \
3048 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3051 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/transmissionDistribution
3053 set sg_transmissionDistribution $ixNetSG_Stack(2)/transmissionDistribution
3054 ixNet setMultiAttrs $sg_transmissionDistribution \
3057 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3060 # configuring the object that corresponds to /traffic/trafficItem:1/transmissionDistribution
3062 set sg_transmissionDistribution $ixNetSG_Stack(1)/transmissionDistribution
3063 ixNet setMultiAttrs $sg_transmissionDistribution \
3066 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3069 # configuring the object that corresponds to /traffic/trafficItem:1/tracking
3071 set sg_tracking $ixNetSG_Stack(1)/tracking
3072 ixNet setMultiAttrs $sg_tracking \
3074 -oneToOneMesh False \
3075 -trackBy {trackingenabled0} \
3077 -fieldWidth thirtyTwoBits \
3078 -protocolOffset {Root.0}
3079 ixNet setMultiAttrs $sg_tracking/egress \
3080 -offset {Outer VLAN Priority (3 bits)} \
3082 -customOffsetBits 0 \
3083 -encapsulation {Ethernet} \
3085 ixNet setMultiAttrs $sg_tracking/latencyBin \
3087 -binLimits {1 1.42 2 2.82 4 5.66 8 11.32} \
3090 set sg_tracking [lindex [ixNet remapIds $sg_tracking] 0]
3091 set ixNetSG_Stack(2) $sg_tracking
3094 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"
3096 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ethernet-1"
3098 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3099 set ixNetSG_Stack(3) $sg_stack
3102 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
3104 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
3105 ixNet setMultiAttrs $sg_field \
3106 -singleValue {00:00:00:00:00:00} \
3108 -optionalEnabled True \
3110 -valueList {{00:00:00:00:00:00}} \
3111 -stepValue {00:00:00:00:00:00} \
3112 -fixedBits {00:00:00:00:00:00} \
3113 -fieldValue {00:00:00:00:00:00} \
3115 -randomMask {00:00:00:00:00:00} \
3116 -trackingEnabled True \
3117 -valueType singleValue \
3118 -activeFieldChoice False \
3119 -startValue {00:00:00:00:00:00} \
3122 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3125 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
3127 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
3128 ixNet setMultiAttrs $sg_field \
3129 -singleValue {00:00:00:00:00:00} \
3131 -optionalEnabled True \
3133 -valueList {{00:00:00:00:00:00}} \
3134 -stepValue {00:00:00:00:00:00} \
3135 -fixedBits {00:00:00:00:00:00} \
3136 -fieldValue {00:00:00:00:00:00} \
3138 -randomMask {00:00:00:00:00:00} \
3139 -trackingEnabled False \
3140 -valueType singleValue \
3141 -activeFieldChoice False \
3142 -startValue {00:00:00:00:00:00} \
3145 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3148 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
3150 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
3151 ixNet setMultiAttrs $sg_field \
3152 -singleValue {800} \
3154 -optionalEnabled True \
3156 -valueList {{0xFFFF}} \
3157 -stepValue {0xFFFF} \
3158 -fixedBits {0xFFFF} \
3161 -randomMask {0xFFFF} \
3162 -trackingEnabled False \
3163 -valueType singleValue \
3164 -activeFieldChoice False \
3165 -startValue {0xFFFF} \
3168 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3171 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
3173 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
3174 ixNet setMultiAttrs $sg_field \
3177 -optionalEnabled True \
3185 -trackingEnabled False \
3186 -valueType singleValue \
3187 -activeFieldChoice False \
3191 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3194 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"
3196 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ipv4-2"
3198 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3199 set ixNetSG_Stack(3) $sg_stack
3202 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
3204 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
3205 ixNet setMultiAttrs $sg_field \
3208 -optionalEnabled True \
3216 -trackingEnabled False \
3217 -valueType singleValue \
3218 -activeFieldChoice False \
3222 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3225 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
3227 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
3228 ixNet setMultiAttrs $sg_field \
3231 -optionalEnabled True \
3239 -trackingEnabled False \
3240 -valueType singleValue \
3241 -activeFieldChoice False \
3245 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3248 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
3250 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
3251 ixNet setMultiAttrs $sg_field \
3254 -optionalEnabled True \
3262 -trackingEnabled False \
3263 -valueType singleValue \
3264 -activeFieldChoice False \
3268 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3271 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
3273 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
3274 ixNet setMultiAttrs $sg_field \
3277 -optionalEnabled True \
3282 -fieldValue {000 Routine} \
3285 -trackingEnabled False \
3286 -valueType singleValue \
3287 -activeFieldChoice True \
3291 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3294 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
3296 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
3297 ixNet setMultiAttrs $sg_field \
3300 -optionalEnabled True \
3305 -fieldValue {Normal} \
3308 -trackingEnabled False \
3309 -valueType singleValue \
3310 -activeFieldChoice True \
3314 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3317 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
3319 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
3320 ixNet setMultiAttrs $sg_field \
3323 -optionalEnabled True \
3328 -fieldValue {Normal} \
3331 -trackingEnabled False \
3332 -valueType singleValue \
3333 -activeFieldChoice True \
3337 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3340 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
3342 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
3343 ixNet setMultiAttrs $sg_field \
3346 -optionalEnabled True \
3351 -fieldValue {Normal} \
3354 -trackingEnabled False \
3355 -valueType singleValue \
3356 -activeFieldChoice True \
3360 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3363 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
3365 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
3366 ixNet setMultiAttrs $sg_field \
3369 -optionalEnabled True \
3374 -fieldValue {Normal} \
3377 -trackingEnabled False \
3378 -valueType singleValue \
3379 -activeFieldChoice True \
3383 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3386 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
3388 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
3389 ixNet setMultiAttrs $sg_field \
3392 -optionalEnabled True \
3400 -trackingEnabled False \
3401 -valueType singleValue \
3402 -activeFieldChoice True \
3406 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3409 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3411 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3412 ixNet setMultiAttrs $sg_field \
3415 -optionalEnabled True \
3423 -trackingEnabled False \
3424 -valueType singleValue \
3425 -activeFieldChoice False \
3429 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3432 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3434 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3435 ixNet setMultiAttrs $sg_field \
3438 -optionalEnabled True \
3446 -trackingEnabled False \
3447 -valueType singleValue \
3448 -activeFieldChoice False \
3452 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3455 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3457 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3458 ixNet setMultiAttrs $sg_field \
3461 -optionalEnabled True \
3466 -fieldValue {Precedence 1} \
3469 -trackingEnabled False \
3470 -valueType singleValue \
3471 -activeFieldChoice False \
3475 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3478 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3480 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3481 ixNet setMultiAttrs $sg_field \
3484 -optionalEnabled True \
3492 -trackingEnabled False \
3493 -valueType singleValue \
3494 -activeFieldChoice False \
3498 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3501 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3503 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3504 ixNet setMultiAttrs $sg_field \
3507 -optionalEnabled True \
3512 -fieldValue {Class 1, Low drop precedence} \
3515 -trackingEnabled False \
3516 -valueType singleValue \
3517 -activeFieldChoice False \
3521 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3524 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3526 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3527 ixNet setMultiAttrs $sg_field \
3530 -optionalEnabled True \
3538 -trackingEnabled False \
3539 -valueType singleValue \
3540 -activeFieldChoice False \
3544 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3547 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3549 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3550 ixNet setMultiAttrs $sg_field \
3553 -optionalEnabled True \
3561 -trackingEnabled False \
3562 -valueType singleValue \
3563 -activeFieldChoice False \
3567 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3570 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3572 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3573 ixNet setMultiAttrs $sg_field \
3576 -optionalEnabled True \
3584 -trackingEnabled False \
3585 -valueType singleValue \
3586 -activeFieldChoice False \
3590 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3593 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
3595 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
3596 ixNet setMultiAttrs $sg_field \
3599 -optionalEnabled True \
3607 -trackingEnabled False \
3608 -valueType singleValue \
3609 -activeFieldChoice False \
3613 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3616 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
3618 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
3619 ixNet setMultiAttrs $sg_field \
3622 -optionalEnabled True \
3630 -trackingEnabled False \
3631 -valueType singleValue \
3632 -activeFieldChoice False \
3636 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3639 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
3641 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
3642 ixNet setMultiAttrs $sg_field \
3645 -optionalEnabled True \
3653 -trackingEnabled False \
3654 -valueType singleValue \
3655 -activeFieldChoice False \
3659 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3662 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
3664 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
3665 ixNet setMultiAttrs $sg_field \
3668 -optionalEnabled True \
3673 -fieldValue {May fragment} \
3676 -trackingEnabled False \
3677 -valueType singleValue \
3678 -activeFieldChoice False \
3682 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3685 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
3687 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
3688 ixNet setMultiAttrs $sg_field \
3691 -optionalEnabled True \
3696 -fieldValue {Last fragment} \
3699 -trackingEnabled False \
3700 -valueType singleValue \
3701 -activeFieldChoice False \
3705 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3708 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
3710 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
3711 ixNet setMultiAttrs $sg_field \
3714 -optionalEnabled True \
3722 -trackingEnabled False \
3723 -valueType singleValue \
3724 -activeFieldChoice False \
3728 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3731 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
3733 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
3734 ixNet setMultiAttrs $sg_field \
3737 -optionalEnabled True \
3745 -trackingEnabled False \
3746 -valueType singleValue \
3747 -activeFieldChoice False \
3751 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3754 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
3756 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
3757 ixNet setMultiAttrs $sg_field \
3760 -optionalEnabled True \
3768 -trackingEnabled False \
3769 -valueType singleValue \
3770 -activeFieldChoice False \
3774 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3777 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
3779 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
3780 ixNet setMultiAttrs $sg_field \
3783 -optionalEnabled True \
3791 -trackingEnabled False \
3792 -valueType singleValue \
3793 -activeFieldChoice False \
3797 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3800 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
3802 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
3803 ixNet setMultiAttrs $sg_field \
3804 -singleValue {0.0.0.0} \
3806 -optionalEnabled True \
3808 -valueList {{0.0.0.0}} \
3809 -stepValue {0.0.0.0} \
3810 -fixedBits {0.0.0.0} \
3811 -fieldValue {0.0.0.0} \
3813 -randomMask {0.0.0.0} \
3814 -trackingEnabled False \
3815 -valueType singleValue \
3816 -activeFieldChoice False \
3817 -startValue {0.0.0.0} \
3820 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3823 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
3825 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
3826 ixNet setMultiAttrs $sg_field \
3827 -singleValue {0.0.0.0} \
3829 -optionalEnabled True \
3831 -valueList {{0.0.0.0}} \
3832 -stepValue {0.0.0.0} \
3833 -fixedBits {0.0.0.0} \
3834 -fieldValue {0.0.0.0} \
3836 -randomMask {0.0.0.0} \
3837 -trackingEnabled False \
3838 -valueType singleValue \
3839 -activeFieldChoice False \
3840 -startValue {0.0.0.0} \
3843 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3846 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
3848 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
3849 ixNet setMultiAttrs $sg_field \
3852 -optionalEnabled False \
3860 -trackingEnabled False \
3861 -valueType singleValue \
3862 -activeFieldChoice True \
3866 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3869 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
3871 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
3872 ixNet setMultiAttrs $sg_field \
3873 -singleValue {130} \
3875 -optionalEnabled False \
3877 -valueList {{130}} \
3883 -trackingEnabled False \
3884 -valueType singleValue \
3885 -activeFieldChoice False \
3889 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3892 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
3894 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
3895 ixNet setMultiAttrs $sg_field \
3898 -optionalEnabled False \
3906 -trackingEnabled False \
3907 -valueType singleValue \
3908 -activeFieldChoice False \
3912 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3915 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
3917 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
3918 ixNet setMultiAttrs $sg_field \
3921 -optionalEnabled False \
3926 -fieldValue {Unclassified} \
3929 -trackingEnabled False \
3930 -valueType singleValue \
3931 -activeFieldChoice False \
3935 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3938 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3940 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3941 ixNet setMultiAttrs $sg_field \
3944 -optionalEnabled False \
3952 -trackingEnabled False \
3953 -valueType singleValue \
3954 -activeFieldChoice False \
3958 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3961 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
3963 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
3964 ixNet setMultiAttrs $sg_field \
3967 -optionalEnabled False \
3975 -trackingEnabled False \
3976 -valueType singleValue \
3977 -activeFieldChoice False \
3981 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3984 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
3986 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
3987 ixNet setMultiAttrs $sg_field \
3990 -optionalEnabled False \
3998 -trackingEnabled False \
3999 -valueType singleValue \
4000 -activeFieldChoice False \
4004 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4007 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4009 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4010 ixNet setMultiAttrs $sg_field \
4011 -singleValue {131} \
4013 -optionalEnabled False \
4015 -valueList {{131}} \
4021 -trackingEnabled False \
4022 -valueType singleValue \
4023 -activeFieldChoice False \
4027 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4030 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4032 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4033 ixNet setMultiAttrs $sg_field \
4036 -optionalEnabled False \
4044 -trackingEnabled False \
4045 -valueType singleValue \
4046 -activeFieldChoice False \
4050 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4053 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
4055 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
4056 ixNet setMultiAttrs $sg_field \
4059 -optionalEnabled False \
4067 -trackingEnabled False \
4068 -valueType singleValue \
4069 -activeFieldChoice False \
4073 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4076 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
4078 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
4079 ixNet setMultiAttrs $sg_field \
4082 -optionalEnabled False \
4090 -trackingEnabled False \
4091 -valueType singleValue \
4092 -activeFieldChoice False \
4096 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4099 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4101 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4102 ixNet setMultiAttrs $sg_field \
4103 -singleValue {137} \
4105 -optionalEnabled False \
4107 -valueList {{137}} \
4113 -trackingEnabled False \
4114 -valueType singleValue \
4115 -activeFieldChoice False \
4119 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4122 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4124 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4125 ixNet setMultiAttrs $sg_field \
4128 -optionalEnabled False \
4136 -trackingEnabled False \
4137 -valueType singleValue \
4138 -activeFieldChoice False \
4142 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4145 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4147 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4148 ixNet setMultiAttrs $sg_field \
4151 -optionalEnabled False \
4159 -trackingEnabled False \
4160 -valueType singleValue \
4161 -activeFieldChoice False \
4165 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4168 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4170 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4171 ixNet setMultiAttrs $sg_field \
4174 -optionalEnabled False \
4182 -trackingEnabled False \
4183 -valueType singleValue \
4184 -activeFieldChoice False \
4188 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4191 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4193 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4194 ixNet setMultiAttrs $sg_field \
4195 -singleValue {136} \
4197 -optionalEnabled False \
4199 -valueList {{136}} \
4205 -trackingEnabled False \
4206 -valueType singleValue \
4207 -activeFieldChoice False \
4211 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4214 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4216 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4217 ixNet setMultiAttrs $sg_field \
4220 -optionalEnabled False \
4228 -trackingEnabled False \
4229 -valueType singleValue \
4230 -activeFieldChoice False \
4234 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4237 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4239 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4240 ixNet setMultiAttrs $sg_field \
4243 -optionalEnabled False \
4251 -trackingEnabled False \
4252 -valueType singleValue \
4253 -activeFieldChoice False \
4257 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4260 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4262 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4263 ixNet setMultiAttrs $sg_field \
4266 -optionalEnabled False \
4274 -trackingEnabled False \
4275 -valueType singleValue \
4276 -activeFieldChoice False \
4280 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4283 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4285 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4286 ixNet setMultiAttrs $sg_field \
4289 -optionalEnabled False \
4297 -trackingEnabled False \
4298 -valueType singleValue \
4299 -activeFieldChoice False \
4303 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4306 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4308 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4309 ixNet setMultiAttrs $sg_field \
4312 -optionalEnabled False \
4320 -trackingEnabled False \
4321 -valueType singleValue \
4322 -activeFieldChoice False \
4326 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4329 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4331 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4332 ixNet setMultiAttrs $sg_field \
4335 -optionalEnabled False \
4343 -trackingEnabled False \
4344 -valueType singleValue \
4345 -activeFieldChoice False \
4349 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4352 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4354 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4355 ixNet setMultiAttrs $sg_field \
4358 -optionalEnabled False \
4363 -fieldValue {Timestamps only, in consecutive 32-bit words} \
4366 -trackingEnabled False \
4367 -valueType singleValue \
4368 -activeFieldChoice False \
4372 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4375 # 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"
4377 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
4378 ixNet setMultiAttrs $sg_field \
4381 -optionalEnabled False \
4389 -trackingEnabled False \
4390 -valueType singleValue \
4391 -activeFieldChoice False \
4395 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4398 # 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"
4400 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
4401 ixNet setMultiAttrs $sg_field \
4404 -optionalEnabled False \
4412 -trackingEnabled False \
4413 -valueType singleValue \
4414 -activeFieldChoice False \
4418 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4421 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
4423 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
4424 ixNet setMultiAttrs $sg_field \
4427 -optionalEnabled False \
4435 -trackingEnabled False \
4436 -valueType singleValue \
4437 -activeFieldChoice False \
4441 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4444 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4446 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4447 ixNet setMultiAttrs $sg_field \
4450 -optionalEnabled False \
4452 -valueList {{0x94}} \
4457 -randomMask {0x94} \
4458 -trackingEnabled False \
4459 -valueType singleValue \
4460 -activeFieldChoice False \
4461 -startValue {0x94} \
4464 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4467 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4469 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4470 ixNet setMultiAttrs $sg_field \
4473 -optionalEnabled False \
4475 -valueList {{0x04}} \
4480 -randomMask {0x04} \
4481 -trackingEnabled False \
4482 -valueType singleValue \
4483 -activeFieldChoice False \
4484 -startValue {0x04} \
4487 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4490 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4492 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4493 ixNet setMultiAttrs $sg_field \
4496 -optionalEnabled False \
4501 -fieldValue {Router shall examine packet} \
4504 -trackingEnabled False \
4505 -valueType singleValue \
4506 -activeFieldChoice False \
4510 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4513 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
4515 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
4516 ixNet setMultiAttrs $sg_field \
4519 -optionalEnabled False \
4527 -trackingEnabled False \
4528 -valueType singleValue \
4529 -activeFieldChoice False \
4533 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4536 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"
4538 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"udp-3"
4540 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4541 set ixNetSG_Stack(3) $sg_stack
4544 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
4546 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
4547 ixNet setMultiAttrs $sg_field \
4550 -optionalEnabled True \
4555 -fieldValue {Default} \
4558 -trackingEnabled False \
4559 -valueType singleValue \
4560 -activeFieldChoice False \
4564 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4567 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
4569 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
4570 ixNet setMultiAttrs $sg_field \
4573 -optionalEnabled True \
4578 -fieldValue {Default} \
4581 -trackingEnabled False \
4582 -valueType singleValue \
4583 -activeFieldChoice False \
4587 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4590 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
4592 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
4593 ixNet setMultiAttrs $sg_field \
4596 -optionalEnabled True \
4604 -trackingEnabled False \
4605 -valueType singleValue \
4606 -activeFieldChoice False \
4610 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4613 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
4615 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
4616 ixNet setMultiAttrs $sg_field \
4619 -optionalEnabled True \
4627 -trackingEnabled False \
4628 -valueType singleValue \
4629 -activeFieldChoice False \
4633 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4636 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"
4638 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"fcs-4"
4640 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4641 set ixNetSG_Stack(3) $sg_stack
4644 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
4646 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
4647 ixNet setMultiAttrs $sg_field \
4650 -optionalEnabled True \
4658 -trackingEnabled False \
4659 -valueType singleValue \
4660 -activeFieldChoice False \
4664 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4667 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1
4669 set sg_egressTracking [ixNet add $ixNetSG_Stack(1) egressTracking]
4670 ixNet setMultiAttrs $sg_egressTracking \
4671 -offset {Outer VLAN Priority (3 bits)} \
4672 -customOffsetBits 0 \
4673 -encapsulation {Ethernet} \
4676 set sg_egressTracking [lindex [ixNet remapIds $sg_egressTracking] 0]
4677 set ixNetSG_Stack(2) $sg_egressTracking
4680 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"
4682 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ethernet-1"
4684 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4685 set ixNetSG_Stack(3) $sg_stack
4688 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
4690 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
4691 ixNet setMultiAttrs $sg_field \
4692 -singleValue {00:00:00:00:00:00} \
4694 -optionalEnabled True \
4696 -valueList {{00:00:00:00:00:00}} \
4697 -stepValue {00:00:00:00:00:00} \
4698 -fixedBits {00:00:00:00:00:00} \
4699 -fieldValue {00:00:00:00:00:00} \
4701 -randomMask {00:00:00:00:00:00} \
4702 -trackingEnabled True \
4703 -valueType singleValue \
4704 -activeFieldChoice False \
4705 -startValue {00:00:00:00:00:00} \
4708 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4711 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
4713 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
4714 ixNet setMultiAttrs $sg_field \
4715 -singleValue {00:00:00:00:00:00} \
4717 -optionalEnabled True \
4719 -valueList {{00:00:00:00:00:00}} \
4720 -stepValue {00:00:00:00:00:00} \
4721 -fixedBits {00:00:00:00:00:00} \
4722 -fieldValue {00:00:00:00:00:00} \
4724 -randomMask {00:00:00:00:00:00} \
4725 -trackingEnabled False \
4726 -valueType singleValue \
4727 -activeFieldChoice False \
4728 -startValue {00:00:00:00:00:00} \
4731 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4734 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
4736 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
4737 ixNet setMultiAttrs $sg_field \
4738 -singleValue {800} \
4740 -optionalEnabled True \
4742 -valueList {{0xFFFF}} \
4743 -stepValue {0xFFFF} \
4744 -fixedBits {0xFFFF} \
4747 -randomMask {0xFFFF} \
4748 -trackingEnabled False \
4749 -valueType singleValue \
4750 -activeFieldChoice False \
4751 -startValue {0xFFFF} \
4754 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4757 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
4759 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
4760 ixNet setMultiAttrs $sg_field \
4763 -optionalEnabled True \
4771 -trackingEnabled False \
4772 -valueType singleValue \
4773 -activeFieldChoice False \
4777 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4780 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"
4782 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ipv4-2"
4784 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4785 set ixNetSG_Stack(3) $sg_stack
4788 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
4790 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
4791 ixNet setMultiAttrs $sg_field \
4794 -optionalEnabled True \
4802 -trackingEnabled False \
4803 -valueType singleValue \
4804 -activeFieldChoice False \
4808 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4811 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
4813 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
4814 ixNet setMultiAttrs $sg_field \
4817 -optionalEnabled True \
4825 -trackingEnabled False \
4826 -valueType singleValue \
4827 -activeFieldChoice False \
4831 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4834 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
4836 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
4837 ixNet setMultiAttrs $sg_field \
4840 -optionalEnabled True \
4848 -trackingEnabled False \
4849 -valueType singleValue \
4850 -activeFieldChoice False \
4854 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4857 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
4859 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
4860 ixNet setMultiAttrs $sg_field \
4863 -optionalEnabled True \
4868 -fieldValue {000 Routine} \
4871 -trackingEnabled False \
4872 -valueType singleValue \
4873 -activeFieldChoice True \
4877 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4880 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
4882 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
4883 ixNet setMultiAttrs $sg_field \
4886 -optionalEnabled True \
4891 -fieldValue {Normal} \
4894 -trackingEnabled False \
4895 -valueType singleValue \
4896 -activeFieldChoice True \
4900 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4903 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
4905 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
4906 ixNet setMultiAttrs $sg_field \
4909 -optionalEnabled True \
4914 -fieldValue {Normal} \
4917 -trackingEnabled False \
4918 -valueType singleValue \
4919 -activeFieldChoice True \
4923 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4926 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
4928 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
4929 ixNet setMultiAttrs $sg_field \
4932 -optionalEnabled True \
4937 -fieldValue {Normal} \
4940 -trackingEnabled False \
4941 -valueType singleValue \
4942 -activeFieldChoice True \
4946 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4949 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
4951 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
4952 ixNet setMultiAttrs $sg_field \
4955 -optionalEnabled True \
4960 -fieldValue {Normal} \
4963 -trackingEnabled False \
4964 -valueType singleValue \
4965 -activeFieldChoice True \
4969 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4972 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
4974 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
4975 ixNet setMultiAttrs $sg_field \
4978 -optionalEnabled True \
4986 -trackingEnabled False \
4987 -valueType singleValue \
4988 -activeFieldChoice True \
4992 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4995 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
4997 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
4998 ixNet setMultiAttrs $sg_field \
5001 -optionalEnabled True \
5009 -trackingEnabled False \
5010 -valueType singleValue \
5011 -activeFieldChoice False \
5015 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5018 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5020 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5021 ixNet setMultiAttrs $sg_field \
5024 -optionalEnabled True \
5032 -trackingEnabled False \
5033 -valueType singleValue \
5034 -activeFieldChoice False \
5038 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5041 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5043 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5044 ixNet setMultiAttrs $sg_field \
5047 -optionalEnabled True \
5052 -fieldValue {Precedence 1} \
5055 -trackingEnabled False \
5056 -valueType singleValue \
5057 -activeFieldChoice False \
5061 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5064 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5066 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5067 ixNet setMultiAttrs $sg_field \
5070 -optionalEnabled True \
5078 -trackingEnabled False \
5079 -valueType singleValue \
5080 -activeFieldChoice False \
5084 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5087 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5089 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5090 ixNet setMultiAttrs $sg_field \
5093 -optionalEnabled True \
5098 -fieldValue {Class 1, Low drop precedence} \
5101 -trackingEnabled False \
5102 -valueType singleValue \
5103 -activeFieldChoice False \
5107 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5110 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5112 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5113 ixNet setMultiAttrs $sg_field \
5116 -optionalEnabled True \
5124 -trackingEnabled False \
5125 -valueType singleValue \
5126 -activeFieldChoice False \
5130 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5133 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5135 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5136 ixNet setMultiAttrs $sg_field \
5139 -optionalEnabled True \
5147 -trackingEnabled False \
5148 -valueType singleValue \
5149 -activeFieldChoice False \
5153 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5156 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5158 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5159 ixNet setMultiAttrs $sg_field \
5162 -optionalEnabled True \
5170 -trackingEnabled False \
5171 -valueType singleValue \
5172 -activeFieldChoice False \
5176 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5179 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
5181 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
5182 ixNet setMultiAttrs $sg_field \
5185 -optionalEnabled True \
5193 -trackingEnabled False \
5194 -valueType singleValue \
5195 -activeFieldChoice False \
5199 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5202 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
5204 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
5205 ixNet setMultiAttrs $sg_field \
5208 -optionalEnabled True \
5216 -trackingEnabled False \
5217 -valueType singleValue \
5218 -activeFieldChoice False \
5222 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5225 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
5227 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
5228 ixNet setMultiAttrs $sg_field \
5231 -optionalEnabled True \
5239 -trackingEnabled False \
5240 -valueType singleValue \
5241 -activeFieldChoice False \
5245 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5248 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
5250 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
5251 ixNet setMultiAttrs $sg_field \
5254 -optionalEnabled True \
5259 -fieldValue {May fragment} \
5262 -trackingEnabled False \
5263 -valueType singleValue \
5264 -activeFieldChoice False \
5268 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5271 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
5273 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
5274 ixNet setMultiAttrs $sg_field \
5277 -optionalEnabled True \
5282 -fieldValue {Last fragment} \
5285 -trackingEnabled False \
5286 -valueType singleValue \
5287 -activeFieldChoice False \
5291 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5294 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
5296 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
5297 ixNet setMultiAttrs $sg_field \
5300 -optionalEnabled True \
5308 -trackingEnabled False \
5309 -valueType singleValue \
5310 -activeFieldChoice False \
5314 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5317 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
5319 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
5320 ixNet setMultiAttrs $sg_field \
5323 -optionalEnabled True \
5331 -trackingEnabled False \
5332 -valueType singleValue \
5333 -activeFieldChoice False \
5337 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5340 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
5342 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
5343 ixNet setMultiAttrs $sg_field \
5346 -optionalEnabled True \
5354 -trackingEnabled False \
5355 -valueType singleValue \
5356 -activeFieldChoice False \
5360 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5363 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
5365 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
5366 ixNet setMultiAttrs $sg_field \
5369 -optionalEnabled True \
5377 -trackingEnabled False \
5378 -valueType singleValue \
5379 -activeFieldChoice False \
5383 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5386 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
5388 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
5389 ixNet setMultiAttrs $sg_field \
5390 -singleValue {0.0.0.0} \
5392 -optionalEnabled True \
5394 -valueList {{0.0.0.0}} \
5395 -stepValue {0.0.0.0} \
5396 -fixedBits {0.0.0.0} \
5397 -fieldValue {0.0.0.0} \
5399 -randomMask {0.0.0.0} \
5400 -trackingEnabled False \
5401 -valueType singleValue \
5402 -activeFieldChoice False \
5403 -startValue {0.0.0.0} \
5406 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5409 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
5411 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
5412 ixNet setMultiAttrs $sg_field \
5413 -singleValue {0.0.0.0} \
5415 -optionalEnabled True \
5417 -valueList {{0.0.0.0}} \
5418 -stepValue {0.0.0.0} \
5419 -fixedBits {0.0.0.0} \
5420 -fieldValue {0.0.0.0} \
5422 -randomMask {0.0.0.0} \
5423 -trackingEnabled False \
5424 -valueType singleValue \
5425 -activeFieldChoice False \
5426 -startValue {0.0.0.0} \
5429 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5432 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
5434 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
5435 ixNet setMultiAttrs $sg_field \
5438 -optionalEnabled False \
5446 -trackingEnabled False \
5447 -valueType singleValue \
5448 -activeFieldChoice True \
5452 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5455 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
5457 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
5458 ixNet setMultiAttrs $sg_field \
5459 -singleValue {130} \
5461 -optionalEnabled False \
5463 -valueList {{130}} \
5469 -trackingEnabled False \
5470 -valueType singleValue \
5471 -activeFieldChoice False \
5475 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5478 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
5480 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
5481 ixNet setMultiAttrs $sg_field \
5484 -optionalEnabled False \
5492 -trackingEnabled False \
5493 -valueType singleValue \
5494 -activeFieldChoice False \
5498 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5501 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
5503 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
5504 ixNet setMultiAttrs $sg_field \
5507 -optionalEnabled False \
5512 -fieldValue {Unclassified} \
5515 -trackingEnabled False \
5516 -valueType singleValue \
5517 -activeFieldChoice False \
5521 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5524 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5526 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5527 ixNet setMultiAttrs $sg_field \
5530 -optionalEnabled False \
5538 -trackingEnabled False \
5539 -valueType singleValue \
5540 -activeFieldChoice False \
5544 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5547 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
5549 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
5550 ixNet setMultiAttrs $sg_field \
5553 -optionalEnabled False \
5561 -trackingEnabled False \
5562 -valueType singleValue \
5563 -activeFieldChoice False \
5567 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5570 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5572 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5573 ixNet setMultiAttrs $sg_field \
5576 -optionalEnabled False \
5584 -trackingEnabled False \
5585 -valueType singleValue \
5586 -activeFieldChoice False \
5590 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5593 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5595 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5596 ixNet setMultiAttrs $sg_field \
5597 -singleValue {131} \
5599 -optionalEnabled False \
5601 -valueList {{131}} \
5607 -trackingEnabled False \
5608 -valueType singleValue \
5609 -activeFieldChoice False \
5613 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5616 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5618 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5619 ixNet setMultiAttrs $sg_field \
5622 -optionalEnabled False \
5630 -trackingEnabled False \
5631 -valueType singleValue \
5632 -activeFieldChoice False \
5636 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5639 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
5641 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
5642 ixNet setMultiAttrs $sg_field \
5645 -optionalEnabled False \
5653 -trackingEnabled False \
5654 -valueType singleValue \
5655 -activeFieldChoice False \
5659 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5662 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
5664 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
5665 ixNet setMultiAttrs $sg_field \
5668 -optionalEnabled False \
5676 -trackingEnabled False \
5677 -valueType singleValue \
5678 -activeFieldChoice False \
5682 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5685 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5687 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5688 ixNet setMultiAttrs $sg_field \
5689 -singleValue {137} \
5691 -optionalEnabled False \
5693 -valueList {{137}} \
5699 -trackingEnabled False \
5700 -valueType singleValue \
5701 -activeFieldChoice False \
5705 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5708 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5710 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5711 ixNet setMultiAttrs $sg_field \
5714 -optionalEnabled False \
5722 -trackingEnabled False \
5723 -valueType singleValue \
5724 -activeFieldChoice False \
5728 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5731 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5733 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5734 ixNet setMultiAttrs $sg_field \
5737 -optionalEnabled False \
5745 -trackingEnabled False \
5746 -valueType singleValue \
5747 -activeFieldChoice False \
5751 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5754 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5756 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5757 ixNet setMultiAttrs $sg_field \
5760 -optionalEnabled False \
5768 -trackingEnabled False \
5769 -valueType singleValue \
5770 -activeFieldChoice False \
5774 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5777 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5779 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5780 ixNet setMultiAttrs $sg_field \
5781 -singleValue {136} \
5783 -optionalEnabled False \
5785 -valueList {{136}} \
5791 -trackingEnabled False \
5792 -valueType singleValue \
5793 -activeFieldChoice False \
5797 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5800 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5802 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5803 ixNet setMultiAttrs $sg_field \
5806 -optionalEnabled False \
5814 -trackingEnabled False \
5815 -valueType singleValue \
5816 -activeFieldChoice False \
5820 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5823 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5825 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5826 ixNet setMultiAttrs $sg_field \
5829 -optionalEnabled False \
5837 -trackingEnabled False \
5838 -valueType singleValue \
5839 -activeFieldChoice False \
5843 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5846 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5848 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5849 ixNet setMultiAttrs $sg_field \
5852 -optionalEnabled False \
5860 -trackingEnabled False \
5861 -valueType singleValue \
5862 -activeFieldChoice False \
5866 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5869 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5871 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5872 ixNet setMultiAttrs $sg_field \
5875 -optionalEnabled False \
5883 -trackingEnabled False \
5884 -valueType singleValue \
5885 -activeFieldChoice False \
5889 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5892 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5894 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5895 ixNet setMultiAttrs $sg_field \
5898 -optionalEnabled False \
5906 -trackingEnabled False \
5907 -valueType singleValue \
5908 -activeFieldChoice False \
5912 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5915 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5917 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5918 ixNet setMultiAttrs $sg_field \
5921 -optionalEnabled False \
5929 -trackingEnabled False \
5930 -valueType singleValue \
5931 -activeFieldChoice False \
5935 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5938 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5940 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5941 ixNet setMultiAttrs $sg_field \
5944 -optionalEnabled False \
5949 -fieldValue {Timestamps only, in consecutive 32-bit words} \
5952 -trackingEnabled False \
5953 -valueType singleValue \
5954 -activeFieldChoice False \
5958 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5961 # 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"
5963 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
5964 ixNet setMultiAttrs $sg_field \
5967 -optionalEnabled False \
5975 -trackingEnabled False \
5976 -valueType singleValue \
5977 -activeFieldChoice False \
5981 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5984 # 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"
5986 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
5987 ixNet setMultiAttrs $sg_field \
5990 -optionalEnabled False \
5998 -trackingEnabled False \
5999 -valueType singleValue \
6000 -activeFieldChoice False \
6004 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6007 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
6009 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
6010 ixNet setMultiAttrs $sg_field \
6013 -optionalEnabled False \
6021 -trackingEnabled False \
6022 -valueType singleValue \
6023 -activeFieldChoice False \
6027 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6030 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6032 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6033 ixNet setMultiAttrs $sg_field \
6036 -optionalEnabled False \
6038 -valueList {{0x94}} \
6043 -randomMask {0x94} \
6044 -trackingEnabled False \
6045 -valueType singleValue \
6046 -activeFieldChoice False \
6047 -startValue {0x94} \
6050 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6053 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6055 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6056 ixNet setMultiAttrs $sg_field \
6059 -optionalEnabled False \
6061 -valueList {{0x04}} \
6066 -randomMask {0x04} \
6067 -trackingEnabled False \
6068 -valueType singleValue \
6069 -activeFieldChoice False \
6070 -startValue {0x04} \
6073 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6076 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6078 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6079 ixNet setMultiAttrs $sg_field \
6082 -optionalEnabled False \
6087 -fieldValue {Router shall examine packet} \
6090 -trackingEnabled False \
6091 -valueType singleValue \
6092 -activeFieldChoice False \
6096 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6099 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
6101 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
6102 ixNet setMultiAttrs $sg_field \
6105 -optionalEnabled False \
6113 -trackingEnabled False \
6114 -valueType singleValue \
6115 -activeFieldChoice False \
6119 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6122 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"
6124 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"udp-3"
6126 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6127 set ixNetSG_Stack(3) $sg_stack
6130 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
6132 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
6133 ixNet setMultiAttrs $sg_field \
6136 -optionalEnabled True \
6141 -fieldValue {Default} \
6144 -trackingEnabled False \
6145 -valueType singleValue \
6146 -activeFieldChoice False \
6150 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6153 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
6155 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
6156 ixNet setMultiAttrs $sg_field \
6159 -optionalEnabled True \
6164 -fieldValue {Default} \
6167 -trackingEnabled False \
6168 -valueType singleValue \
6169 -activeFieldChoice False \
6173 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6176 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
6178 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
6179 ixNet setMultiAttrs $sg_field \
6182 -optionalEnabled True \
6190 -trackingEnabled False \
6191 -valueType singleValue \
6192 -activeFieldChoice False \
6196 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6199 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
6201 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
6202 ixNet setMultiAttrs $sg_field \
6205 -optionalEnabled True \
6213 -trackingEnabled False \
6214 -valueType singleValue \
6215 -activeFieldChoice False \
6219 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6222 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"
6224 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"fcs-4"
6226 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6227 set ixNetSG_Stack(3) $sg_stack
6230 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
6232 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
6233 ixNet setMultiAttrs $sg_field \
6236 -optionalEnabled True \
6244 -trackingEnabled False \
6245 -valueType singleValue \
6246 -activeFieldChoice False \
6250 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6253 # configuring the object that corresponds to /traffic/trafficItem:1/dynamicUpdate
6255 set sg_dynamicUpdate $ixNetSG_Stack(1)/dynamicUpdate
6256 ixNet setMultiAttrs $sg_dynamicUpdate \
6257 -enabledSessionAwareTrafficFields {} \
6258 -enabledDynamicUpdateFields {}
6260 set sg_dynamicUpdate [lindex [ixNet remapIds $sg_dynamicUpdate] 0]
6267 # configuring the object that corresponds to /quickTest/rfc2544throughput:1
6269 if {$rfc2544TestType == "throughput"} {
6270 set sg_rfc2544throughput [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544throughput]
6272 ixNet setMultiAttrs $sg_rfc2544throughput \
6273 -name {QuickTest1} \
6274 -mode existingMode \
6275 -inputParameters {{}}
6277 set sizes [join $frameSizeList ","]
6278 set sg_rfc2544throughput [lindex [ixNet remapIds $sg_rfc2544throughput] 0]
6279 ixNet setMultiAttrs $sg_rfc2544throughput/testConfig \
6280 -protocolItem [list ] \
6281 -enableMinFrameSize True \
6282 -framesize $frameSize \
6283 -reportTputRateUnit mbps \
6284 -duration $duration \
6285 -numtrials $numTests \
6286 -trafficType constantLoading \
6288 -framesPerBurstGap 1 \
6290 -frameLossUnit {0} \
6291 -staggeredStart False \
6292 -framesizeList $sizes \
6293 -frameSizeMode custom \
6294 -rateSelect percentMaxRate \
6295 -percentMaxRate 100 \
6297 -forceRegenerate False \
6298 -reportSequenceError False \
6301 -loadRateList $frameRate \
6302 -fixedLoadUnit percentMaxRate \
6304 -incrementLoadUnit percentMaxRate \
6305 -initialIncrementLoadRate 10 \
6306 -stepIncrementLoadRate 10 \
6307 -maxIncrementLoadRate 100 \
6308 -randomLoadUnit percentMaxRate \
6309 -minRandomLoadRate 10 \
6310 -maxRandomLoadRate 80 \
6311 -countRandomLoadRate 1 \
6315 -delayAfterTransmit 2 \
6316 -minRandomFrameSize 64 \
6317 -maxRandomFrameSize 128 \
6318 -countRandomFrameSize 1 \
6319 -minIncrementFrameSize 64 \
6320 -stepIncrementFrameSize 64 \
6321 -maxIncrementFrameSize 1518 \
6322 -calculateLatency True \
6323 -latencyType storeForward \
6324 -calculateJitter False \
6325 -enableDataIntegrity False \
6326 -enableBackoffIteration False \
6327 -enableSaturationIteration False \
6328 -enableStopTestOnHighLoss False \
6329 -enableBackoffUseAs% False \
6330 -backoffIteration 1 \
6331 -saturationIteration 1 \
6332 -stopTestOnHighLoss 0 \
6333 -loadType $loadType \
6334 -stepLoadUnit percentMaxRate \
6335 -customLoadUnit percentMaxRate \
6336 -comboLoadUnit percentMaxRate \
6337 -binaryLoadUnit percentMaxRate \
6338 -initialBinaryLoadRate 100 \
6339 -minBinaryLoadRate 1 \
6340 -maxBinaryLoadRate 100 \
6341 -binaryResolution 1 \
6343 -binaryTolerance $tolerance \
6344 -binaryFrameLossUnit % \
6345 -comboFrameLossUnit % \
6346 -stepFrameLossUnit % \
6347 -initialStepLoadRate 10 \
6348 -maxStepLoadRate 100 \
6349 -stepStepLoadRate 10 \
6351 -initialComboLoadRate 10 \
6352 -maxComboLoadRate 100 \
6353 -minComboLoadRate 10 \
6354 -stepComboLoadRate 10 \
6355 -comboResolution 1 \
6358 -binarySearchType linear \
6359 -unchangedValueList {0} \
6360 -enableFastConvergence $fastConvergence \
6361 -fastConvergenceDuration $convergenceDuration \
6362 -fastConvergenceThreshold 10 \
6363 -framesizeFixedValue $frameSize \
6365 -unchangedInitial False \
6366 -generateTrackingOptionAggregationFiles False \
6367 -enableExtraIterations False \
6368 -extraIterationOffsets {10, -10} \
6369 -usePercentOffsets False \
6370 -imixDistribution weight \
6373 -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}}}} \
6374 -imixEnabled False \
6375 -imixTemplates none \
6376 -framesizeImixList $frameSize \
6377 -imixTrafficType {UNCHNAGED} \
6378 -mapType {oneToOne} \
6379 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6380 ixNet setMultiAttrs $sg_rfc2544throughput/learnFrames \
6381 -learnFrequency $learningFrequency \
6382 -learnNumFrames 10 \
6384 -learnWaitTime 1000 \
6385 -learnFrameSize $frameSize \
6386 -fastPathLearnFrameSize $frameSize \
6387 -learnWaitTimeBeforeTransmit 0 \
6388 -learnSendMacOnly False \
6389 -learnSendRouterSolicitation False \
6390 -fastPathEnable $fastPathEnable \
6392 -fastPathNumFrames 10
6393 ixNet setMultiAttrs $sg_rfc2544throughput/passCriteria \
6394 -passCriteriaLoadRateMode average \
6395 -passCriteriaLoadRateValue 100 \
6396 -passCriteriaLoadRateScale mbps \
6397 -enablePassFail False \
6398 -enableRatePassFail False \
6399 -enableLatencyPassFail False \
6400 -enableStandardDeviationPassFail False \
6401 -latencyThresholdValue 10 \
6402 -latencyThresholdScale us \
6403 -latencyThresholdMode average \
6404 -latencyVariationThresholdValue 0 \
6405 -latencyVariationThresholdScale us \
6406 -latencyVarThresholdMode average \
6407 -enableSequenceErrorsPassFail False \
6408 -seqErrorsThresholdValue 0 \
6409 -seqErrorsThresholdMode average \
6410 -enableDataIntegrityPassFail False \
6411 -dataErrorThresholdValue 0 \
6412 -dataErrorThresholdMode average
6415 set sg_rfc2544throughput [lindex [ixNet remapIds $sg_rfc2544throughput] 0]
6416 set ixNetSG_Stack(1) $sg_rfc2544throughput
6418 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/protocols
6420 set sg_protocols $ixNetSG_Stack(1)/protocols
6421 ixNet setMultiAttrs $sg_protocols \
6422 -protocolState default \
6423 -waitAfterStart 120 \
6426 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6429 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/trafficSelection:1
6431 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6432 ixNet setMultiAttrs $sg_trafficSelection \
6433 -id $ixNetSG_ref(26) \
6434 -includeMode inTest \
6435 -itemType trafficItem
6439 # configuring the results folder that corresponds to /quickTest/rfc2544throughput:1
6441 ixNet setAttr $sg_rfc2544throughput -resultPath $output_dir
6443 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6446 } elseif {$rfc2544TestType == "back2back"} {
6448 # configuring the object that corresponds to /quickTest/rfc2544back2back:2
6450 set sg_rfc2544back2back [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544back2back]
6451 ixNet setMultiAttrs $sg_rfc2544back2back \
6453 -mode existingMode \
6454 -inputParameters {{}}
6455 ixNet setMultiAttrs $sg_rfc2544back2back/testConfig \
6457 -framesize $frameSize \
6458 -reportTputRateUnit mbps \
6459 -rfc2544ImixDataQoS False \
6460 -detailedResultsEnabled True \
6461 -rfc2889ordering noOrdering \
6462 -floodedFramesEnabled False \
6463 -duration $duration \
6464 -numtrials $numTests \
6465 -trafficType constantLoading \
6467 -framesPerBurstGap 1 \
6469 -frameLossUnit {0} \
6470 -staggeredStart False \
6471 -framesizeList [list $frameSize] \
6472 -frameSizeMode custom \
6473 -rateSelect percentMaxRate \
6474 -percentMaxRate 100 \
6476 -forceRegenerate False \
6477 -reportSequenceError False \
6480 -loadRateList $frameRate \
6484 -delayAfterTransmit 2 \
6485 -minRandomFrameSize 64 \
6486 -maxRandomFrameSize 1518 \
6487 -countRandomFrameSize 1 \
6488 -minIncrementFrameSize 64 \
6489 -stepIncrementFrameSize 64 \
6490 -maxIncrementFrameSize 1518 \
6491 -calculateLatency False \
6492 -calibrateLatency False \
6493 -latencyType cutThrough \
6494 -calculateJitter False \
6495 -enableDataIntegrity False \
6496 -loadType $loadType \
6497 -binaryFrameLossUnit % \
6498 -loadUnit percentMaxRate \
6499 -customLoadUnit percentMaxRate \
6500 -randomLoadUnit percentMaxRate \
6501 -incrementLoadUnit percentMaxRate \
6502 -binaryResolution 1000 \
6504 -binaryTolerance $tolerance \
6505 -initialIncrementLoadRate 100 \
6506 -stepIncrementLoadRate 10 \
6507 -maxIncrementLoadRate 100 \
6508 -minRandomLoadRate 10 \
6509 -maxRandomLoadRate 80 \
6510 -countRandomLoadRate 1 \
6511 -numFrames {100000} \
6513 -enableMinFrameSize True \
6515 -generateTrackingOptionAggregationFiles False \
6516 -sendFullyMeshed False \
6517 -imixDistribution weight \
6520 -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}}}} \
6521 -imixEnabled False \
6522 -imixTemplates none \
6523 -framesizeImixList $frameSize \
6524 -imixTrafficType {UNCHNAGED} \
6525 -ipRatioMode fixed \
6526 -ipv4RatioList {10,25,50,75,90} \
6527 -ipv6RatioList {90,75,50,25,10} \
6528 -minIncrementIpv4Ratio {10} \
6529 -stepIncrementIpv4Ratio {10} \
6530 -maxIncrementIpv4Ratio {90} \
6531 -minIncrementIpv6Ratio {90} \
6532 -stepIncrementIpv6Ratio {-10} \
6533 -maxIncrementIpv6Ratio {10} \
6534 -minRandomIpv4Ratio {10} \
6535 -maxRandomIpv4Ratio {90} \
6536 -minRandomIpv6Ratio {90} \
6537 -maxRandomIpv6Ratio {10} \
6538 -countRandomIpRatio 1 \
6539 -mapType {oneToOne|manyToMany|fullMesh} \
6540 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6541 ixNet setMultiAttrs $sg_rfc2544back2back/learnFrames \
6542 -learnFrequency $learningFrequency \
6543 -learnNumFrames 10 \
6545 -learnWaitTime 1000 \
6546 -learnFrameSize 64 \
6547 -fastPathLearnFrameSize 64 \
6548 -learnWaitTimeBeforeTransmit 0 \
6549 -learnSendMacOnly False \
6550 -learnSendRouterSolicitation False \
6551 -fastPathEnable $fastPathEnable \
6553 -fastPathNumFrames 10
6554 ixNet setMultiAttrs $sg_rfc2544back2back/passCriteria \
6555 -passCriteriaLoadRateMode average \
6556 -passCriteriaLoadRateValue 100 \
6557 -passCriteriaLoadRateScale mbps \
6558 -enablePassFail False \
6559 -enableRatePassFail False \
6560 -enableLatencyPassFail False \
6561 -enableStandardDeviationPassFail False \
6562 -latencyThresholdValue 10 \
6563 -latencyThresholdScale us \
6564 -latencyThresholdMode average \
6565 -latencyVariationThresholdValue 0 \
6566 -latencyVariationThresholdScale us \
6567 -latencyVarThresholdMode average \
6568 -enableSequenceErrorsPassFail False \
6569 -seqErrorsThresholdValue 0 \
6570 -seqErrorsThresholdMode average \
6571 -enableDataIntegrityPassFail False \
6572 -dataErrorThresholdValue 0 \
6573 -dataErrorThresholdMode average \
6574 -enableFrameCountPassFail False \
6575 -passCriteriaFrameCountValue 100 \
6576 -passCriteriaFrameCountMode average
6578 set sg_rfc2544back2back [lindex [ixNet remapIds $sg_rfc2544back2back] 0]
6579 set ixNetSG_Stack(1) $sg_rfc2544back2back
6582 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/protocols
6584 set sg_protocols $ixNetSG_Stack(1)/protocols
6585 ixNet setMultiAttrs $sg_protocols \
6586 -protocolState default \
6587 -waitAfterStart 120 \
6590 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6593 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/trafficSelection:1
6595 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6596 ixNet setMultiAttrs $sg_trafficSelection \
6597 -id $ixNetSG_ref(26) \
6598 -includeMode inTest \
6599 -itemType trafficItem
6601 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6605 # getting and applying the RFC2544 test
6607 set root [ixNet getRoot]
6608 set qt [ixNet getList $root quickTest]
6609 if {$rfc2544TestType == "throughput"} {
6610 set rfc2544test [ixNet getList $qt rfc2544throughput]
6611 } elseif {$rfc2544TestType == "back2back"} {
6612 set rfc2544test [ixNet getList $qt rfc2544back2back]
6614 ixNet exec apply $rfc2544test
6617 # starting the RFC2544 Throughput test
6619 puts "Starting test..."
6620 ixNet exec start $rfc2544test
6621 puts "Checking if [ixNet getA $rfc2544test -name] started...."
6623 while { [ixNet getA $rfc2544test/results -isRunning] eq false } {
6625 if { $count > 60 } { error "QT failed to start after 1 minute" }
6628 puts "Looking for statistics"
6629 set results_file_name "Traffic Item Statistics"
6630 set results_file_path [getResultFile $results_file_name]
6631 return $results_file_path
6634 proc getResultFile { viewName } {
6636 puts "Sleeping 20 seconds to have $viewName view"
6638 set root [ixNet getRoot]
6639 set views [ixNet getList $root/statistics view]
6640 foreach view $views {
6641 if { [ixNet getA $view -caption] eq $viewName } {
6642 set trafficView $view
6646 puts "Checking that the $viewName view is ready"
6648 while { [ixNet getA $trafficView/data -isReady] eq false } {
6650 if { $count > 2 } { break }
6653 puts "Success! $viewName view is ready! "
6654 puts "Changing the CSV path"
6655 set setAttr [ixNet setA $root/statistics -csvFilePath $output_dir]
6656 if { $setAttr != "::ixNet::OK"} {
6660 puts "Enabling CSV logging"
6661 set setAttr [ixNet setA $trafficView -enableCsvLogging True]
6662 if { $setAttr != "::ixNet::OK"} {
6666 puts "Enabled CSV logging"
6667 puts "Getting CSV file name for $trafficView view"
6668 set csv_path [ixNet getA $root/statistics -csvFilePath]
6669 set csv_name [ixNet getA $trafficView -csvFileName]
6671 return [file join $csv_path $csv_name]
6674 proc copyFileResults { sourceFile destFile } {
6675 puts "Coping the file $sourceFile to $destFile..."
6676 set source [dict get $sourceFile source_file]
6677 set dest [dict get $destFile dest_file]
6678 if {[catch {ixNet exec copyFile [ixNet readFrom "$source" -ixNetRelative] [ixNet writeTo "$dest" -overwrite]} errMsg]} {
6679 error "Error while copying results : '$errMsg'"
6684 proc waitForRfc2544Test { } {
6685 # Wait for- and return results of- RFC2544 quicktest.
6689 puts "Waiting for test to complete..."
6690 set result [ixNet exec waitForTest $rfc2544test]
6691 puts "Checking if [ixNet getA $rfc2544test -name] stopped"
6693 while { [ixNet getA $rfc2544test/results -isRunning] eq true } {
6695 if { $count > 60 } { error "QT failed to stop after 1 minute it finished" }
6698 puts "Finished Test"