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_east" "card_east" "port_east" "chassis_west" "card_west" "port_west" "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
98 set selfDestined False
99 if {($::chassis_east == $::chassis_west)} {
100 if {($::card_east == $::card_west)} {
101 if {($::port_east == $::port_west)} {
103 set selfDestined True
108 # RFC2544 to IXIA terminology mapping (it affects Ixia configuration inside this script):
112 set numTests [dict get $testSpec tests]
114 set tolerance [dict get $testSpec lossrate]
118 set frameRate [dict get $testSpec framerate]
123 set learningFrames [dict get $testSpec learningFrames]
126 set L2Increment False
127 set L3ValueType singleValue
129 set L4ValueType singleValue
132 if {$learningFrames} {
133 set learningFrequency oncePerTest
134 set fastPathEnable True
136 set learningFrequency never
137 set fastPathEnable False
140 set multipleStreams [dict get $testSpec multipleStreams]
141 set streamType [dict get $testSpec streamType]
143 if {($multipleStreams < 0)} {
144 set multipleStreams 0
147 if {$multipleStreams} {
148 if {($streamType == "L2")} {
149 set L2CountValue $multipleStreams
151 } elseif {($streamType == "L3")} {
152 set L3ValueType increment
153 set L3CountValue $multipleStreams
155 set L4ValueType increment
156 set L4CountValue $multipleStreams
160 set flowControl [dict get $testSpec flowControl]
161 set fastConvergence True
162 set convergenceDuration [expr $duration/10]
166 # extract nested dictionaries
167 set trafficSpec_l2 [dict get $trafficSpec l2]
168 set trafficSpec_l3 [dict get $trafficSpec l3]
169 set trafficSpec_l4 [dict get $trafficSpec l4]
170 set trafficSpec_vlan [dict get $trafficSpec vlan]
172 set frameSize [dict get $trafficSpec_l2 framesize]
173 set srcMac [dict get $trafficSpec_l2 srcmac]
174 set dstMac [dict get $trafficSpec_l2 dstmac]
175 set srcPort [dict get $trafficSpec_l4 srcport]
176 set dstPort [dict get $trafficSpec_l4 dstport]
178 set proto [dict get $trafficSpec_l3 proto]
179 set srcIp [dict get $trafficSpec_l3 srcip]
180 set dstIp [dict get $trafficSpec_l3 dstip]
181 set vlanEnabled [dict get $trafficSpec_vlan enabled]
182 set l3Enabled [dict get $trafficSpec_l3 enabled]
183 set l4Enabled [dict get $trafficSpec_l4 enabled]
186 if {$frameSize < 68 } {
187 if {$rfc2544TestType == "back2back"} {
188 puts "INFO: Packet size too small, packet size will be \
189 increased to 68 for this test"
194 set VERSION [package require IxTclNetwork]
196 ###################################################################
197 ############################ Operation ############################
198 ###################################################################
200 puts "Connecting to IxNetwork machine..."
202 ixNet connect $::IxNserver -port $::IxNport -version $VERSION
204 puts "Connected to IxNetwork machine"
206 puts "Configuring IxNetwork machine..."
209 proc sg_commit {} {ixNet commit}
212 ixNet setSessionParameter version 6.30.701.16
213 ixNet execute newConfig
214 set ixNetSG_Stack(0) [ixNet getRoot]
217 # setting global options
219 set sg_top [ixNet getRoot]
220 ixNet setMultiAttrs $sg_top/availableHardware \
223 ixNet setMultiAttrs $sg_top/globals/preferences \
224 -connectPortsOnLoadConfig True \
225 -rebootPortsOnConnect False
226 ixNet setMultiAttrs $sg_top/globals/interfaces \
229 -sendSingleArpPerGateway True \
230 -sendSingleNsPerGateway True
231 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/checksums \
232 -dropRxL2FcsErrors False \
233 -correctTxL2FcsErrors False \
234 -alwaysCorrectWhenModifying True \
235 -correctTxChecksumOverIp False \
236 -correctTxIpv4Checksum False
237 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/rxRateLimit \
240 -units {kKilobitsPerSecond}
241 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/drop \
245 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/reorder \
250 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/duplicate \
255 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/bitError \
260 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delay \
263 -units {kMicroseconds}
264 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/delayVariation \
267 -units {kMicroseconds} \
268 -distribution {kUniform} \
269 -exponentialMeanArrival 0 \
270 -gaussianStandardDeviation 0
271 ixNet setMultiAttrs $sg_top/impairment/defaultProfile/customDelayVariation \
274 ixNet setMultiAttrs $sg_top/statistics \
275 -additionalFcoeStat2 fcoeInvalidFrames \
276 -csvLogPollIntervalMultiplier 1 \
278 -guardrailEnabled True \
279 -enableCsvLogging False\
280 -dataStorePollingIntervalMultiplier 1 \
281 -maxNumberOfStatsPerCustomGraph 16 \
282 -additionalFcoeStat1 fcoeInvalidDelimiter \
283 -timestampPrecision 3 \
284 -enableDataCenterSharedStats False \
285 -timeSynchronization syncTimeToTestStart \
286 -enableAutoDataStore False
287 ixNet setMultiAttrs $sg_top/statistics/measurementMode \
288 -measurementMode mixedMode
289 ixNet setMultiAttrs $sg_top/eventScheduler \
290 -licenseServerLocation {127.0.0.1}
291 ixNet setMultiAttrs $sg_top/traffic \
292 -destMacRetryCount 1 \
293 -maxTrafficGenerationQueries 500 \
294 -enableStaggeredTransmit False \
295 -learningFrameSize $frameSize \
297 -enableDestMacRetry True \
298 -enableMulticastScalingFactor False \
299 -destMacRetryDelay 5 \
300 -largeErrorThreshhold 2 \
301 -refreshLearnedInfoBeforeApply False \
302 -enableMinFrameSize True \
303 -macChangeOnFly False \
305 -enableInstantaneousStatsSupport False \
306 -learningFramesCount 10 \
307 -globalStreamControl continuous \
308 -displayMplsCurrentLabelValue False \
309 -mplsLabelLearningTimeout 30 \
310 -enableStaggeredStartDelay True \
311 -enableDataIntegrityCheck False \
312 -enableSequenceChecking False \
313 -globalStreamControlIterations 1 \
314 -enableStreamOrdering False \
315 -frameOrderingMode none \
316 -learningFramesRate 100
317 ixNet setMultiAttrs $sg_top/traffic/statistics/latency \
320 ixNet setMultiAttrs $sg_top/traffic/statistics/interArrivalTimeRate \
322 ixNet setMultiAttrs $sg_top/traffic/statistics/delayVariation \
324 -statisticsMode rxDelayVariationErrorsAndRate \
325 -latencyMode storeForward \
326 -largeSequenceNumberErrorThreshold 2
327 ixNet setMultiAttrs $sg_top/traffic/statistics/sequenceChecking \
329 -sequenceMode rxThreshold
330 ixNet setMultiAttrs $sg_top/traffic/statistics/advancedSequenceChecking \
332 -advancedSequenceThreshold 1
333 ixNet setMultiAttrs $sg_top/traffic/statistics/cpdpConvergence \
335 -dataPlaneJitterWindow 10485760 \
336 -dataPlaneThreshold 95 \
337 -enableDataPlaneEventsRateMonitor False \
338 -enableControlPlaneEvents False
339 ixNet setMultiAttrs $sg_top/traffic/statistics/packetLossDuration \
341 ixNet setMultiAttrs $sg_top/traffic/statistics/dataIntegrity \
343 ixNet setMultiAttrs $sg_top/traffic/statistics/errorStats \
345 ixNet setMultiAttrs $sg_top/traffic/statistics/prbs \
347 ixNet setMultiAttrs $sg_top/traffic/statistics/iptv \
349 ixNet setMultiAttrs $sg_top/traffic/statistics/l1Rates \
351 ixNet setMultiAttrs $sg_top/quickTest/globals \
352 -productLabel {Your switch/router name here} \
353 -serialNumber {Your switch/router serial number here} \
354 -version {Your firmware version here} \
356 -titlePageComments {} \
357 -maxLinesToDisplay 100 \
358 -enableCheckLinkState False \
359 -enableAbortIfLinkDown False \
360 -enableSwitchToStats True \
361 -enableCapture False \
362 -enableSwitchToResult True \
363 -enableGenerateReportAfterRun False \
364 -enableRebootCpu False \
365 -saveCaptureBeforeRun False \
367 -sleepTimeAfterReboot 10 \
368 -useDefaultRootPath False \
369 -outputRootPath $::output_dir
371 #set sg_top [lindex [ixNet remapIds $sg_top] 0]
372 set ixNetSG_Stack(0) $sg_top
379 # configuring the object that corresponds to /vport:1
381 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
382 ixNet setMultiAttrs $sg_vport \
383 -transmitIgnoreLinkStatus False \
384 -txGapControlMode averageMode \
386 -connectedTo ::ixNet::OBJ-null \
387 -txMode interleaved \
389 -rxMode captureAndMeasure \
390 -name {10GE LAN - 001}
391 ixNet setMultiAttrs $sg_vport/l1Config \
392 -currentType tenGigLan
393 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
395 -flowControlDirectedAddress "01 80 C2 00 00 01" \
397 -autoInstrumentation endOfFrame \
398 -transmitClocking internal \
399 -txIgnoreRxLinkFaults False \
401 -enableLASIMonitoring False \
402 -enabledFlowControl $flowControl
403 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
407 -vendorSpecificInformation {00 00 00 00} \
408 -macAddress "00:00:00:00:00:00" \
412 -enableTlvOption False \
414 -organizationUniqueIdentifier {000000}
415 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
416 -supportDataCenterMode False \
417 -priorityGroupSize priorityGroupSize-8 \
419 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
420 -flowControlType ieee802.1Qbb \
421 -enablePFCPauseDelay False
422 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
424 -flowControlDirectedAddress "01 80 C2 00 00 01" \
426 -autoInstrumentation endOfFrame \
427 -transmitClocking internal \
428 -txIgnoreRxLinkFaults False \
430 -enableLASIMonitoring False \
431 -enabledFlowControl $flowControl
432 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
433 -supportDataCenterMode False \
434 -priorityGroupSize priorityGroupSize-8 \
436 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
437 -flowControlType ieee802.1Qbb \
438 -enablePFCPauseDelay False
439 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
443 -vendorSpecificInformation {00 00 00 00} \
444 -macAddress "00:00:00:00:00:00" \
448 -enableTlvOption False \
450 -organizationUniqueIdentifier {000000}
451 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
452 -sourceAddress1Mask {00:00:00:00:00:00} \
453 -destinationAddress1Mask {00:00:00:00:00:00} \
454 -sourceAddress2 {00:00:00:00:00:00} \
455 -pattern2OffsetType fromStartOfFrame \
458 -sourceAddress2Mask {00:00:00:00:00:00} \
459 -destinationAddress2 {00:00:00:00:00:00} \
460 -destinationAddress1 {00:00:00:00:00:00} \
461 -sourceAddress1 {00:00:00:00:00:00} \
463 -destinationAddress2Mask {00:00:00:00:00:00} \
467 -pattern1OffsetType fromStartOfFrame
468 ixNet setMultiAttrs $sg_vport/protocols/arp \
470 ixNet setMultiAttrs $sg_vport/protocols/bfd \
473 -packetsPerInterval 0
474 ixNet setMultiAttrs $sg_vport/protocols/bgp \
475 -autoFillUpDutIp False \
476 -disableReceivedUpdateValidation False \
477 -enableAdVplsPrefixLengthInBits False \
478 -enableExternalActiveConnect True \
479 -enableInternalActiveConnect True \
480 -enableVpnLabelExchangeOverLsp True \
483 -externalRetryDelay 120 \
485 -internalRetryDelay 120 \
487 -triggerVplsPwInitiation False
488 ixNet setMultiAttrs $sg_vport/protocols/cfm \
489 -enableOptionalLmFunctionality False \
490 -enableOptionalTlvValidation True \
494 -suppressErrorsOnAis True
495 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
497 ixNet setMultiAttrs $sg_vport/protocols/elmi \
499 ixNet setMultiAttrs $sg_vport/protocols/igmp \
504 -sendLeaveOnStop True \
505 -statsEnabled False \
507 ixNet setMultiAttrs $sg_vport/protocols/isis \
508 -allL1RbridgesMac "01:80:c2:00:00:40" \
509 -emulationType isisL3Routing \
511 -helloMulticastMac "01:80:c2:00:00:41" \
512 -lspMgroupPdusPerInterval 0 \
514 -rateControlInterval 0 \
515 -sendP2PHellosToUnicastMac True \
516 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
517 -spbHelloMulticastMac "09:00:2b:00:00:05" \
519 ixNet setMultiAttrs $sg_vport/protocols/lacp \
520 -enablePreservePartnerInfo False \
522 ixNet setMultiAttrs $sg_vport/protocols/ldp \
523 -enableDiscardSelfAdvFecs False \
524 -enableHelloJitter True \
525 -enableVpnLabelExchangeOverLsp True \
529 -keepAliveHoldTime 30 \
530 -keepAliveInterval 10 \
531 -p2mpCapabilityParam 1288 \
533 -targetedHelloInterval 15 \
534 -targetedHoldTime 45 \
535 -useTransportLabelsForMplsOam False
536 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
538 ixNet setMultiAttrs $sg_vport/protocols/lisp \
539 -burstIntervalInMs 0 \
541 -ipv4MapRegisterPacketsPerBurst 0 \
542 -ipv4MapRequestPacketsPerBurst 0 \
543 -ipv4SmrPacketsPerBurst 0 \
544 -ipv6MapRegisterPacketsPerBurst 0 \
545 -ipv6MapRequestPacketsPerBurst 0 \
546 -ipv6SmrPacketsPerBurst 0
547 ixNet setMultiAttrs $sg_vport/protocols/mld \
548 -enableDoneOnStop True \
550 -mldv2Report type143 \
555 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
557 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
558 -apsChannelType {00 02 } \
559 -bfdCcChannelType {00 07 } \
560 -delayManagementChannelType {00 05 } \
561 -enableHighPerformanceMode True \
563 -faultManagementChannelType {00 58 } \
564 -lossMeasurementChannelType {00 04 } \
565 -onDemandCvChannelType {00 09 } \
566 -pwStatusChannelType {00 0B } \
567 -y1731ChannelType {7F FA }
568 ixNet setMultiAttrs $sg_vport/protocols/ospf \
569 -enableDrOrBdr False \
571 -floodLinkStateUpdatesPerInterval 0 \
572 -rateControlInterval 0
573 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
575 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
576 -bsmFramePerInterval 0 \
577 -crpFramePerInterval 0 \
578 -dataMdtFramePerInterval 0 \
579 -denyGrePimIpPrefix {0.0.0.0/32} \
580 -enableDiscardJoinPruneProcessing False \
581 -enableRateControl False \
583 -helloMsgsPerInterval 0 \
585 -joinPruneMessagesPerInterval 0 \
586 -registerMessagesPerInterval 0 \
587 -registerStopMessagesPerInterval 0
588 ixNet setMultiAttrs $sg_vport/protocols/ping \
590 ixNet setMultiAttrs $sg_vport/protocols/rip \
592 ixNet setMultiAttrs $sg_vport/protocols/ripng \
594 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
595 -enableControlLspInitiationRate False \
596 -enableShowTimeValue False \
597 -enableVpnLabelExchangeOverLsp True \
599 -maxLspInitiationsPerSec 400 \
600 -useTransportLabelsForMplsOam False
601 ixNet setMultiAttrs $sg_vport/protocols/stp \
603 ixNet setMultiAttrs $sg_vport/rateControlParameters \
604 -maxRequestsPerBurst 1 \
605 -maxRequestsPerSec 250 \
606 -minRetryInterval 10 \
608 -sendInBursts False \
609 -sendRequestsAsFastAsPossible False
610 ixNet setMultiAttrs $sg_vport/capture \
611 -controlCaptureTrigger {} \
612 -controlCaptureFilter {} \
613 -hardwareEnabled False \
614 -softwareEnabled False \
615 -displayFiltersDataCapture {} \
616 -displayFiltersControlCapture {} \
617 -controlBufferSize 30 \
618 -controlBufferBehaviour bufferLiveNonCircular
619 ixNet setMultiAttrs $sg_vport/protocolStack/options \
620 -routerSolicitationDelay 1 \
621 -routerSolicitationInterval 4 \
622 -routerSolicitations 3 \
626 -ipv4RetransTime 3000 \
629 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
630 set ixNetSG_ref(2) $sg_vport
631 set ixNetSG_Stack(1) $sg_vport
634 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:1
636 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
637 ixNet setMultiAttrs $sg_uds \
638 -destinationAddressSelector anyAddr \
639 -customFrameSizeTo 0 \
640 -customFrameSizeFrom 0 \
642 -patternSelector anyPattern \
643 -sourceAddressSelector anyAddr \
647 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
650 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:2
652 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
653 ixNet setMultiAttrs $sg_uds \
654 -destinationAddressSelector anyAddr \
655 -customFrameSizeTo 0 \
656 -customFrameSizeFrom 0 \
658 -patternSelector anyPattern \
659 -sourceAddressSelector anyAddr \
663 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
666 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:3
668 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
669 ixNet setMultiAttrs $sg_uds \
670 -destinationAddressSelector anyAddr \
671 -customFrameSizeTo 0 \
672 -customFrameSizeFrom 0 \
674 -patternSelector anyPattern \
675 -sourceAddressSelector anyAddr \
679 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
682 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:4
684 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
685 ixNet setMultiAttrs $sg_uds \
686 -destinationAddressSelector anyAddr \
687 -customFrameSizeTo 0 \
688 -customFrameSizeFrom 0 \
690 -patternSelector anyPattern \
691 -sourceAddressSelector anyAddr \
695 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
698 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:5
700 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
701 ixNet setMultiAttrs $sg_uds \
702 -destinationAddressSelector anyAddr \
703 -customFrameSizeTo 0 \
704 -customFrameSizeFrom 0 \
706 -patternSelector anyPattern \
707 -sourceAddressSelector anyAddr \
711 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
714 # configuring the object that corresponds to /vport:1/l1Config/rxFilters/uds:6
716 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
717 ixNet setMultiAttrs $sg_uds \
718 -destinationAddressSelector anyAddr \
719 -customFrameSizeTo 0 \
720 -customFrameSizeFrom 0 \
722 -patternSelector anyPattern \
723 -sourceAddressSelector anyAddr \
727 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
730 # configuring the object that corresponds to /vport:1/protocols/static/lan:1
732 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
733 ixNet setMultiAttrs $sg_lan \
734 -atmEncapsulation ::ixNet::OBJ-null \
735 -count $L2CountValue \
737 -enableIncrementMac $L2Increment \
738 -enableIncrementVlan False \
739 -enableSiteId False \
742 -frEncapsulation ::ixNet::OBJ-null \
743 -incrementPerVcVlanMode noIncrement \
744 -incrementVlanMode noIncrement \
746 -macRangeMode normal \
749 -skipVlanIdZero True \
751 -trafficGroupId ::ixNet::OBJ-null \
756 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
760 # configuring the object that corresponds to /vport:2
762 set sg_vport [ixNet add $ixNetSG_Stack(0) vport]
763 ixNet setMultiAttrs $sg_vport \
764 -transmitIgnoreLinkStatus False \
765 -txGapControlMode averageMode \
767 -connectedTo ::ixNet::OBJ-null \
768 -txMode interleaved \
770 -rxMode captureAndMeasure \
771 -name {10GE LAN - 002}
772 ixNet setMultiAttrs $sg_vport/l1Config \
773 -currentType tenGigLan
774 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan \
776 -flowControlDirectedAddress "01 80 C2 00 00 01" \
778 -autoInstrumentation endOfFrame \
779 -transmitClocking internal \
780 -txIgnoreRxLinkFaults False \
782 -enableLASIMonitoring False \
783 -enabledFlowControl $flowControl
784 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/oam \
788 -vendorSpecificInformation {00 00 00 00} \
789 -macAddress "00:00:00:00:00:00" \
793 -enableTlvOption False \
795 -organizationUniqueIdentifier {000000}
796 ixNet setMultiAttrs $sg_vport/l1Config/tenGigLan/fcoe \
797 -supportDataCenterMode False \
798 -priorityGroupSize priorityGroupSize-8 \
800 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
801 -flowControlType ieee802.1Qbb \
802 -enablePFCPauseDelay False
803 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan \
805 -flowControlDirectedAddress "01 80 C2 00 00 01" \
807 -autoInstrumentation endOfFrame \
808 -transmitClocking internal \
809 -txIgnoreRxLinkFaults False \
811 -enableLASIMonitoring False \
812 -enabledFlowControl $flowControl
813 ixNet setMultiAttrs $sg_vport/l1Config/fortyGigLan/fcoe \
814 -supportDataCenterMode False \
815 -priorityGroupSize priorityGroupSize-8 \
817 -pfcPriorityGroups {0 1 2 3 4 5 6 7} \
818 -flowControlType ieee802.1Qbb \
819 -enablePFCPauseDelay False
820 ixNet setMultiAttrs $sg_vport/l1Config/OAM \
824 -vendorSpecificInformation {00 00 00 00} \
825 -macAddress "00:00:00:00:00:00" \
829 -enableTlvOption False \
831 -organizationUniqueIdentifier {000000}
832 ixNet setMultiAttrs $sg_vport/l1Config/rxFilters/filterPalette \
833 -sourceAddress1Mask {00:00:00:00:00:00} \
834 -destinationAddress1Mask {00:00:00:00:00:00} \
835 -sourceAddress2 {00:00:00:00:00:00} \
836 -pattern2OffsetType fromStartOfFrame \
839 -sourceAddress2Mask {00:00:00:00:00:00} \
840 -destinationAddress2 {00:00:00:00:00:00} \
841 -destinationAddress1 {00:00:00:00:00:00} \
842 -sourceAddress1 {00:00:00:00:00:00} \
844 -destinationAddress2Mask {00:00:00:00:00:00} \
848 -pattern1OffsetType fromStartOfFrame
849 ixNet setMultiAttrs $sg_vport/protocols/arp \
851 ixNet setMultiAttrs $sg_vport/protocols/bfd \
854 -packetsPerInterval 0
855 ixNet setMultiAttrs $sg_vport/protocols/bgp \
856 -autoFillUpDutIp False \
857 -disableReceivedUpdateValidation False \
858 -enableAdVplsPrefixLengthInBits False \
859 -enableExternalActiveConnect True \
860 -enableInternalActiveConnect True \
861 -enableVpnLabelExchangeOverLsp True \
864 -externalRetryDelay 120 \
866 -internalRetryDelay 120 \
868 -triggerVplsPwInitiation False
869 ixNet setMultiAttrs $sg_vport/protocols/cfm \
870 -enableOptionalLmFunctionality False \
871 -enableOptionalTlvValidation True \
875 -suppressErrorsOnAis True
876 ixNet setMultiAttrs $sg_vport/protocols/eigrp \
878 ixNet setMultiAttrs $sg_vport/protocols/elmi \
880 ixNet setMultiAttrs $sg_vport/protocols/igmp \
885 -sendLeaveOnStop True \
886 -statsEnabled False \
888 ixNet setMultiAttrs $sg_vport/protocols/isis \
889 -allL1RbridgesMac "01:80:c2:00:00:40" \
890 -emulationType isisL3Routing \
892 -helloMulticastMac "01:80:c2:00:00:41" \
893 -lspMgroupPdusPerInterval 0 \
895 -rateControlInterval 0 \
896 -sendP2PHellosToUnicastMac True \
897 -spbAllL1BridgesMac "09:00:2b:00:00:05" \
898 -spbHelloMulticastMac "09:00:2b:00:00:05" \
900 ixNet setMultiAttrs $sg_vport/protocols/lacp \
901 -enablePreservePartnerInfo False \
903 ixNet setMultiAttrs $sg_vport/protocols/ldp \
904 -enableDiscardSelfAdvFecs False \
905 -enableHelloJitter True \
906 -enableVpnLabelExchangeOverLsp True \
910 -keepAliveHoldTime 30 \
911 -keepAliveInterval 10 \
912 -p2mpCapabilityParam 1288 \
914 -targetedHelloInterval 15 \
915 -targetedHoldTime 45 \
916 -useTransportLabelsForMplsOam False
917 ixNet setMultiAttrs $sg_vport/protocols/linkOam \
919 ixNet setMultiAttrs $sg_vport/protocols/lisp \
920 -burstIntervalInMs 0 \
922 -ipv4MapRegisterPacketsPerBurst 0 \
923 -ipv4MapRequestPacketsPerBurst 0 \
924 -ipv4SmrPacketsPerBurst 0 \
925 -ipv6MapRegisterPacketsPerBurst 0 \
926 -ipv6MapRequestPacketsPerBurst 0 \
927 -ipv6SmrPacketsPerBurst 0
928 ixNet setMultiAttrs $sg_vport/protocols/mld \
929 -enableDoneOnStop True \
931 -mldv2Report type143 \
936 ixNet setMultiAttrs $sg_vport/protocols/mplsOam \
938 ixNet setMultiAttrs $sg_vport/protocols/mplsTp \
939 -apsChannelType {00 02 } \
940 -bfdCcChannelType {00 07 } \
941 -delayManagementChannelType {00 05 } \
942 -enableHighPerformanceMode True \
944 -faultManagementChannelType {00 58 } \
945 -lossMeasurementChannelType {00 04 } \
946 -onDemandCvChannelType {00 09 } \
947 -pwStatusChannelType {00 0B } \
948 -y1731ChannelType {7F FA }
949 ixNet setMultiAttrs $sg_vport/protocols/ospf \
950 -enableDrOrBdr False \
952 -floodLinkStateUpdatesPerInterval 0 \
953 -rateControlInterval 0
954 ixNet setMultiAttrs $sg_vport/protocols/ospfV3 \
956 ixNet setMultiAttrs $sg_vport/protocols/pimsm \
957 -bsmFramePerInterval 0 \
958 -crpFramePerInterval 0 \
959 -dataMdtFramePerInterval 0 \
960 -denyGrePimIpPrefix {0.0.0.0/32} \
961 -enableDiscardJoinPruneProcessing False \
962 -enableRateControl False \
964 -helloMsgsPerInterval 0 \
966 -joinPruneMessagesPerInterval 0 \
967 -registerMessagesPerInterval 0 \
968 -registerStopMessagesPerInterval 0
969 ixNet setMultiAttrs $sg_vport/protocols/ping \
971 ixNet setMultiAttrs $sg_vport/protocols/rip \
973 ixNet setMultiAttrs $sg_vport/protocols/ripng \
975 ixNet setMultiAttrs $sg_vport/protocols/rsvp \
976 -enableControlLspInitiationRate False \
977 -enableShowTimeValue False \
978 -enableVpnLabelExchangeOverLsp True \
980 -maxLspInitiationsPerSec 400 \
981 -useTransportLabelsForMplsOam False
982 ixNet setMultiAttrs $sg_vport/protocols/stp \
984 ixNet setMultiAttrs $sg_vport/rateControlParameters \
985 -maxRequestsPerBurst 1 \
986 -maxRequestsPerSec 250 \
987 -minRetryInterval 10 \
989 -sendInBursts False \
990 -sendRequestsAsFastAsPossible False
991 ixNet setMultiAttrs $sg_vport/capture \
992 -controlCaptureTrigger {} \
993 -controlCaptureFilter {} \
994 -hardwareEnabled False \
995 -softwareEnabled False \
996 -displayFiltersDataCapture {} \
997 -displayFiltersControlCapture {} \
998 -controlBufferSize 30 \
999 -controlBufferBehaviour bufferLiveNonCircular
1000 ixNet setMultiAttrs $sg_vport/protocolStack/options \
1001 -routerSolicitationDelay 1 \
1002 -routerSolicitationInterval 4 \
1003 -routerSolicitations 3 \
1007 -ipv4RetransTime 3000 \
1010 set sg_vport [lindex [ixNet remapIds $sg_vport] 0]
1011 set ixNetSG_ref(10) $sg_vport
1012 set ixNetSG_Stack(1) $sg_vport
1015 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:1
1017 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:1
1018 ixNet setMultiAttrs $sg_uds \
1019 -destinationAddressSelector anyAddr \
1020 -customFrameSizeTo 0 \
1021 -customFrameSizeFrom 0 \
1022 -error errAnyFrame \
1023 -patternSelector anyPattern \
1024 -sourceAddressSelector anyAddr \
1028 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1031 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:2
1033 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:2
1034 ixNet setMultiAttrs $sg_uds \
1035 -destinationAddressSelector anyAddr \
1036 -customFrameSizeTo 0 \
1037 -customFrameSizeFrom 0 \
1038 -error errAnyFrame \
1039 -patternSelector anyPattern \
1040 -sourceAddressSelector anyAddr \
1044 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1047 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:3
1049 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:3
1050 ixNet setMultiAttrs $sg_uds \
1051 -destinationAddressSelector anyAddr \
1052 -customFrameSizeTo 0 \
1053 -customFrameSizeFrom 0 \
1054 -error errAnyFrame \
1055 -patternSelector anyPattern \
1056 -sourceAddressSelector anyAddr \
1060 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1063 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:4
1065 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:4
1066 ixNet setMultiAttrs $sg_uds \
1067 -destinationAddressSelector anyAddr \
1068 -customFrameSizeTo 0 \
1069 -customFrameSizeFrom 0 \
1070 -error errAnyFrame \
1071 -patternSelector anyPattern \
1072 -sourceAddressSelector anyAddr \
1076 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1079 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:5
1081 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:5
1082 ixNet setMultiAttrs $sg_uds \
1083 -destinationAddressSelector anyAddr \
1084 -customFrameSizeTo 0 \
1085 -customFrameSizeFrom 0 \
1086 -error errAnyFrame \
1087 -patternSelector anyPattern \
1088 -sourceAddressSelector anyAddr \
1092 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1095 # configuring the object that corresponds to /vport:2/l1Config/rxFilters/uds:6
1097 set sg_uds $ixNetSG_Stack(1)/l1Config/rxFilters/uds:6
1098 ixNet setMultiAttrs $sg_uds \
1099 -destinationAddressSelector anyAddr \
1100 -customFrameSizeTo 0 \
1101 -customFrameSizeFrom 0 \
1102 -error errAnyFrame \
1103 -patternSelector anyPattern \
1104 -sourceAddressSelector anyAddr \
1108 set sg_uds [lindex [ixNet remapIds $sg_uds] 0]
1111 # configuring the object that corresponds to /vport:2/protocols/static/lan:1
1113 set sg_lan [ixNet add $ixNetSG_Stack(1)/protocols/static lan]
1114 ixNet setMultiAttrs $sg_lan \
1115 -atmEncapsulation ::ixNet::OBJ-null \
1116 -count $L2CountValue \
1118 -enableIncrementMac $L2Increment \
1119 -enableIncrementVlan False \
1120 -enableSiteId False \
1123 -frEncapsulation ::ixNet::OBJ-null \
1124 -incrementPerVcVlanMode noIncrement \
1125 -incrementVlanMode noIncrement \
1127 -macRangeMode normal \
1130 -skipVlanIdZero True \
1132 -trafficGroupId ::ixNet::OBJ-null \
1137 set sg_lan [lindex [ixNet remapIds $sg_lan] 0]
1141 ### /availableHardware area
1145 # configuring the object that corresponds to /availableHardware/chassis"
1147 set sg_chassis [ixNet add $ixNetSG_Stack(0)/availableHardware chassis]
1148 ixNet setMultiAttrs $sg_chassis \
1152 -hostname $::chassis_east
1154 set sg_chassis1 [ixNet add $ixNetSG_Stack(0)/availableHardware chassis]
1155 ixNet setMultiAttrs $sg_chassis1 \
1159 -hostname $::chassis_west
1161 set sg_chassis [lindex [ixNet remapIds $sg_chassis] 0]
1162 set ixNetSG_Stack(1) $sg_chassis
1163 set sg_chassis1 [lindex [ixNet remapIds $sg_chassis1] 0]
1164 set ixNetSG_Stack(4) $sg_chassis1
1167 # configuring the object that corresponds to /availableHardware/chassis/card_east
1169 set sg_card_east $ixNetSG_Stack(1)/card:$::card_east
1170 ixNet setMultiAttrs $sg_card_east \
1171 -aggregationMode normal
1173 set sg_card_east [lindex [ixNet remapIds $sg_card_east] 0]
1174 set ixNetSG_ref(19) $sg_card_east
1175 set ixNetSG_Stack(2) $sg_card_east
1178 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:1
1180 set sg_aggregation $ixNetSG_Stack(2)/aggregation:1
1181 ixNet setMultiAttrs $sg_aggregation \
1184 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1187 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:2
1189 set sg_aggregation $ixNetSG_Stack(2)/aggregation:2
1190 ixNet setMultiAttrs $sg_aggregation \
1193 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1196 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:3
1198 set sg_aggregation $ixNetSG_Stack(2)/aggregation:3
1199 ixNet setMultiAttrs $sg_aggregation \
1202 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1205 # configuring the object that corresponds to /availableHardware/chassis/card/aggregation:4
1207 set sg_aggregation $ixNetSG_Stack(2)/aggregation:4
1208 ixNet setMultiAttrs $sg_aggregation \
1211 set sg_aggregation [lindex [ixNet remapIds $sg_aggregation] 0]
1212 ixNet setMultiAttrs $ixNetSG_ref(2) \
1213 -connectedTo $ixNetSG_ref(19)/port:$::port_east
1217 # configuring the object that corresponds to /availableHardware/chassis/card_west
1219 puts "ixNetSG_Stack(4) is $ixNetSG_Stack(4)"
1220 set sg_card_west $ixNetSG_Stack(4)/card:$::card_west
1221 ixNet setMultiAttrs $sg_card_west \
1222 -aggregationMode normal
1224 set sg_card_west [lindex [ixNet remapIds $sg_card_west] 0]
1225 set ixNetSG_ref(20) $sg_card_west
1226 set ixNetSG_Stack(4) $sg_card_west
1229 ixNet setMultiAttrs $ixNetSG_ref(10) \
1230 -connectedTo $ixNetSG_ref(20)/port:$::port_west
1236 ### /impairment area
1240 # configuring the object that corresponds to /impairment/profile:3
1242 set sg_profile [ixNet add $ixNetSG_Stack(0)/impairment profile]
1243 ixNet setMultiAttrs $sg_profile \
1245 -name {Impairment Profile 1} \
1249 ixNet setMultiAttrs $sg_profile/checksums \
1250 -dropRxL2FcsErrors False \
1251 -correctTxL2FcsErrors False \
1252 -alwaysCorrectWhenModifying True \
1253 -correctTxChecksumOverIp False \
1254 -correctTxIpv4Checksum False
1255 ixNet setMultiAttrs $sg_profile/rxRateLimit \
1258 -units {kKilobitsPerSecond}
1259 ixNet setMultiAttrs $sg_profile/drop \
1263 ixNet setMultiAttrs $sg_profile/reorder \
1268 ixNet setMultiAttrs $sg_profile/duplicate \
1273 ixNet setMultiAttrs $sg_profile/bitError \
1278 ixNet setMultiAttrs $sg_profile/delay \
1281 -units {kMicroseconds}
1282 ixNet setMultiAttrs $sg_profile/delayVariation \
1285 -units {kMicroseconds} \
1286 -distribution {kUniform} \
1287 -exponentialMeanArrival 0 \
1288 -gaussianStandardDeviation 0
1289 ixNet setMultiAttrs $sg_profile/customDelayVariation \
1293 set sg_profile [lindex [ixNet remapIds $sg_profile] 0]
1294 set ixNetSG_Stack(1) $sg_profile
1297 # configuring the object that corresponds to /impairment/profile:3/fixedClassifier:1
1299 set sg_fixedClassifier [ixNet add $ixNetSG_Stack(1) fixedClassifier]
1301 set sg_fixedClassifier [lindex [ixNet remapIds $sg_fixedClassifier] 0]
1308 # configuring the object that corresponds to /traffic/trafficItem:1
1310 set sg_trafficItem [ixNet add $ixNetSG_Stack(0)/traffic trafficItem]
1311 ixNet setMultiAttrs $sg_trafficItem \
1312 -transportRsvpTePreference one \
1313 -trafficItemType l2L3 \
1314 -biDirectional $::biDirect \
1315 -mergeDestinations True \
1316 -hostsPerNetwork 1 \
1317 -transmitMode interleaved \
1319 -trafficType {ethernetVlan} \
1320 -interAsLdpPreference two \
1321 -allowSelfDestined $selfDestined \
1323 -maxNumberOfVpnLabelStack 2 \
1324 -interAsBgpPreference one \
1326 -transportLdpPreference two \
1327 -egressEnabled False \
1328 -enableDynamicMplsLabelValues False \
1329 -routeMesh oneToOne \
1330 -name {Traffic Item 1} \
1331 -srcDestMesh oneToOne
1333 set sg_trafficItem [lindex [ixNet remapIds $sg_trafficItem] 0]
1334 set ixNetSG_ref(26) $sg_trafficItem
1335 set ixNetSG_Stack(1) $sg_trafficItem
1338 # configuring the object that corresponds to /traffic/trafficItem:1/endpointSet:1
1340 set sg_endpointSet [ixNet add $ixNetSG_Stack(1) endpointSet]
1342 ixNet setMultiAttrs $sg_endpointSet \
1343 -destinations [list $ixNetSG_ref(10)/protocols] \
1344 -destinationFilter {} \
1347 -sources [list $ixNetSG_ref(2)/protocols] \
1348 -name {EndpointSet-1}
1350 ixNet setMultiAttrs $sg_endpointSet \
1351 -destinations [list $ixNetSG_ref(2)/protocols] \
1352 -destinationFilter {} \
1355 -sources [list $ixNetSG_ref(2)/protocols] \
1356 -name {EndpointSet-1}
1359 set sg_endpointSet [lindex [ixNet remapIds $sg_endpointSet] 0]
1362 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1
1364 set sg_configElement $ixNetSG_Stack(1)/configElement:1
1365 ixNet setMultiAttrs $sg_configElement \
1367 -preambleCustomSize 8 \
1368 -enableDisparityError False \
1369 -preambleFrameSizeMode auto \
1370 -destinationMacMode manual
1371 ixNet setMultiAttrs $sg_configElement/frameSize \
1373 -fixedSize $frameSizeList \
1379 -presetDistribution cisco \
1382 ixNet setMultiAttrs $sg_configElement/frameRate \
1383 -bitRateUnitsType bitsPerSec \
1385 -enforceMinimumInterPacketGap 0 \
1386 -type percentLineRate \
1387 -interPacketGapUnitsType nanoseconds
1388 ixNet setMultiAttrs $sg_configElement/framePayload \
1389 -type incrementByte \
1390 -customRepeat True \
1392 ixNet setMultiAttrs $sg_configElement/frameRateDistribution \
1393 -streamDistribution applyRateToAll \
1394 -portDistribution applyRateToAll
1395 ixNet setMultiAttrs $sg_configElement/transmissionControl \
1400 -interBurstGapUnits nanoseconds \
1404 -enableInterStreamGap False \
1405 -startDelayUnits bytes \
1407 -burstPacketCount 1 \
1408 -enableInterBurstGap False \
1411 set sg_configElement [lindex [ixNet remapIds $sg_configElement] 0]
1412 set ixNetSG_Stack(2) $sg_configElement
1415 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"
1417 set sg_stack $ixNetSG_Stack(2)/stack:"ethernet-$stack_number"
1419 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1420 set ixNetSG_Stack(3) $sg_stack
1424 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
1426 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
1427 ixNet setMultiAttrs $sg_field \
1428 -singleValue $dstMac \
1430 -optionalEnabled True \
1432 -valueList {{00:00:00:00:00:00}} \
1433 -stepValue {00:00:00:00:00:01} \
1434 -fixedBits {00:00:00:00:00:00} \
1435 -fieldValue $dstMac \
1437 -randomMask {00:00:00:00:00:00} \
1438 -trackingEnabled False \
1439 -valueType singleValue \
1440 -activeFieldChoice False \
1441 -startValue $dstMac \
1444 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1447 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
1449 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
1450 ixNet setMultiAttrs $sg_field \
1451 -singleValue $srcMac \
1453 -optionalEnabled True \
1455 -valueList {{00:00:00:00:00:00}} \
1456 -stepValue {00:00:00:00:00:00} \
1457 -fixedBits {00:00:00:00:00:00} \
1458 -fieldValue $srcMac \
1460 -randomMask {00:00:00:00:00:00} \
1461 -trackingEnabled False \
1462 -valueType singleValue \
1463 -activeFieldChoice False \
1464 -startValue $srcMac \
1467 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1470 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
1472 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
1473 ixNet setMultiAttrs $sg_field \
1474 -singleValue {800} \
1476 -optionalEnabled True \
1478 -valueList {{0xFFFF}} \
1479 -stepValue {0xFFFF} \
1480 -fixedBits {0xFFFF} \
1483 -randomMask {0xFFFF} \
1484 -trackingEnabled False \
1485 -valueType singleValue \
1486 -activeFieldChoice False \
1487 -startValue {0xFFFF} \
1490 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1493 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
1495 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
1496 ixNet setMultiAttrs $sg_field \
1499 -optionalEnabled True \
1507 -trackingEnabled False \
1508 -valueType singleValue \
1509 -activeFieldChoice False \
1513 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1515 if {$vlanEnabled == 1 } {
1516 set sg_stack $ixNetSG_Stack(2)/stack:"vlan-$stack_number"
1518 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1519 set ixNetSG_Stack(3) $sg_stack
1522 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanUserPriority-1"
1523 ixNet setMultiAttrs $sg_field \
1524 -singleValue $vlanUserPrio \
1526 -optionalEnabled true \
1528 -valueList [list 0] \
1531 -fieldValue $vlanUserPrio \
1534 -trackingEnabled false \
1535 -valueType singleValue \
1536 -activeFieldChoice false \
1540 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.cfi-2"
1541 ixNet setMultiAttrs $sg_field \
1542 -singleValue $vlanCfi \
1544 -optionalEnabled true \
1546 -valueList [list 0] \
1549 -fieldValue $vlanCfi \
1552 -trackingEnabled false \
1553 -valueType singleValue \
1554 -activeFieldChoice false \
1558 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.vlanTag.vlanID-3"
1559 ixNet setMultiAttrs $sg_field \
1560 -singleValue $vlanId \
1562 -optionalEnabled true \
1564 -valueList [list 0] \
1567 -fieldValue $vlanId \
1570 -trackingEnabled false \
1571 -valueType singleValue \
1572 -activeFieldChoice false \
1576 set sg_field $ixNetSG_Stack(3)/field:"vlan.header.protocolID-4"
1577 ixNet setMultiAttrs $sg_field \
1580 -optionalEnabled true \
1582 -valueList [list 0xffff] \
1587 -randomMask 0xffff \
1588 -trackingEnabled false \
1589 -valueType singleValue \
1590 -activeFieldChoice false \
1591 -startValue 0xffff \
1595 if {$l3Enabled == 1 } {
1597 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"
1599 set sg_stack $ixNetSG_Stack(2)/stack:"ipv4-$stack_number"
1601 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
1602 set ixNetSG_Stack(3) $sg_stack
1606 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.version-1"
1608 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
1609 ixNet setMultiAttrs $sg_field \
1612 -optionalEnabled True \
1620 -trackingEnabled False \
1621 -valueType singleValue \
1622 -activeFieldChoice False \
1626 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1629 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
1631 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
1632 ixNet setMultiAttrs $sg_field \
1635 -optionalEnabled True \
1643 -trackingEnabled False \
1644 -valueType singleValue \
1645 -activeFieldChoice False \
1649 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1652 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
1654 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
1655 ixNet setMultiAttrs $sg_field \
1658 -optionalEnabled True \
1666 -trackingEnabled False \
1667 -valueType singleValue \
1668 -activeFieldChoice False \
1672 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1675 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
1677 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
1678 ixNet setMultiAttrs $sg_field \
1681 -optionalEnabled True \
1686 -fieldValue {000 Routine} \
1689 -trackingEnabled False \
1690 -valueType singleValue \
1691 -activeFieldChoice True \
1695 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1698 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
1700 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
1701 ixNet setMultiAttrs $sg_field \
1704 -optionalEnabled True \
1709 -fieldValue {Normal} \
1712 -trackingEnabled False \
1713 -valueType singleValue \
1714 -activeFieldChoice True \
1718 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1721 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
1723 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
1724 ixNet setMultiAttrs $sg_field \
1727 -optionalEnabled True \
1732 -fieldValue {Normal} \
1735 -trackingEnabled False \
1736 -valueType singleValue \
1737 -activeFieldChoice True \
1741 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1744 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
1746 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
1747 ixNet setMultiAttrs $sg_field \
1750 -optionalEnabled True \
1755 -fieldValue {Normal} \
1758 -trackingEnabled False \
1759 -valueType singleValue \
1760 -activeFieldChoice True \
1764 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1767 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
1769 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
1770 ixNet setMultiAttrs $sg_field \
1773 -optionalEnabled True \
1778 -fieldValue {Normal} \
1781 -trackingEnabled False \
1782 -valueType singleValue \
1783 -activeFieldChoice True \
1787 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1790 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
1792 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
1793 ixNet setMultiAttrs $sg_field \
1796 -optionalEnabled True \
1804 -trackingEnabled False \
1805 -valueType singleValue \
1806 -activeFieldChoice True \
1810 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1813 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1815 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
1816 ixNet setMultiAttrs $sg_field \
1819 -optionalEnabled True \
1827 -trackingEnabled False \
1828 -valueType singleValue \
1829 -activeFieldChoice False \
1833 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1836 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1838 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
1839 ixNet setMultiAttrs $sg_field \
1842 -optionalEnabled True \
1850 -trackingEnabled False \
1851 -valueType singleValue \
1852 -activeFieldChoice False \
1856 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1859 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1861 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
1862 ixNet setMultiAttrs $sg_field \
1865 -optionalEnabled True \
1870 -fieldValue {Precedence 1} \
1873 -trackingEnabled False \
1874 -valueType singleValue \
1875 -activeFieldChoice False \
1879 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1882 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1884 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
1885 ixNet setMultiAttrs $sg_field \
1888 -optionalEnabled True \
1896 -trackingEnabled False \
1897 -valueType singleValue \
1898 -activeFieldChoice False \
1902 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1905 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1907 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
1908 ixNet setMultiAttrs $sg_field \
1911 -optionalEnabled True \
1916 -fieldValue {Class 1, Low drop precedence} \
1919 -trackingEnabled False \
1920 -valueType singleValue \
1921 -activeFieldChoice False \
1925 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1928 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1930 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
1931 ixNet setMultiAttrs $sg_field \
1934 -optionalEnabled True \
1942 -trackingEnabled False \
1943 -valueType singleValue \
1944 -activeFieldChoice False \
1948 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1951 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1953 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
1954 ixNet setMultiAttrs $sg_field \
1957 -optionalEnabled True \
1965 -trackingEnabled False \
1966 -valueType singleValue \
1967 -activeFieldChoice False \
1971 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1974 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1976 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
1977 ixNet setMultiAttrs $sg_field \
1980 -optionalEnabled True \
1988 -trackingEnabled False \
1989 -valueType singleValue \
1990 -activeFieldChoice False \
1994 set sg_field [lindex [ixNet remapIds $sg_field] 0]
1997 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
1999 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
2000 ixNet setMultiAttrs $sg_field \
2003 -optionalEnabled True \
2011 -trackingEnabled False \
2012 -valueType singleValue \
2013 -activeFieldChoice False \
2017 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2020 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.identification-19"
2022 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
2023 ixNet setMultiAttrs $sg_field \
2026 -optionalEnabled True \
2034 -trackingEnabled False \
2035 -valueType singleValue \
2036 -activeFieldChoice False \
2040 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2043 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
2045 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
2046 ixNet setMultiAttrs $sg_field \
2049 -optionalEnabled True \
2057 -trackingEnabled False \
2058 -valueType singleValue \
2059 -activeFieldChoice False \
2063 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2066 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
2068 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
2069 ixNet setMultiAttrs $sg_field \
2072 -optionalEnabled True \
2077 -fieldValue {May fragment} \
2080 -trackingEnabled False \
2081 -valueType singleValue \
2082 -activeFieldChoice False \
2086 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2089 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
2091 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
2092 ixNet setMultiAttrs $sg_field \
2095 -optionalEnabled True \
2100 -fieldValue {Last fragment} \
2103 -trackingEnabled False \
2104 -valueType singleValue \
2105 -activeFieldChoice False \
2109 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2112 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
2114 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
2115 ixNet setMultiAttrs $sg_field \
2118 -optionalEnabled True \
2126 -trackingEnabled False \
2127 -valueType singleValue \
2128 -activeFieldChoice False \
2132 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2135 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
2137 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
2138 ixNet setMultiAttrs $sg_field \
2141 -optionalEnabled True \
2149 -trackingEnabled False \
2150 -valueType singleValue \
2151 -activeFieldChoice False \
2155 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2158 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
2160 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
2161 ixNet setMultiAttrs $sg_field \
2164 -optionalEnabled True \
2172 -trackingEnabled False \
2173 -valueType singleValue \
2174 -activeFieldChoice False \
2178 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2181 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
2183 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
2184 ixNet setMultiAttrs $sg_field \
2187 -optionalEnabled True \
2195 -trackingEnabled False \
2196 -valueType singleValue \
2197 -activeFieldChoice False \
2201 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2204 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
2206 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
2207 ixNet setMultiAttrs $sg_field \
2208 -singleValue $srcIp \
2210 -optionalEnabled True \
2212 -valueList {{0.0.0.0}} \
2213 -stepValue {0.0.0.0} \
2214 -fixedBits {0.0.0.0} \
2215 -fieldValue $srcIp \
2217 -randomMask {0.0.0.0} \
2218 -trackingEnabled False \
2219 -valueType singleValue \
2220 -activeFieldChoice False \
2221 -startValue {0.0.0.0} \
2224 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2227 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
2229 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
2230 ixNet setMultiAttrs $sg_field \
2231 -singleValue $dstIp \
2233 -optionalEnabled True \
2235 -valueList {{0.0.0.0}} \
2236 -stepValue {0.0.0.1} \
2237 -fixedBits {0.0.0.0} \
2238 -fieldValue $dstIp \
2240 -randomMask {0.0.0.0} \
2241 -trackingEnabled False \
2242 -valueType $L3ValueType \
2243 -activeFieldChoice False \
2244 -startValue $dstIp \
2245 -countValue $L3CountValue
2247 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2250 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
2252 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
2253 ixNet setMultiAttrs $sg_field \
2256 -optionalEnabled False \
2264 -trackingEnabled False \
2265 -valueType singleValue \
2266 -activeFieldChoice True \
2270 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2273 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
2275 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
2276 ixNet setMultiAttrs $sg_field \
2277 -singleValue {130} \
2279 -optionalEnabled False \
2281 -valueList {{130}} \
2287 -trackingEnabled False \
2288 -valueType singleValue \
2289 -activeFieldChoice False \
2293 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2296 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
2298 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
2299 ixNet setMultiAttrs $sg_field \
2302 -optionalEnabled False \
2310 -trackingEnabled False \
2311 -valueType singleValue \
2312 -activeFieldChoice False \
2316 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2319 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
2321 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
2322 ixNet setMultiAttrs $sg_field \
2325 -optionalEnabled False \
2330 -fieldValue {Unclassified} \
2333 -trackingEnabled False \
2334 -valueType singleValue \
2335 -activeFieldChoice False \
2339 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2342 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2344 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
2345 ixNet setMultiAttrs $sg_field \
2348 -optionalEnabled False \
2356 -trackingEnabled False \
2357 -valueType singleValue \
2358 -activeFieldChoice False \
2362 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2365 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
2367 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
2368 ixNet setMultiAttrs $sg_field \
2371 -optionalEnabled False \
2379 -trackingEnabled False \
2380 -valueType singleValue \
2381 -activeFieldChoice False \
2385 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2388 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2390 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
2391 ixNet setMultiAttrs $sg_field \
2394 -optionalEnabled False \
2402 -trackingEnabled False \
2403 -valueType singleValue \
2404 -activeFieldChoice False \
2408 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2411 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2413 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
2414 ixNet setMultiAttrs $sg_field \
2415 -singleValue {131} \
2417 -optionalEnabled False \
2419 -valueList {{131}} \
2425 -trackingEnabled False \
2426 -valueType singleValue \
2427 -activeFieldChoice False \
2431 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2434 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2436 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
2437 ixNet setMultiAttrs $sg_field \
2440 -optionalEnabled False \
2448 -trackingEnabled False \
2449 -valueType singleValue \
2450 -activeFieldChoice False \
2454 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2457 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
2459 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
2460 ixNet setMultiAttrs $sg_field \
2463 -optionalEnabled False \
2471 -trackingEnabled False \
2472 -valueType singleValue \
2473 -activeFieldChoice False \
2477 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2480 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
2482 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
2483 ixNet setMultiAttrs $sg_field \
2486 -optionalEnabled False \
2494 -trackingEnabled False \
2495 -valueType singleValue \
2496 -activeFieldChoice False \
2500 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2503 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2505 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
2506 ixNet setMultiAttrs $sg_field \
2507 -singleValue {137} \
2509 -optionalEnabled False \
2511 -valueList {{137}} \
2517 -trackingEnabled False \
2518 -valueType singleValue \
2519 -activeFieldChoice False \
2523 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2526 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2528 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
2529 ixNet setMultiAttrs $sg_field \
2532 -optionalEnabled False \
2540 -trackingEnabled False \
2541 -valueType singleValue \
2542 -activeFieldChoice False \
2546 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2549 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2551 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
2552 ixNet setMultiAttrs $sg_field \
2555 -optionalEnabled False \
2563 -trackingEnabled False \
2564 -valueType singleValue \
2565 -activeFieldChoice False \
2569 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2572 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2574 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
2575 ixNet setMultiAttrs $sg_field \
2578 -optionalEnabled False \
2586 -trackingEnabled False \
2587 -valueType singleValue \
2588 -activeFieldChoice False \
2592 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2595 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2597 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
2598 ixNet setMultiAttrs $sg_field \
2599 -singleValue {136} \
2601 -optionalEnabled False \
2603 -valueList {{136}} \
2609 -trackingEnabled False \
2610 -valueType singleValue \
2611 -activeFieldChoice False \
2615 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2618 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2620 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
2621 ixNet setMultiAttrs $sg_field \
2624 -optionalEnabled False \
2632 -trackingEnabled False \
2633 -valueType singleValue \
2634 -activeFieldChoice False \
2638 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2641 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2643 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
2644 ixNet setMultiAttrs $sg_field \
2647 -optionalEnabled False \
2655 -trackingEnabled False \
2656 -valueType singleValue \
2657 -activeFieldChoice False \
2661 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2664 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2666 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
2667 ixNet setMultiAttrs $sg_field \
2670 -optionalEnabled False \
2678 -trackingEnabled False \
2679 -valueType singleValue \
2680 -activeFieldChoice False \
2684 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2687 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2689 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
2690 ixNet setMultiAttrs $sg_field \
2693 -optionalEnabled False \
2701 -trackingEnabled False \
2702 -valueType singleValue \
2703 -activeFieldChoice False \
2707 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2710 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2712 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
2713 ixNet setMultiAttrs $sg_field \
2716 -optionalEnabled False \
2724 -trackingEnabled False \
2725 -valueType singleValue \
2726 -activeFieldChoice False \
2730 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2733 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2735 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
2736 ixNet setMultiAttrs $sg_field \
2739 -optionalEnabled False \
2747 -trackingEnabled False \
2748 -valueType singleValue \
2749 -activeFieldChoice False \
2753 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2756 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2758 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
2759 ixNet setMultiAttrs $sg_field \
2762 -optionalEnabled False \
2767 -fieldValue {Timestamps only, in consecutive 32-bit words} \
2770 -trackingEnabled False \
2771 -valueType singleValue \
2772 -activeFieldChoice False \
2776 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2779 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2781 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
2782 ixNet setMultiAttrs $sg_field \
2785 -optionalEnabled False \
2793 -trackingEnabled False \
2794 -valueType singleValue \
2795 -activeFieldChoice False \
2799 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2802 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2804 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
2805 ixNet setMultiAttrs $sg_field \
2808 -optionalEnabled False \
2816 -trackingEnabled False \
2817 -valueType singleValue \
2818 -activeFieldChoice False \
2822 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2825 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
2827 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
2828 ixNet setMultiAttrs $sg_field \
2831 -optionalEnabled False \
2839 -trackingEnabled False \
2840 -valueType singleValue \
2841 -activeFieldChoice False \
2845 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2848 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2850 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
2851 ixNet setMultiAttrs $sg_field \
2854 -optionalEnabled False \
2856 -valueList {{0x94}} \
2861 -randomMask {0x94} \
2862 -trackingEnabled False \
2863 -valueType singleValue \
2864 -activeFieldChoice False \
2865 -startValue {0x94} \
2868 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2871 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2873 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
2874 ixNet setMultiAttrs $sg_field \
2877 -optionalEnabled False \
2879 -valueList {{0x04}} \
2884 -randomMask {0x04} \
2885 -trackingEnabled False \
2886 -valueType singleValue \
2887 -activeFieldChoice False \
2888 -startValue {0x04} \
2891 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2894 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2896 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
2897 ixNet setMultiAttrs $sg_field \
2900 -optionalEnabled False \
2905 -fieldValue {Router shall examine packet} \
2908 -trackingEnabled False \
2909 -valueType singleValue \
2910 -activeFieldChoice False \
2914 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2917 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
2919 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
2920 ixNet setMultiAttrs $sg_field \
2923 -optionalEnabled False \
2931 -trackingEnabled False \
2932 -valueType singleValue \
2933 -activeFieldChoice False \
2937 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2940 if {$l4Enabled == 1 } {
2942 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"
2944 set sg_stack $ixNetSG_Stack(2)/stack:"udp-$stack_number"
2946 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
2947 set ixNetSG_Stack(3) $sg_stack
2951 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.srcPort-1"
2953 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
2954 ixNet setMultiAttrs $sg_field \
2955 -singleValue $srcPort \
2957 -optionalEnabled True \
2962 -fieldValue $srcPort \
2965 -trackingEnabled False \
2966 -valueType singleValue \
2967 -activeFieldChoice False \
2968 -startValue $srcPort \
2971 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2974 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.dstPort-2"
2976 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
2977 ixNet setMultiAttrs $sg_field \
2978 -singleValue $dstPort \
2980 -optionalEnabled True \
2985 -fieldValue $dstPort \
2988 -trackingEnabled False \
2989 -valueType $L4ValueType \
2990 -activeFieldChoice False \
2991 -startValue $dstPort \
2992 -countValue $L4CountValue
2994 set sg_field [lindex [ixNet remapIds $sg_field] 0]
2997 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.length-3"
2999 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
3000 ixNet setMultiAttrs $sg_field \
3003 -optionalEnabled True \
3011 -trackingEnabled False \
3012 -valueType singleValue \
3013 -activeFieldChoice False \
3017 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3020 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"udp-3"/field:"udp.header.checksum-4"
3022 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
3023 ixNet setMultiAttrs $sg_field \
3026 -optionalEnabled True \
3034 -trackingEnabled False \
3035 -valueType singleValue \
3036 -activeFieldChoice False \
3040 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3044 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"
3046 set sg_stack $ixNetSG_Stack(2)/stack:"fcs-$stack_number"
3048 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3049 set ixNetSG_Stack(3) $sg_stack
3053 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/stack:"fcs-4"/field:"ethernet.fcs-1"
3055 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
3056 ixNet setMultiAttrs $sg_field \
3059 -optionalEnabled True \
3067 -trackingEnabled False \
3068 -valueType singleValue \
3069 -activeFieldChoice False \
3073 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3076 # configuring the object that corresponds to /traffic/trafficItem:1/configElement:1/transmissionDistribution
3078 set sg_transmissionDistribution $ixNetSG_Stack(2)/transmissionDistribution
3079 ixNet setMultiAttrs $sg_transmissionDistribution \
3082 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3085 # configuring the object that corresponds to /traffic/trafficItem:1/transmissionDistribution
3087 set sg_transmissionDistribution $ixNetSG_Stack(1)/transmissionDistribution
3088 ixNet setMultiAttrs $sg_transmissionDistribution \
3091 set sg_transmissionDistribution [lindex [ixNet remapIds $sg_transmissionDistribution] 0]
3094 # configuring the object that corresponds to /traffic/trafficItem:1/tracking
3096 set sg_tracking $ixNetSG_Stack(1)/tracking
3097 ixNet setMultiAttrs $sg_tracking \
3099 -oneToOneMesh False \
3100 -trackBy {trackingenabled0} \
3102 -fieldWidth thirtyTwoBits \
3103 -protocolOffset {Root.0}
3104 ixNet setMultiAttrs $sg_tracking/egress \
3105 -offset {Outer VLAN Priority (3 bits)} \
3107 -customOffsetBits 0 \
3108 -encapsulation {Ethernet} \
3110 ixNet setMultiAttrs $sg_tracking/latencyBin \
3112 -binLimits {1 1.42 2 2.82 4 5.66 8 11.32} \
3115 set sg_tracking [lindex [ixNet remapIds $sg_tracking] 0]
3116 set ixNetSG_Stack(2) $sg_tracking
3119 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"
3121 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ethernet-1"
3123 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3124 set ixNetSG_Stack(3) $sg_stack
3127 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
3129 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
3130 ixNet setMultiAttrs $sg_field \
3131 -singleValue {00:00:00:00:00:00} \
3133 -optionalEnabled True \
3135 -valueList {{00:00:00:00:00:00}} \
3136 -stepValue {00:00:00:00:00:00} \
3137 -fixedBits {00:00:00:00:00:00} \
3138 -fieldValue {00:00:00:00:00:00} \
3140 -randomMask {00:00:00:00:00:00} \
3141 -trackingEnabled True \
3142 -valueType singleValue \
3143 -activeFieldChoice False \
3144 -startValue {00:00:00:00:00:00} \
3147 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3150 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
3152 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
3153 ixNet setMultiAttrs $sg_field \
3154 -singleValue {00:00:00:00:00:00} \
3156 -optionalEnabled True \
3158 -valueList {{00:00:00:00:00:00}} \
3159 -stepValue {00:00:00:00:00:00} \
3160 -fixedBits {00:00:00:00:00:00} \
3161 -fieldValue {00:00:00:00:00:00} \
3163 -randomMask {00:00:00:00:00:00} \
3164 -trackingEnabled False \
3165 -valueType singleValue \
3166 -activeFieldChoice False \
3167 -startValue {00:00:00:00:00:00} \
3170 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3173 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
3175 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
3176 ixNet setMultiAttrs $sg_field \
3177 -singleValue {800} \
3179 -optionalEnabled True \
3181 -valueList {{0xFFFF}} \
3182 -stepValue {0xFFFF} \
3183 -fixedBits {0xFFFF} \
3186 -randomMask {0xFFFF} \
3187 -trackingEnabled False \
3188 -valueType singleValue \
3189 -activeFieldChoice False \
3190 -startValue {0xFFFF} \
3193 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3196 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
3198 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
3199 ixNet setMultiAttrs $sg_field \
3202 -optionalEnabled True \
3210 -trackingEnabled False \
3211 -valueType singleValue \
3212 -activeFieldChoice False \
3216 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3219 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"
3221 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"ipv4-2"
3223 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
3224 set ixNetSG_Stack(3) $sg_stack
3227 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
3229 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
3230 ixNet setMultiAttrs $sg_field \
3233 -optionalEnabled True \
3241 -trackingEnabled False \
3242 -valueType singleValue \
3243 -activeFieldChoice False \
3247 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3250 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
3252 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
3253 ixNet setMultiAttrs $sg_field \
3256 -optionalEnabled True \
3264 -trackingEnabled False \
3265 -valueType singleValue \
3266 -activeFieldChoice False \
3270 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3273 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
3275 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
3276 ixNet setMultiAttrs $sg_field \
3279 -optionalEnabled True \
3287 -trackingEnabled False \
3288 -valueType singleValue \
3289 -activeFieldChoice False \
3293 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3296 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
3298 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
3299 ixNet setMultiAttrs $sg_field \
3302 -optionalEnabled True \
3307 -fieldValue {000 Routine} \
3310 -trackingEnabled False \
3311 -valueType singleValue \
3312 -activeFieldChoice True \
3316 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3319 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
3321 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
3322 ixNet setMultiAttrs $sg_field \
3325 -optionalEnabled True \
3330 -fieldValue {Normal} \
3333 -trackingEnabled False \
3334 -valueType singleValue \
3335 -activeFieldChoice True \
3339 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3342 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
3344 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
3345 ixNet setMultiAttrs $sg_field \
3348 -optionalEnabled True \
3353 -fieldValue {Normal} \
3356 -trackingEnabled False \
3357 -valueType singleValue \
3358 -activeFieldChoice True \
3362 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3365 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
3367 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
3368 ixNet setMultiAttrs $sg_field \
3371 -optionalEnabled True \
3376 -fieldValue {Normal} \
3379 -trackingEnabled False \
3380 -valueType singleValue \
3381 -activeFieldChoice True \
3385 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3388 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
3390 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
3391 ixNet setMultiAttrs $sg_field \
3394 -optionalEnabled True \
3399 -fieldValue {Normal} \
3402 -trackingEnabled False \
3403 -valueType singleValue \
3404 -activeFieldChoice True \
3408 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3411 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
3413 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
3414 ixNet setMultiAttrs $sg_field \
3417 -optionalEnabled True \
3425 -trackingEnabled False \
3426 -valueType singleValue \
3427 -activeFieldChoice True \
3431 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3434 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3436 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
3437 ixNet setMultiAttrs $sg_field \
3440 -optionalEnabled True \
3448 -trackingEnabled False \
3449 -valueType singleValue \
3450 -activeFieldChoice False \
3454 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3457 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3459 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
3460 ixNet setMultiAttrs $sg_field \
3463 -optionalEnabled True \
3471 -trackingEnabled False \
3472 -valueType singleValue \
3473 -activeFieldChoice False \
3477 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3480 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3482 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
3483 ixNet setMultiAttrs $sg_field \
3486 -optionalEnabled True \
3491 -fieldValue {Precedence 1} \
3494 -trackingEnabled False \
3495 -valueType singleValue \
3496 -activeFieldChoice False \
3500 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3503 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3505 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
3506 ixNet setMultiAttrs $sg_field \
3509 -optionalEnabled True \
3517 -trackingEnabled False \
3518 -valueType singleValue \
3519 -activeFieldChoice False \
3523 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3526 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3528 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
3529 ixNet setMultiAttrs $sg_field \
3532 -optionalEnabled True \
3537 -fieldValue {Class 1, Low drop precedence} \
3540 -trackingEnabled False \
3541 -valueType singleValue \
3542 -activeFieldChoice False \
3546 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3549 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3551 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
3552 ixNet setMultiAttrs $sg_field \
3555 -optionalEnabled True \
3563 -trackingEnabled False \
3564 -valueType singleValue \
3565 -activeFieldChoice False \
3569 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3572 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3574 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
3575 ixNet setMultiAttrs $sg_field \
3578 -optionalEnabled True \
3586 -trackingEnabled False \
3587 -valueType singleValue \
3588 -activeFieldChoice False \
3592 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3595 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3597 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
3598 ixNet setMultiAttrs $sg_field \
3601 -optionalEnabled True \
3609 -trackingEnabled False \
3610 -valueType singleValue \
3611 -activeFieldChoice False \
3615 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3618 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
3620 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
3621 ixNet setMultiAttrs $sg_field \
3624 -optionalEnabled True \
3632 -trackingEnabled False \
3633 -valueType singleValue \
3634 -activeFieldChoice False \
3638 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3641 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
3643 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
3644 ixNet setMultiAttrs $sg_field \
3647 -optionalEnabled True \
3655 -trackingEnabled False \
3656 -valueType singleValue \
3657 -activeFieldChoice False \
3661 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3664 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
3666 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
3667 ixNet setMultiAttrs $sg_field \
3670 -optionalEnabled True \
3678 -trackingEnabled False \
3679 -valueType singleValue \
3680 -activeFieldChoice False \
3684 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3687 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
3689 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
3690 ixNet setMultiAttrs $sg_field \
3693 -optionalEnabled True \
3698 -fieldValue {May fragment} \
3701 -trackingEnabled False \
3702 -valueType singleValue \
3703 -activeFieldChoice False \
3707 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3710 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
3712 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
3713 ixNet setMultiAttrs $sg_field \
3716 -optionalEnabled True \
3721 -fieldValue {Last fragment} \
3724 -trackingEnabled False \
3725 -valueType singleValue \
3726 -activeFieldChoice False \
3730 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3733 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
3735 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
3736 ixNet setMultiAttrs $sg_field \
3739 -optionalEnabled True \
3747 -trackingEnabled False \
3748 -valueType singleValue \
3749 -activeFieldChoice False \
3753 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3756 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
3758 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
3759 ixNet setMultiAttrs $sg_field \
3762 -optionalEnabled True \
3770 -trackingEnabled False \
3771 -valueType singleValue \
3772 -activeFieldChoice False \
3776 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3779 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
3781 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
3782 ixNet setMultiAttrs $sg_field \
3785 -optionalEnabled True \
3793 -trackingEnabled False \
3794 -valueType singleValue \
3795 -activeFieldChoice False \
3799 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3802 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
3804 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
3805 ixNet setMultiAttrs $sg_field \
3808 -optionalEnabled True \
3816 -trackingEnabled False \
3817 -valueType singleValue \
3818 -activeFieldChoice False \
3822 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3825 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
3827 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
3828 ixNet setMultiAttrs $sg_field \
3829 -singleValue {0.0.0.0} \
3831 -optionalEnabled True \
3833 -valueList {{0.0.0.0}} \
3834 -stepValue {0.0.0.0} \
3835 -fixedBits {0.0.0.0} \
3836 -fieldValue {0.0.0.0} \
3838 -randomMask {0.0.0.0} \
3839 -trackingEnabled False \
3840 -valueType singleValue \
3841 -activeFieldChoice False \
3842 -startValue {0.0.0.0} \
3845 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3848 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
3850 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
3851 ixNet setMultiAttrs $sg_field \
3852 -singleValue {0.0.0.0} \
3854 -optionalEnabled True \
3856 -valueList {{0.0.0.0}} \
3857 -stepValue {0.0.0.0} \
3858 -fixedBits {0.0.0.0} \
3859 -fieldValue {0.0.0.0} \
3861 -randomMask {0.0.0.0} \
3862 -trackingEnabled False \
3863 -valueType singleValue \
3864 -activeFieldChoice False \
3865 -startValue {0.0.0.0} \
3868 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3871 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
3873 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
3874 ixNet setMultiAttrs $sg_field \
3877 -optionalEnabled False \
3885 -trackingEnabled False \
3886 -valueType singleValue \
3887 -activeFieldChoice True \
3891 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3894 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
3896 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
3897 ixNet setMultiAttrs $sg_field \
3898 -singleValue {130} \
3900 -optionalEnabled False \
3902 -valueList {{130}} \
3908 -trackingEnabled False \
3909 -valueType singleValue \
3910 -activeFieldChoice False \
3914 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3917 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
3919 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
3920 ixNet setMultiAttrs $sg_field \
3923 -optionalEnabled False \
3931 -trackingEnabled False \
3932 -valueType singleValue \
3933 -activeFieldChoice False \
3937 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3940 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
3942 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
3943 ixNet setMultiAttrs $sg_field \
3946 -optionalEnabled False \
3951 -fieldValue {Unclassified} \
3954 -trackingEnabled False \
3955 -valueType singleValue \
3956 -activeFieldChoice False \
3960 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3963 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3965 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
3966 ixNet setMultiAttrs $sg_field \
3969 -optionalEnabled False \
3977 -trackingEnabled False \
3978 -valueType singleValue \
3979 -activeFieldChoice False \
3983 set sg_field [lindex [ixNet remapIds $sg_field] 0]
3986 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
3988 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
3989 ixNet setMultiAttrs $sg_field \
3992 -optionalEnabled False \
4000 -trackingEnabled False \
4001 -valueType singleValue \
4002 -activeFieldChoice False \
4006 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4009 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
4011 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
4012 ixNet setMultiAttrs $sg_field \
4015 -optionalEnabled False \
4023 -trackingEnabled False \
4024 -valueType singleValue \
4025 -activeFieldChoice False \
4029 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4032 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4034 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
4035 ixNet setMultiAttrs $sg_field \
4036 -singleValue {131} \
4038 -optionalEnabled False \
4040 -valueList {{131}} \
4046 -trackingEnabled False \
4047 -valueType singleValue \
4048 -activeFieldChoice False \
4052 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4055 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4057 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
4058 ixNet setMultiAttrs $sg_field \
4061 -optionalEnabled False \
4069 -trackingEnabled False \
4070 -valueType singleValue \
4071 -activeFieldChoice False \
4075 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4078 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
4080 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
4081 ixNet setMultiAttrs $sg_field \
4084 -optionalEnabled False \
4092 -trackingEnabled False \
4093 -valueType singleValue \
4094 -activeFieldChoice False \
4098 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4101 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
4103 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
4104 ixNet setMultiAttrs $sg_field \
4107 -optionalEnabled False \
4115 -trackingEnabled False \
4116 -valueType singleValue \
4117 -activeFieldChoice False \
4121 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4124 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4126 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
4127 ixNet setMultiAttrs $sg_field \
4128 -singleValue {137} \
4130 -optionalEnabled False \
4132 -valueList {{137}} \
4138 -trackingEnabled False \
4139 -valueType singleValue \
4140 -activeFieldChoice False \
4144 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4147 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4149 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
4150 ixNet setMultiAttrs $sg_field \
4153 -optionalEnabled False \
4161 -trackingEnabled False \
4162 -valueType singleValue \
4163 -activeFieldChoice False \
4167 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4170 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4172 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
4173 ixNet setMultiAttrs $sg_field \
4176 -optionalEnabled False \
4184 -trackingEnabled False \
4185 -valueType singleValue \
4186 -activeFieldChoice False \
4190 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4193 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4195 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
4196 ixNet setMultiAttrs $sg_field \
4199 -optionalEnabled False \
4207 -trackingEnabled False \
4208 -valueType singleValue \
4209 -activeFieldChoice False \
4213 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4216 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4218 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
4219 ixNet setMultiAttrs $sg_field \
4220 -singleValue {136} \
4222 -optionalEnabled False \
4224 -valueList {{136}} \
4230 -trackingEnabled False \
4231 -valueType singleValue \
4232 -activeFieldChoice False \
4236 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4239 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4241 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
4242 ixNet setMultiAttrs $sg_field \
4245 -optionalEnabled False \
4253 -trackingEnabled False \
4254 -valueType singleValue \
4255 -activeFieldChoice False \
4259 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4262 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4264 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
4265 ixNet setMultiAttrs $sg_field \
4268 -optionalEnabled False \
4276 -trackingEnabled False \
4277 -valueType singleValue \
4278 -activeFieldChoice False \
4282 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4285 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4287 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
4288 ixNet setMultiAttrs $sg_field \
4291 -optionalEnabled False \
4299 -trackingEnabled False \
4300 -valueType singleValue \
4301 -activeFieldChoice False \
4305 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4308 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4310 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
4311 ixNet setMultiAttrs $sg_field \
4314 -optionalEnabled False \
4322 -trackingEnabled False \
4323 -valueType singleValue \
4324 -activeFieldChoice False \
4328 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4331 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4333 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
4334 ixNet setMultiAttrs $sg_field \
4337 -optionalEnabled False \
4345 -trackingEnabled False \
4346 -valueType singleValue \
4347 -activeFieldChoice False \
4351 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4354 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4356 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
4357 ixNet setMultiAttrs $sg_field \
4360 -optionalEnabled False \
4368 -trackingEnabled False \
4369 -valueType singleValue \
4370 -activeFieldChoice False \
4374 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4377 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4379 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
4380 ixNet setMultiAttrs $sg_field \
4383 -optionalEnabled False \
4388 -fieldValue {Timestamps only, in consecutive 32-bit words} \
4391 -trackingEnabled False \
4392 -valueType singleValue \
4393 -activeFieldChoice False \
4397 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4400 # 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"
4402 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
4403 ixNet setMultiAttrs $sg_field \
4406 -optionalEnabled False \
4414 -trackingEnabled False \
4415 -valueType singleValue \
4416 -activeFieldChoice False \
4420 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4423 # 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"
4425 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
4426 ixNet setMultiAttrs $sg_field \
4429 -optionalEnabled False \
4437 -trackingEnabled False \
4438 -valueType singleValue \
4439 -activeFieldChoice False \
4443 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4446 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
4448 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
4449 ixNet setMultiAttrs $sg_field \
4452 -optionalEnabled False \
4460 -trackingEnabled False \
4461 -valueType singleValue \
4462 -activeFieldChoice False \
4466 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4469 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4471 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
4472 ixNet setMultiAttrs $sg_field \
4475 -optionalEnabled False \
4477 -valueList {{0x94}} \
4482 -randomMask {0x94} \
4483 -trackingEnabled False \
4484 -valueType singleValue \
4485 -activeFieldChoice False \
4486 -startValue {0x94} \
4489 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4492 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4494 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
4495 ixNet setMultiAttrs $sg_field \
4498 -optionalEnabled False \
4500 -valueList {{0x04}} \
4505 -randomMask {0x04} \
4506 -trackingEnabled False \
4507 -valueType singleValue \
4508 -activeFieldChoice False \
4509 -startValue {0x04} \
4512 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4515 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4517 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
4518 ixNet setMultiAttrs $sg_field \
4521 -optionalEnabled False \
4526 -fieldValue {Router shall examine packet} \
4529 -trackingEnabled False \
4530 -valueType singleValue \
4531 -activeFieldChoice False \
4535 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4538 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
4540 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
4541 ixNet setMultiAttrs $sg_field \
4544 -optionalEnabled False \
4552 -trackingEnabled False \
4553 -valueType singleValue \
4554 -activeFieldChoice False \
4558 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4561 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"
4563 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"udp-3"
4565 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4566 set ixNetSG_Stack(3) $sg_stack
4569 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
4571 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
4572 ixNet setMultiAttrs $sg_field \
4575 -optionalEnabled True \
4580 -fieldValue {Default} \
4583 -trackingEnabled False \
4584 -valueType singleValue \
4585 -activeFieldChoice False \
4589 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4592 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
4594 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
4595 ixNet setMultiAttrs $sg_field \
4598 -optionalEnabled True \
4603 -fieldValue {Default} \
4606 -trackingEnabled False \
4607 -valueType singleValue \
4608 -activeFieldChoice False \
4612 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4615 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
4617 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
4618 ixNet setMultiAttrs $sg_field \
4621 -optionalEnabled True \
4629 -trackingEnabled False \
4630 -valueType singleValue \
4631 -activeFieldChoice False \
4635 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4638 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
4640 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
4641 ixNet setMultiAttrs $sg_field \
4644 -optionalEnabled True \
4652 -trackingEnabled False \
4653 -valueType singleValue \
4654 -activeFieldChoice False \
4658 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4661 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"
4663 set sg_stack $ixNetSG_Stack(2)/egress/fieldOffset/stack:"fcs-4"
4665 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4666 set ixNetSG_Stack(3) $sg_stack
4669 # configuring the object that corresponds to /traffic/trafficItem:1/tracking/egress/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
4671 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
4672 ixNet setMultiAttrs $sg_field \
4675 -optionalEnabled True \
4683 -trackingEnabled False \
4684 -valueType singleValue \
4685 -activeFieldChoice False \
4689 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4692 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1
4694 set sg_egressTracking [ixNet add $ixNetSG_Stack(1) egressTracking]
4695 ixNet setMultiAttrs $sg_egressTracking \
4696 -offset {Outer VLAN Priority (3 bits)} \
4697 -customOffsetBits 0 \
4698 -encapsulation {Ethernet} \
4701 set sg_egressTracking [lindex [ixNet remapIds $sg_egressTracking] 0]
4702 set ixNetSG_Stack(2) $sg_egressTracking
4705 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"
4707 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ethernet-1"
4709 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4710 set ixNetSG_Stack(3) $sg_stack
4713 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.destinationAddress-1"
4715 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.destinationAddress-1"
4716 ixNet setMultiAttrs $sg_field \
4717 -singleValue {00:00:00:00:00:00} \
4719 -optionalEnabled True \
4721 -valueList {{00:00:00:00:00:00}} \
4722 -stepValue {00:00:00:00:00:00} \
4723 -fixedBits {00:00:00:00:00:00} \
4724 -fieldValue {00:00:00:00:00:00} \
4726 -randomMask {00:00:00:00:00:00} \
4727 -trackingEnabled True \
4728 -valueType singleValue \
4729 -activeFieldChoice False \
4730 -startValue {00:00:00:00:00:00} \
4733 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4736 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.sourceAddress-2"
4738 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
4739 ixNet setMultiAttrs $sg_field \
4740 -singleValue {00:00:00:00:00:00} \
4742 -optionalEnabled True \
4744 -valueList {{00:00:00:00:00:00}} \
4745 -stepValue {00:00:00:00:00:00} \
4746 -fixedBits {00:00:00:00:00:00} \
4747 -fieldValue {00:00:00:00:00:00} \
4749 -randomMask {00:00:00:00:00:00} \
4750 -trackingEnabled False \
4751 -valueType singleValue \
4752 -activeFieldChoice False \
4753 -startValue {00:00:00:00:00:00} \
4756 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4759 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.etherType-3"
4761 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.etherType-3"
4762 ixNet setMultiAttrs $sg_field \
4763 -singleValue {800} \
4765 -optionalEnabled True \
4767 -valueList {{0xFFFF}} \
4768 -stepValue {0xFFFF} \
4769 -fixedBits {0xFFFF} \
4772 -randomMask {0xFFFF} \
4773 -trackingEnabled False \
4774 -valueType singleValue \
4775 -activeFieldChoice False \
4776 -startValue {0xFFFF} \
4779 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4782 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ethernet-1"/field:"ethernet.header.pfcQueue-4"
4784 set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.pfcQueue-4"
4785 ixNet setMultiAttrs $sg_field \
4788 -optionalEnabled True \
4796 -trackingEnabled False \
4797 -valueType singleValue \
4798 -activeFieldChoice False \
4802 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4805 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"
4807 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"ipv4-2"
4809 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
4810 set ixNetSG_Stack(3) $sg_stack
4813 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.version-1"
4815 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.version-1"
4816 ixNet setMultiAttrs $sg_field \
4819 -optionalEnabled True \
4827 -trackingEnabled False \
4828 -valueType singleValue \
4829 -activeFieldChoice False \
4833 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4836 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.headerLength-2"
4838 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.headerLength-2"
4839 ixNet setMultiAttrs $sg_field \
4842 -optionalEnabled True \
4850 -trackingEnabled False \
4851 -valueType singleValue \
4852 -activeFieldChoice False \
4856 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4859 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.raw-3"
4861 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.raw-3"
4862 ixNet setMultiAttrs $sg_field \
4865 -optionalEnabled True \
4873 -trackingEnabled False \
4874 -valueType singleValue \
4875 -activeFieldChoice False \
4879 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4882 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.precedence-4"
4884 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.precedence-4"
4885 ixNet setMultiAttrs $sg_field \
4888 -optionalEnabled True \
4893 -fieldValue {000 Routine} \
4896 -trackingEnabled False \
4897 -valueType singleValue \
4898 -activeFieldChoice True \
4902 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4905 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.delay-5"
4907 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.delay-5"
4908 ixNet setMultiAttrs $sg_field \
4911 -optionalEnabled True \
4916 -fieldValue {Normal} \
4919 -trackingEnabled False \
4920 -valueType singleValue \
4921 -activeFieldChoice True \
4925 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4928 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.throughput-6"
4930 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.throughput-6"
4931 ixNet setMultiAttrs $sg_field \
4934 -optionalEnabled True \
4939 -fieldValue {Normal} \
4942 -trackingEnabled False \
4943 -valueType singleValue \
4944 -activeFieldChoice True \
4948 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4951 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.reliability-7"
4953 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.reliability-7"
4954 ixNet setMultiAttrs $sg_field \
4957 -optionalEnabled True \
4962 -fieldValue {Normal} \
4965 -trackingEnabled False \
4966 -valueType singleValue \
4967 -activeFieldChoice True \
4971 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4974 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.monetary-8"
4976 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.monetary-8"
4977 ixNet setMultiAttrs $sg_field \
4980 -optionalEnabled True \
4985 -fieldValue {Normal} \
4988 -trackingEnabled False \
4989 -valueType singleValue \
4990 -activeFieldChoice True \
4994 set sg_field [lindex [ixNet remapIds $sg_field] 0]
4997 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.tos.unused-9"
4999 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.tos.unused-9"
5000 ixNet setMultiAttrs $sg_field \
5003 -optionalEnabled True \
5011 -trackingEnabled False \
5012 -valueType singleValue \
5013 -activeFieldChoice True \
5017 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5020 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5022 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.defaultPHB-10"
5023 ixNet setMultiAttrs $sg_field \
5026 -optionalEnabled True \
5034 -trackingEnabled False \
5035 -valueType singleValue \
5036 -activeFieldChoice False \
5040 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5043 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5045 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.defaultPHB.unused-11"
5046 ixNet setMultiAttrs $sg_field \
5049 -optionalEnabled True \
5057 -trackingEnabled False \
5058 -valueType singleValue \
5059 -activeFieldChoice False \
5063 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5066 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5068 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.classSelectorPHB-12"
5069 ixNet setMultiAttrs $sg_field \
5072 -optionalEnabled True \
5077 -fieldValue {Precedence 1} \
5080 -trackingEnabled False \
5081 -valueType singleValue \
5082 -activeFieldChoice False \
5086 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5089 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5091 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.classSelectorPHB.unused-13"
5092 ixNet setMultiAttrs $sg_field \
5095 -optionalEnabled True \
5103 -trackingEnabled False \
5104 -valueType singleValue \
5105 -activeFieldChoice False \
5109 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5112 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5114 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.assuredForwardingPHB-14"
5115 ixNet setMultiAttrs $sg_field \
5118 -optionalEnabled True \
5123 -fieldValue {Class 1, Low drop precedence} \
5126 -trackingEnabled False \
5127 -valueType singleValue \
5128 -activeFieldChoice False \
5132 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5135 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5137 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.assuredForwardingPHB.unused-15"
5138 ixNet setMultiAttrs $sg_field \
5141 -optionalEnabled True \
5149 -trackingEnabled False \
5150 -valueType singleValue \
5151 -activeFieldChoice False \
5155 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5158 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5160 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.expeditedForwardingPHB-16"
5161 ixNet setMultiAttrs $sg_field \
5164 -optionalEnabled True \
5172 -trackingEnabled False \
5173 -valueType singleValue \
5174 -activeFieldChoice False \
5178 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5181 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5183 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.priority.ds.phb.expeditedForwardingPHB.unused-17"
5184 ixNet setMultiAttrs $sg_field \
5187 -optionalEnabled True \
5195 -trackingEnabled False \
5196 -valueType singleValue \
5197 -activeFieldChoice False \
5201 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5204 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.totalLength-18"
5206 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.totalLength-18"
5207 ixNet setMultiAttrs $sg_field \
5210 -optionalEnabled True \
5218 -trackingEnabled False \
5219 -valueType singleValue \
5220 -activeFieldChoice False \
5224 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5227 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.identification-19"
5229 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.identification-19"
5230 ixNet setMultiAttrs $sg_field \
5233 -optionalEnabled True \
5241 -trackingEnabled False \
5242 -valueType singleValue \
5243 -activeFieldChoice False \
5247 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5250 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.reserved-20"
5252 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.reserved-20"
5253 ixNet setMultiAttrs $sg_field \
5256 -optionalEnabled True \
5264 -trackingEnabled False \
5265 -valueType singleValue \
5266 -activeFieldChoice False \
5270 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5273 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.fragment-21"
5275 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.fragment-21"
5276 ixNet setMultiAttrs $sg_field \
5279 -optionalEnabled True \
5284 -fieldValue {May fragment} \
5287 -trackingEnabled False \
5288 -valueType singleValue \
5289 -activeFieldChoice False \
5293 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5296 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.flags.lastFragment-22"
5298 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.flags.lastFragment-22"
5299 ixNet setMultiAttrs $sg_field \
5302 -optionalEnabled True \
5307 -fieldValue {Last fragment} \
5310 -trackingEnabled False \
5311 -valueType singleValue \
5312 -activeFieldChoice False \
5316 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5319 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.fragmentOffset-23"
5321 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.fragmentOffset-23"
5322 ixNet setMultiAttrs $sg_field \
5325 -optionalEnabled True \
5333 -trackingEnabled False \
5334 -valueType singleValue \
5335 -activeFieldChoice False \
5339 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5342 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.ttl-24"
5344 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.ttl-24"
5345 ixNet setMultiAttrs $sg_field \
5348 -optionalEnabled True \
5356 -trackingEnabled False \
5357 -valueType singleValue \
5358 -activeFieldChoice False \
5362 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5365 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.protocol-25"
5367 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.protocol-25"
5368 ixNet setMultiAttrs $sg_field \
5371 -optionalEnabled True \
5379 -trackingEnabled False \
5380 -valueType singleValue \
5381 -activeFieldChoice False \
5385 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5388 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.checksum-26"
5390 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.checksum-26"
5391 ixNet setMultiAttrs $sg_field \
5394 -optionalEnabled True \
5402 -trackingEnabled False \
5403 -valueType singleValue \
5404 -activeFieldChoice False \
5408 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5411 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.srcIp-27"
5413 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27"
5414 ixNet setMultiAttrs $sg_field \
5415 -singleValue {0.0.0.0} \
5417 -optionalEnabled True \
5419 -valueList {{0.0.0.0}} \
5420 -stepValue {0.0.0.0} \
5421 -fixedBits {0.0.0.0} \
5422 -fieldValue {0.0.0.0} \
5424 -randomMask {0.0.0.0} \
5425 -trackingEnabled False \
5426 -valueType singleValue \
5427 -activeFieldChoice False \
5428 -startValue {0.0.0.0} \
5431 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5434 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.dstIp-28"
5436 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28"
5437 ixNet setMultiAttrs $sg_field \
5438 -singleValue {0.0.0.0} \
5440 -optionalEnabled True \
5442 -valueList {{0.0.0.0}} \
5443 -stepValue {0.0.0.0} \
5444 -fixedBits {0.0.0.0} \
5445 -fieldValue {0.0.0.0} \
5447 -randomMask {0.0.0.0} \
5448 -trackingEnabled False \
5449 -valueType singleValue \
5450 -activeFieldChoice False \
5451 -startValue {0.0.0.0} \
5454 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5457 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.nop-29"
5459 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.nop-29"
5460 ixNet setMultiAttrs $sg_field \
5463 -optionalEnabled False \
5471 -trackingEnabled False \
5472 -valueType singleValue \
5473 -activeFieldChoice True \
5477 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5480 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.type-30"
5482 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.type-30"
5483 ixNet setMultiAttrs $sg_field \
5484 -singleValue {130} \
5486 -optionalEnabled False \
5488 -valueList {{130}} \
5494 -trackingEnabled False \
5495 -valueType singleValue \
5496 -activeFieldChoice False \
5500 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5503 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.length-31"
5505 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.length-31"
5506 ixNet setMultiAttrs $sg_field \
5509 -optionalEnabled False \
5517 -trackingEnabled False \
5518 -valueType singleValue \
5519 -activeFieldChoice False \
5523 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5526 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.security-32"
5528 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.security-32"
5529 ixNet setMultiAttrs $sg_field \
5532 -optionalEnabled False \
5537 -fieldValue {Unclassified} \
5540 -trackingEnabled False \
5541 -valueType singleValue \
5542 -activeFieldChoice False \
5546 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5549 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5551 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.compartments-33"
5552 ixNet setMultiAttrs $sg_field \
5555 -optionalEnabled False \
5563 -trackingEnabled False \
5564 -valueType singleValue \
5565 -activeFieldChoice False \
5569 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5572 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.handling-34"
5574 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.handling-34"
5575 ixNet setMultiAttrs $sg_field \
5578 -optionalEnabled False \
5586 -trackingEnabled False \
5587 -valueType singleValue \
5588 -activeFieldChoice False \
5592 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5595 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5597 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.security.tcc-35"
5598 ixNet setMultiAttrs $sg_field \
5601 -optionalEnabled False \
5609 -trackingEnabled False \
5610 -valueType singleValue \
5611 -activeFieldChoice False \
5615 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5618 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5620 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.type-36"
5621 ixNet setMultiAttrs $sg_field \
5622 -singleValue {131} \
5624 -optionalEnabled False \
5626 -valueList {{131}} \
5632 -trackingEnabled False \
5633 -valueType singleValue \
5634 -activeFieldChoice False \
5638 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5641 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5643 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.lsrr.length-37"
5644 ixNet setMultiAttrs $sg_field \
5647 -optionalEnabled False \
5655 -trackingEnabled False \
5656 -valueType singleValue \
5657 -activeFieldChoice False \
5661 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5664 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.pointer-38"
5666 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.pointer-38"
5667 ixNet setMultiAttrs $sg_field \
5670 -optionalEnabled False \
5678 -trackingEnabled False \
5679 -valueType singleValue \
5680 -activeFieldChoice False \
5684 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5687 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routeData-39"
5689 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routeData-39"
5690 ixNet setMultiAttrs $sg_field \
5693 -optionalEnabled False \
5701 -trackingEnabled False \
5702 -valueType singleValue \
5703 -activeFieldChoice False \
5707 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5710 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5712 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.type-40"
5713 ixNet setMultiAttrs $sg_field \
5714 -singleValue {137} \
5716 -optionalEnabled False \
5718 -valueList {{137}} \
5724 -trackingEnabled False \
5725 -valueType singleValue \
5726 -activeFieldChoice False \
5730 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5733 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5735 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.ssrr.length-41"
5736 ixNet setMultiAttrs $sg_field \
5739 -optionalEnabled False \
5747 -trackingEnabled False \
5748 -valueType singleValue \
5749 -activeFieldChoice False \
5753 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5756 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5758 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.type-42"
5759 ixNet setMultiAttrs $sg_field \
5762 -optionalEnabled False \
5770 -trackingEnabled False \
5771 -valueType singleValue \
5772 -activeFieldChoice False \
5776 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5779 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5781 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.recordRoute.length-43"
5782 ixNet setMultiAttrs $sg_field \
5785 -optionalEnabled False \
5793 -trackingEnabled False \
5794 -valueType singleValue \
5795 -activeFieldChoice False \
5799 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5802 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5804 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.type-44"
5805 ixNet setMultiAttrs $sg_field \
5806 -singleValue {136} \
5808 -optionalEnabled False \
5810 -valueList {{136}} \
5816 -trackingEnabled False \
5817 -valueType singleValue \
5818 -activeFieldChoice False \
5822 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5825 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5827 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.length-45"
5828 ixNet setMultiAttrs $sg_field \
5831 -optionalEnabled False \
5839 -trackingEnabled False \
5840 -valueType singleValue \
5841 -activeFieldChoice False \
5845 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5848 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5850 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.streamId.id-46"
5851 ixNet setMultiAttrs $sg_field \
5854 -optionalEnabled False \
5862 -trackingEnabled False \
5863 -valueType singleValue \
5864 -activeFieldChoice False \
5868 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5871 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5873 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.type-47"
5874 ixNet setMultiAttrs $sg_field \
5877 -optionalEnabled False \
5885 -trackingEnabled False \
5886 -valueType singleValue \
5887 -activeFieldChoice False \
5891 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5894 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5896 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.length-48"
5897 ixNet setMultiAttrs $sg_field \
5900 -optionalEnabled False \
5908 -trackingEnabled False \
5909 -valueType singleValue \
5910 -activeFieldChoice False \
5914 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5917 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5919 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pointer-49"
5920 ixNet setMultiAttrs $sg_field \
5923 -optionalEnabled False \
5931 -trackingEnabled False \
5932 -valueType singleValue \
5933 -activeFieldChoice False \
5937 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5940 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5942 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.overflow-50"
5943 ixNet setMultiAttrs $sg_field \
5946 -optionalEnabled False \
5954 -trackingEnabled False \
5955 -valueType singleValue \
5956 -activeFieldChoice False \
5960 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5963 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5965 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.flags-51"
5966 ixNet setMultiAttrs $sg_field \
5969 -optionalEnabled False \
5974 -fieldValue {Timestamps only, in consecutive 32-bit words} \
5977 -trackingEnabled False \
5978 -valueType singleValue \
5979 -activeFieldChoice False \
5983 set sg_field [lindex [ixNet remapIds $sg_field] 0]
5986 # 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"
5988 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.address-52"
5989 ixNet setMultiAttrs $sg_field \
5992 -optionalEnabled False \
6000 -trackingEnabled False \
6001 -valueType singleValue \
6002 -activeFieldChoice False \
6006 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6009 # 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"
6011 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.timestamp.pair.timestamp-53"
6012 ixNet setMultiAttrs $sg_field \
6015 -optionalEnabled False \
6023 -trackingEnabled False \
6024 -valueType singleValue \
6025 -activeFieldChoice False \
6029 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6032 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.last-54"
6034 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.last-54"
6035 ixNet setMultiAttrs $sg_field \
6038 -optionalEnabled False \
6046 -trackingEnabled False \
6047 -valueType singleValue \
6048 -activeFieldChoice False \
6052 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6055 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6057 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.type-55"
6058 ixNet setMultiAttrs $sg_field \
6061 -optionalEnabled False \
6063 -valueList {{0x94}} \
6068 -randomMask {0x94} \
6069 -trackingEnabled False \
6070 -valueType singleValue \
6071 -activeFieldChoice False \
6072 -startValue {0x94} \
6075 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6078 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6080 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.length-56"
6081 ixNet setMultiAttrs $sg_field \
6084 -optionalEnabled False \
6086 -valueList {{0x04}} \
6091 -randomMask {0x04} \
6092 -trackingEnabled False \
6093 -valueType singleValue \
6094 -activeFieldChoice False \
6095 -startValue {0x04} \
6098 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6101 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6103 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.nextOption.option.routerAlert.value-57"
6104 ixNet setMultiAttrs $sg_field \
6107 -optionalEnabled False \
6112 -fieldValue {Router shall examine packet} \
6115 -trackingEnabled False \
6116 -valueType singleValue \
6117 -activeFieldChoice False \
6121 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6124 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"ipv4-2"/field:"ipv4.header.options.pad-58"
6126 set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.options.pad-58"
6127 ixNet setMultiAttrs $sg_field \
6130 -optionalEnabled False \
6138 -trackingEnabled False \
6139 -valueType singleValue \
6140 -activeFieldChoice False \
6144 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6147 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"
6149 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"udp-3"
6151 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6152 set ixNetSG_Stack(3) $sg_stack
6155 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.srcPort-1"
6157 set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
6158 ixNet setMultiAttrs $sg_field \
6161 -optionalEnabled True \
6166 -fieldValue {Default} \
6169 -trackingEnabled False \
6170 -valueType singleValue \
6171 -activeFieldChoice False \
6175 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6178 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.dstPort-2"
6180 set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
6181 ixNet setMultiAttrs $sg_field \
6184 -optionalEnabled True \
6189 -fieldValue {Default} \
6192 -trackingEnabled False \
6193 -valueType singleValue \
6194 -activeFieldChoice False \
6198 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6201 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.length-3"
6203 set sg_field $ixNetSG_Stack(3)/field:"udp.header.length-3"
6204 ixNet setMultiAttrs $sg_field \
6207 -optionalEnabled True \
6215 -trackingEnabled False \
6216 -valueType singleValue \
6217 -activeFieldChoice False \
6221 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6224 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"udp-3"/field:"udp.header.checksum-4"
6226 set sg_field $ixNetSG_Stack(3)/field:"udp.header.checksum-4"
6227 ixNet setMultiAttrs $sg_field \
6230 -optionalEnabled True \
6238 -trackingEnabled False \
6239 -valueType singleValue \
6240 -activeFieldChoice False \
6244 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6247 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"
6249 set sg_stack $ixNetSG_Stack(2)/fieldOffset/stack:"fcs-4"
6251 set sg_stack [lindex [ixNet remapIds $sg_stack] 0]
6252 set ixNetSG_Stack(3) $sg_stack
6255 # configuring the object that corresponds to /traffic/trafficItem:1/egressTracking:1/fieldOffset/stack:"fcs-4"/field:"ethernet.fcs-1"
6257 set sg_field $ixNetSG_Stack(3)/field:"ethernet.fcs-1"
6258 ixNet setMultiAttrs $sg_field \
6261 -optionalEnabled True \
6269 -trackingEnabled False \
6270 -valueType singleValue \
6271 -activeFieldChoice False \
6275 set sg_field [lindex [ixNet remapIds $sg_field] 0]
6278 # configuring the object that corresponds to /traffic/trafficItem:1/dynamicUpdate
6280 set sg_dynamicUpdate $ixNetSG_Stack(1)/dynamicUpdate
6281 ixNet setMultiAttrs $sg_dynamicUpdate \
6282 -enabledSessionAwareTrafficFields {} \
6283 -enabledDynamicUpdateFields {}
6285 set sg_dynamicUpdate [lindex [ixNet remapIds $sg_dynamicUpdate] 0]
6292 # configuring the object that corresponds to /quickTest/rfc2544throughput:1
6294 if {$rfc2544TestType == "throughput"} {
6295 set sg_rfc2544throughput [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544throughput]
6297 ixNet setMultiAttrs $sg_rfc2544throughput \
6298 -name {QuickTest1} \
6299 -mode existingMode \
6300 -inputParameters {{}}
6302 set sizes [join $frameSizeList ","]
6303 set sg_rfc2544throughput [lindex [ixNet remapIds $sg_rfc2544throughput] 0]
6304 ixNet setMultiAttrs $sg_rfc2544throughput/testConfig \
6305 -protocolItem [list ] \
6306 -enableMinFrameSize True \
6307 -framesize $frameSize \
6308 -reportTputRateUnit mbps \
6309 -duration $duration \
6310 -numtrials $numTests \
6311 -trafficType constantLoading \
6313 -framesPerBurstGap 1 \
6315 -frameLossUnit {0} \
6316 -staggeredStart False \
6317 -framesizeList $sizes \
6318 -frameSizeMode custom \
6319 -rateSelect percentMaxRate \
6320 -percentMaxRate 100 \
6322 -forceRegenerate False \
6323 -reportSequenceError False \
6326 -loadRateList $frameRate \
6327 -fixedLoadUnit percentMaxRate \
6329 -incrementLoadUnit percentMaxRate \
6330 -initialIncrementLoadRate 10 \
6331 -stepIncrementLoadRate 10 \
6332 -maxIncrementLoadRate 100 \
6333 -randomLoadUnit percentMaxRate \
6334 -minRandomLoadRate 10 \
6335 -maxRandomLoadRate 80 \
6336 -countRandomLoadRate 1 \
6340 -delayAfterTransmit 2 \
6341 -minRandomFrameSize 64 \
6342 -maxRandomFrameSize 128 \
6343 -countRandomFrameSize 1 \
6344 -minIncrementFrameSize 64 \
6345 -stepIncrementFrameSize 64 \
6346 -maxIncrementFrameSize 1518 \
6347 -calculateLatency True \
6348 -latencyType storeForward \
6349 -calculateJitter False \
6350 -enableDataIntegrity False \
6351 -enableBackoffIteration False \
6352 -enableSaturationIteration False \
6353 -enableStopTestOnHighLoss False \
6354 -enableBackoffUseAs% False \
6355 -backoffIteration 1 \
6356 -saturationIteration 1 \
6357 -stopTestOnHighLoss 0 \
6358 -loadType $loadType \
6359 -stepLoadUnit percentMaxRate \
6360 -customLoadUnit percentMaxRate \
6361 -comboLoadUnit percentMaxRate \
6362 -binaryLoadUnit percentMaxRate \
6363 -initialBinaryLoadRate 100 \
6364 -minBinaryLoadRate 1 \
6365 -maxBinaryLoadRate 100 \
6366 -binaryResolution 1 \
6368 -binaryTolerance $tolerance \
6369 -binaryFrameLossUnit % \
6370 -comboFrameLossUnit % \
6371 -stepFrameLossUnit % \
6372 -initialStepLoadRate 10 \
6373 -maxStepLoadRate 100 \
6374 -stepStepLoadRate 10 \
6376 -initialComboLoadRate 10 \
6377 -maxComboLoadRate 100 \
6378 -minComboLoadRate 10 \
6379 -stepComboLoadRate 10 \
6380 -comboResolution 1 \
6383 -binarySearchType linear \
6384 -unchangedValueList {0} \
6385 -enableFastConvergence $fastConvergence \
6386 -fastConvergenceDuration $convergenceDuration \
6387 -fastConvergenceThreshold 10 \
6388 -framesizeFixedValue $frameSize \
6390 -unchangedInitial False \
6391 -generateTrackingOptionAggregationFiles False \
6392 -enableExtraIterations False \
6393 -extraIterationOffsets {10, -10} \
6394 -usePercentOffsets False \
6395 -imixDistribution weight \
6398 -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}}}} \
6399 -imixEnabled False \
6400 -imixTemplates none \
6401 -framesizeImixList $frameSize \
6402 -imixTrafficType {UNCHNAGED} \
6403 -mapType {oneToOne} \
6404 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6405 ixNet setMultiAttrs $sg_rfc2544throughput/learnFrames \
6406 -learnFrequency $learningFrequency \
6407 -learnNumFrames 10 \
6409 -learnWaitTime 1000 \
6410 -learnFrameSize $frameSize \
6411 -fastPathLearnFrameSize $frameSize \
6412 -learnWaitTimeBeforeTransmit 0 \
6413 -learnSendMacOnly False \
6414 -learnSendRouterSolicitation False \
6415 -fastPathEnable $fastPathEnable \
6417 -fastPathNumFrames 10
6418 ixNet setMultiAttrs $sg_rfc2544throughput/passCriteria \
6419 -passCriteriaLoadRateMode average \
6420 -passCriteriaLoadRateValue 100 \
6421 -passCriteriaLoadRateScale mbps \
6422 -enablePassFail False \
6423 -enableRatePassFail False \
6424 -enableLatencyPassFail False \
6425 -enableStandardDeviationPassFail False \
6426 -latencyThresholdValue 10 \
6427 -latencyThresholdScale us \
6428 -latencyThresholdMode average \
6429 -latencyVariationThresholdValue 0 \
6430 -latencyVariationThresholdScale us \
6431 -latencyVarThresholdMode average \
6432 -enableSequenceErrorsPassFail False \
6433 -seqErrorsThresholdValue 0 \
6434 -seqErrorsThresholdMode average \
6435 -enableDataIntegrityPassFail False \
6436 -dataErrorThresholdValue 0 \
6437 -dataErrorThresholdMode average
6440 set sg_rfc2544throughput [lindex [ixNet remapIds $sg_rfc2544throughput] 0]
6441 set ixNetSG_Stack(1) $sg_rfc2544throughput
6443 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/protocols
6445 set sg_protocols $ixNetSG_Stack(1)/protocols
6446 ixNet setMultiAttrs $sg_protocols \
6447 -protocolState default \
6448 -waitAfterStart 120 \
6451 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6454 # configuring the object that corresponds to /quickTest/rfc2544throughput:1/trafficSelection:1
6456 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6457 ixNet setMultiAttrs $sg_trafficSelection \
6458 -id $ixNetSG_ref(26) \
6459 -includeMode inTest \
6460 -itemType trafficItem
6464 # configuring the results folder that corresponds to /quickTest/rfc2544throughput:1
6466 ixNet setAttr $sg_rfc2544throughput -resultPath $output_dir
6468 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6471 } elseif {$rfc2544TestType == "back2back"} {
6473 # configuring the object that corresponds to /quickTest/rfc2544back2back:2
6475 set sg_rfc2544back2back [ixNet add $ixNetSG_Stack(0)/quickTest rfc2544back2back]
6476 ixNet setMultiAttrs $sg_rfc2544back2back \
6478 -mode existingMode \
6479 -inputParameters {{}}
6480 ixNet setMultiAttrs $sg_rfc2544back2back/testConfig \
6482 -framesize $frameSize \
6483 -reportTputRateUnit mbps \
6484 -rfc2544ImixDataQoS False \
6485 -detailedResultsEnabled True \
6486 -rfc2889ordering noOrdering \
6487 -floodedFramesEnabled False \
6488 -duration $duration \
6489 -numtrials $numTests \
6490 -trafficType constantLoading \
6492 -framesPerBurstGap 1 \
6494 -frameLossUnit {0} \
6495 -staggeredStart False \
6496 -framesizeList [list $frameSize] \
6497 -frameSizeMode custom \
6498 -rateSelect percentMaxRate \
6499 -percentMaxRate 100 \
6501 -forceRegenerate False \
6502 -reportSequenceError False \
6505 -loadRateList $frameRate \
6509 -delayAfterTransmit 2 \
6510 -minRandomFrameSize 64 \
6511 -maxRandomFrameSize 1518 \
6512 -countRandomFrameSize 1 \
6513 -minIncrementFrameSize 64 \
6514 -stepIncrementFrameSize 64 \
6515 -maxIncrementFrameSize 1518 \
6516 -calculateLatency False \
6517 -calibrateLatency False \
6518 -latencyType cutThrough \
6519 -calculateJitter False \
6520 -enableDataIntegrity False \
6521 -loadType $loadType \
6522 -binaryFrameLossUnit % \
6523 -loadUnit percentMaxRate \
6524 -customLoadUnit percentMaxRate \
6525 -randomLoadUnit percentMaxRate \
6526 -incrementLoadUnit percentMaxRate \
6527 -binaryResolution 1000 \
6529 -binaryTolerance $tolerance \
6530 -initialIncrementLoadRate 100 \
6531 -stepIncrementLoadRate 10 \
6532 -maxIncrementLoadRate 100 \
6533 -minRandomLoadRate 10 \
6534 -maxRandomLoadRate 80 \
6535 -countRandomLoadRate 1 \
6536 -numFrames {100000} \
6538 -enableMinFrameSize True \
6540 -generateTrackingOptionAggregationFiles False \
6541 -sendFullyMeshed False \
6542 -imixDistribution weight \
6545 -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}}}} \
6546 -imixEnabled False \
6547 -imixTemplates none \
6548 -framesizeImixList $frameSize \
6549 -imixTrafficType {UNCHNAGED} \
6550 -ipRatioMode fixed \
6551 -ipv4RatioList {10,25,50,75,90} \
6552 -ipv6RatioList {90,75,50,25,10} \
6553 -minIncrementIpv4Ratio {10} \
6554 -stepIncrementIpv4Ratio {10} \
6555 -maxIncrementIpv4Ratio {90} \
6556 -minIncrementIpv6Ratio {90} \
6557 -stepIncrementIpv6Ratio {-10} \
6558 -maxIncrementIpv6Ratio {10} \
6559 -minRandomIpv4Ratio {10} \
6560 -maxRandomIpv4Ratio {90} \
6561 -minRandomIpv6Ratio {90} \
6562 -maxRandomIpv6Ratio {10} \
6563 -countRandomIpRatio 1 \
6564 -mapType {oneToOne|manyToMany|fullMesh} \
6565 -supportedTrafficTypes {mac,ipv4,ipv6,ipmix}
6566 ixNet setMultiAttrs $sg_rfc2544back2back/learnFrames \
6567 -learnFrequency $learningFrequency \
6568 -learnNumFrames 10 \
6570 -learnWaitTime 1000 \
6571 -learnFrameSize 64 \
6572 -fastPathLearnFrameSize 64 \
6573 -learnWaitTimeBeforeTransmit 0 \
6574 -learnSendMacOnly False \
6575 -learnSendRouterSolicitation False \
6576 -fastPathEnable $fastPathEnable \
6578 -fastPathNumFrames 10
6579 ixNet setMultiAttrs $sg_rfc2544back2back/passCriteria \
6580 -passCriteriaLoadRateMode average \
6581 -passCriteriaLoadRateValue 100 \
6582 -passCriteriaLoadRateScale mbps \
6583 -enablePassFail False \
6584 -enableRatePassFail False \
6585 -enableLatencyPassFail False \
6586 -enableStandardDeviationPassFail False \
6587 -latencyThresholdValue 10 \
6588 -latencyThresholdScale us \
6589 -latencyThresholdMode average \
6590 -latencyVariationThresholdValue 0 \
6591 -latencyVariationThresholdScale us \
6592 -latencyVarThresholdMode average \
6593 -enableSequenceErrorsPassFail False \
6594 -seqErrorsThresholdValue 0 \
6595 -seqErrorsThresholdMode average \
6596 -enableDataIntegrityPassFail False \
6597 -dataErrorThresholdValue 0 \
6598 -dataErrorThresholdMode average \
6599 -enableFrameCountPassFail False \
6600 -passCriteriaFrameCountValue 100 \
6601 -passCriteriaFrameCountMode average
6603 set sg_rfc2544back2back [lindex [ixNet remapIds $sg_rfc2544back2back] 0]
6604 set ixNetSG_Stack(1) $sg_rfc2544back2back
6607 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/protocols
6609 set sg_protocols $ixNetSG_Stack(1)/protocols
6610 ixNet setMultiAttrs $sg_protocols \
6611 -protocolState default \
6612 -waitAfterStart 120 \
6615 set sg_protocols [lindex [ixNet remapIds $sg_protocols] 0]
6618 # configuring the object that corresponds to /quickTest/rfc2544back2back:2/trafficSelection:1
6620 set sg_trafficSelection [ixNet add $ixNetSG_Stack(1) trafficSelection]
6621 ixNet setMultiAttrs $sg_trafficSelection \
6622 -id $ixNetSG_ref(26) \
6623 -includeMode inTest \
6624 -itemType trafficItem
6626 set sg_trafficSelection [lindex [ixNet remapIds $sg_trafficSelection] 0]
6630 # getting and applying the RFC2544 test
6632 set root [ixNet getRoot]
6633 set qt [ixNet getList $root quickTest]
6634 if {$rfc2544TestType == "throughput"} {
6635 set rfc2544test [ixNet getList $qt rfc2544throughput]
6636 } elseif {$rfc2544TestType == "back2back"} {
6637 set rfc2544test [ixNet getList $qt rfc2544back2back]
6639 ixNet exec apply $rfc2544test
6642 # starting the RFC2544 Throughput test
6644 puts "Starting test..."
6645 ixNet exec start $rfc2544test
6646 puts "Checking if [ixNet getA $rfc2544test -name] started...."
6648 while { [ixNet getA $rfc2544test/results -isRunning] eq false } {
6650 if { $count > 60 } { error "QT failed to start after 1 minute" }
6653 puts "Looking for statistics"
6654 set results_file_name "Traffic Item Statistics"
6655 set results_file_path [getResultFile $results_file_name]
6656 return $results_file_path
6659 proc getResultFile { viewName } {
6661 puts "Sleeping 20 seconds to have $viewName view"
6663 set root [ixNet getRoot]
6664 set views [ixNet getList $root/statistics view]
6665 foreach view $views {
6666 if { [ixNet getA $view -caption] eq $viewName } {
6667 set trafficView $view
6671 puts "Checking that the $viewName view is ready"
6673 while { [ixNet getA $trafficView/data -isReady] eq false } {
6675 if { $count > 2 } { break }
6678 puts "Success! $viewName view is ready! "
6679 puts "Changing the CSV path"
6680 set setAttr [ixNet setA $root/statistics -csvFilePath $output_dir]
6681 if { $setAttr != "::ixNet::OK"} {
6685 puts "Enabling CSV logging"
6686 set setAttr [ixNet setA $trafficView -enableCsvLogging True]
6687 if { $setAttr != "::ixNet::OK"} {
6691 puts "Enabled CSV logging"
6692 puts "Getting CSV file name for $trafficView view"
6693 set csv_path [ixNet getA $root/statistics -csvFilePath]
6694 set csv_name [ixNet getA $trafficView -csvFileName]
6696 return [file join $csv_path $csv_name]
6699 proc copyFileResults { sourceFile destFile } {
6700 puts "Coping the file $sourceFile to $destFile..."
6701 set source [dict get $sourceFile source_file]
6702 set dest [dict get $destFile dest_file]
6703 if {[catch {ixNet exec copyFile [ixNet readFrom "$source" -ixNetRelative] [ixNet writeTo "$dest" -overwrite]} errMsg]} {
6704 error "Error while copying results : '$errMsg'"
6709 proc waitForRfc2544Test { } {
6710 # Wait for- and return results of- RFC2544 quicktest.
6714 puts "Waiting for test to complete..."
6715 set result [ixNet exec waitForTest $rfc2544test]
6716 puts "Checking if [ixNet getA $rfc2544test -name] stopped"
6718 while { [ixNet getA $rfc2544test/results -isRunning] eq true } {
6720 if { $count > 60 } { error "QT failed to stop after 1 minute it finished" }
6723 puts "Finished Test"