###################################################
# Begin Config Header 
###################################################
#
# <CONFIG_HEADER>
#   <CONFIG_VERSION>1.00</CONFIG_VERSION>
#   <APPLICATION_VERSION>IxAutomate 7.40.121.5</APPLICATION_VERSION>
#   <COPYRIGHT>Copyright 2015 by IXIA All Rights Reserved.</COPYRIGHT>
#   <TEST_CAT>rfc2544</TEST_CAT>
#   <TEST_CAT_STR>RFC 2544 - IPv6 Benchmark</TEST_CAT_STR>
#   <TEST_NAME>back2back</TEST_NAME>
#   <TEST_NAME_STR>Back to Back</TEST_NAME_STR>
# </CONFIG_HEADER>

###################################################
# End Config Header 
###################################################

###################################################
# Begin Test Registration 
###################################################

catch {wm withdraw .}
catch {tk appname IxScriptMate}
set ixA on
package require IxTclHal
package require Scriptmate
global testConf
configHeader::TestRegister;


###################################################
# End Test Registration
# Above MUST remain unmodified
###################################################

logOn "back2back.log.635615249114278750"
logMsg \n
logMsg -priority "  RFC 2544 - IPv6 Benchmark Back to Back test"
logMsg -priority "  Copyright 2015 by IXIA"
logMsg -priority "  All Rights Reserved."
logMsg -priority "  ............................................\n"

set testConf(hostname) {192.168.200.30}
set testConf(chassisID) {1}
set testConf(chassisSequence) {1}
set testConf(cableLength) {cable3feet}
set testConf(timeSource) {Internal}
set testConf(reconnect) {True}



#
# This part contains the configuration of card and port levels.
#

set testConf(enableAccmNegotiation)    { {false Oc48} {false 10GigE}}
set testConf(atmFillerCell)    { {atmIdleCell Oc48} {atmIdleCell 10GigE}}
set testConf(atmInterfaceType)    { {atmInterfaceUni Oc48} {atmInterfaceUni 10GigE}}
set testConf(autonegotiate)    { {true 10100Gigabit}}
set testConf(C2byteExpected)    { {22 Oc48} {22 10GigE}}
set testConf(C2byteTransmit)    { {22 Oc48} {22 10GigE}}
set testConf(atmEnableCoset)    { {true Oc48} {true 10GigE}}
set testConf(dataScrambling)    { {true Oc48} {true 10GigE}}
set testConf(duplex)    { {full 10100Gigabit}}
set testConf(hdlcHeader)    { {ppp Oc48} {ppp 10GigE}}
set testConf(useMagicNumber)    { {true Oc48} {true 10GigE}}
set testConf(enableIp)    { {true Oc48} {true 10GigE}}
set testConf(enableIpv6)    { {true Oc48} {true 10GigE}}
set testConf(enableOsi)    { {true Oc48} {true 10GigE}}
set testConf(PPPnegotiation)    { {true Oc48} {true 10GigE}}
set testConf(atmReassemblyTimeout)    { {10 Oc48} {10 10GigE}}
set testConf(useRecoveredClock)    { {true Oc48} {true 10GigE}}
set testConf(sonetRxCRC)    { {sonetCrc32 Oc48} {sonetCrc32 10GigE}}
set testConf(speed)    { {Copper1000 10100Gigabit} {oc48 Oc48} {10000 10GigE}}
set testConf(sonetTxCRC)    { {sonetCrc32 Oc48} {sonetCrc32 10GigE}}


map new -type one2one
map config -type one2one



#FCoE Multicast Map(one2many) Elements
set testConf(enableMpls)    { {true Oc48} {true 10GigE}}



# 
# Select the protocol to be used to run this test.
# Supported protocols are MAC, IP , IPV6 and IPX.
# NOTE: MAC layer not valid for OC-n interfaces
# mac  = layer 2 MAC
# ip   = layer 3 IP
# ipV6 = layer 3 IPv6
# ipx  = layer 3 IPX
# 
set testConf(protocolName) "ip"


set testConf(enableUdp) true

# 
# Enables assigning addresses for excluded ports in Automatic Map.
# 
set testConf(useExcludedPortsAddressing) false




# 
# The approximate length of time frames are transmitted for each trial is
# set as a 'duration.
# The duration is in seconds; for example, if the duration is set to one
# second on a 100mbs switch, ~148810 frames will be transmitted.  This
# number must be an integer; minimum value is 1 second.
# duration of transmit during test, in seconds
# 
back2back config -duration 60


# 
# One frame size/frame rate test is called a trial. The user may choose
# to run one or more trials; the average result of each trial will be
# presented in the result file. total number of trials per frame size/frame
# rate
# 
back2back config -numtrials 15


# 
# Staggered start; if set to true, transmit start will be staggered; if
# set to false, transmit will start on all ports at the same time.
# 
back2back config -staggeredStart notStaggeredStart

back2back config -reportSequenceError no

back2back config -tolerance 0


back2back config -resolution 100



back2back config -reportrateSelect "kbpsRate"



advancedTestParameter config -maxConnectRetries 3


advancedTestParameter config -linkStateTimeout 25


advancedTestParameter config -dutDelay 100


advancedTestParameter config -gpsLockTimeout 60


advancedTestParameter config -useServerConfig no

advancedTestParameter config -removeStreamsAtCompletion false

advancedTestParameter config -ipTTL 10


advancedTestParameter config -udpSourcePort 7


advancedTestParameter config -udpDestPort 7


advancedTestParameter config -verifyAllArpReply false

advancedTestParameter config -percentLossFormat 7.3


advancedTestParameter config -streamFrameType "08 00"


advancedTestParameter config -streamPatternType "repeat"


advancedTestParameter config -streamDataPattern "x00010203"


advancedTestParameter config -streamPattern ""


advancedTestParameter config -throughputOffsetCalculation "automatic"


advancedTestParameter config -throughputTagOffset 46


advancedTestParameter config -primeDut 0

advancedTestParameter config -primeDutTime 2








back2back config -framesizeList { 64 128 256 512 1024 1280 1518 }


learn config -when "oncePerTest"


learn config -type mac

learn config -sendRouterSolicitation true

learn config -waitTimeBeforeTransmit 0


learn config -numframes 10


learn config -retries 10


learn config -rate 100


learn config -waitTime 1000


learn config -framesize 64


fastpath config -enable false

fastpath config -numframes 10


fastpath config -rate 100


set testConf(enableInnerVLANTag) false

set testConf(firstInnerVlanID) 222


set testConf(incrInnerVlanIdInterPort) no

# 
# NOTE: If the DUT strips VLAN tags, the minimum
# frame size on Ethernet should be set to 68.
# 
set testConf(enable802dot1qTag) false

learn config -snoopConfig false

set testConf(firstVlanID) 10


set testConf(incrementVlanID) yes

set testConf(vlansPerPort) 1


set testConf(enableISLtag) false

set tputMultipleVlans 1

set testConf(ethernetType) "ethernetII"

advancedTestParameter config -l2DataProtocol native

advancedTestParameter config -l2DAIpAddress "127.0.0.1"


# 
# Enable Random MAC addresses asignment.
# 
set testConf(enableRandomMAC) false

# 
# Enable using same random MAC address between runs.
# 
set testConf(enableKeepRandomMACAddress) false

set testConf(randomMACSeedValue) 12345


set testConf(firstSrcIpAddress) 198.18.1.100


set testConf(firstDestDUTIpAddress) 198.18.1.1


set testConf(firstMaskWidth) 29



set testConf(firstSrcIpV6Address) 2000:0:0:1::1:100


set testConf(firstDestDUTIpV6Address) 2000:0:0:1::1:1


set testConf(incrIpV6AddressField) "siteLevelAggregationId"



set testConf(firstSrcIpxSocket) "0x4011"


set testConf(incrDUTaddress) yes

# 
set testConf(protocolOverIp) "udp"


set testConf(protocolSourcePort) 7


set testConf(protocolDestinationPort) 7


# 
set testConf(incrementSourcePort) false

# 
set testConf(incrementDestinationPort) false

set testConf(autoMapGeneration) "yes"


set testConf(mapDirection) "bidirectional"


set testConf(mapFromPort) {1 2 1}


set testConf(mapToPort) {1 2 2}


set testConf(mapTransmitPort) {1 1 1}


set testConf(mapReceivePort) {1 1 1}


map config -echo false

back2back config -rateSelect "percentMaxRate"


# 
# Enter the percentage of Maximum Frame rate to use for running the test.
# 
back2back config -percentMaxRate 100









user config -productname ""


user config -version ""


user config -serial# ""


# 
# Indicates the username to show in reports
# 
user config -username ""


user config -comments "Test pro laboratorní úlohu 1 – Seznámení se s analyzátorem EndaceProbe 7000 a analýza síťového provozu z generátoru IXIA"


results config -fileBackup false

results config -flatDir false

set testConf(uniqueResultsName) false

set testConf(userResultDir) false
# 
# The results will be printed in test suite and test sub-directories
# under this parent results directory.
# 
results config -directory "C:/ProgramData/Ixia/IxAutomate/7.40GA/Results"


# 
# Indicates the username for use in port ownership
# 
set testConf(loginId) ""


# 
# Real time graphs configuration
# 
set statViewer(config) "<?xml version=\"1.0\"?><StatViewer version=\"3.15.11.25\"><SessionList Key=\"aptixia.sv.persistence.SessionListWrapper\"><CONTENT /><PRESENTATION /><COMBINED><Sessions><Session Key=\"aptixia.sv.persistence.SessionWrapper\"><CONTENT><Frequency value=\"1\" /><CsvLogging value=\"True\" /><CsvLoggingHiddenViews value=\"False\" /><EnableDataStore value=\"True\" /><PersistenceType value=\"4\" /><EnableDataStoreHiddenViews value=\"False\" /><CsvOutputFrequencyMultiple value=\"1\" /><OutputDSFrequencyMultiple value=\"1\" /><MaxStatsPerCustomGraph value=\"16\" /><CsvFilePath /><Alerts><Alerts xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" /></Alerts><DefaultViews><DefaultViews><DefaultView>Port CPU Statistics</DefaultView></DefaultViews></DefaultViews></CONTENT><PRESENTATION /><COMBINED><Views><View Key=\"RealTime-AggregatedStatsCount\"><CONTENT><ViewXml></ViewXml><CsvLogging value=\"False\" /><DatastoreEnabled value=\"False\" /><Enabled value=\"True\" /><ContentPersistanceType value=\"kPersistInUserSettings\" /><DatastorePollingMultiplier value=\"1\" /><CsvPollingMultiplier value=\"1\" /></CONTENT><PRESENTATION /><COMBINED /></View><View Key=\"RealTime-Per-PortStatsCount\"><CONTENT><ViewXml></ViewXml><CsvLogging value=\"False\" /><DatastoreEnabled value=\"False\" /><Enabled value=\"True\" /><ContentPersistanceType value=\"kPersistInUserSettings\" /><DatastorePollingMultiplier value=\"1\" /><CsvPollingMultiplier value=\"1\" /></CONTENT><PRESENTATION /><COMBINED /></View><View Key=\"Port CPU Statistics\"><CONTENT><ViewXml></ViewXml><CsvLogging value=\"False\" /><DatastoreEnabled value=\"False\" /><Enabled value=\"True\" /><ContentPersistanceType value=\"kPersistInUserSettings\" /><DatastorePollingMultiplier value=\"1\" /><CsvPollingMultiplier value=\"1\" /></CONTENT><PRESENTATION /><COMBINED /></View></Views><LinkedViews /></COMBINED></Session></Sessions></COMBINED></SessionList><Group name=\"Views\" version=\"1\"><Group name=\"Defaults\" order=\"0\" accessLevel=\"1\"><Group name=\"Ports\" order=\"0\" accessLevel=\"1\" /></Group></Group><Snmp Key=\"aptixia.sv.persistence.SnmpPersistance\"><CONTENT><SnmpConfiguration value=\"&lt;snmpconf&gt;&lt;snmpvar name=&quot;Snmp&quot; active=&quot;true&quot; description=&quot;&quot;&gt;&lt;children /&gt;&lt;/snmpvar&gt;&lt;snmpdev&gt;&lt;children /&gt;&lt;/snmpdev&gt;&lt;/snmpconf&gt;\" /></CONTENT><PRESENTATION /><COMBINED /></Snmp></StatViewer>"


# 
# Enable/Disable DUT Configuration
# 
set testConf(dutConfEnabled) 0

# 
# Enable/Disable DUT Configuration in Reports
# 
set testConf(dutConfReportEnabled) 0

# 
# The command executed at the beginning of the test
# 
set testConf(dutConfTestSetupCmd) ""


# 
# The command executed in background.
# 
set testConf(dutConfTestSetupBackgroundMode) 0

# 
# The arguments passed to the command
# 
set testConf(dutConfTestSetupArgs) ""


# 
# If value is 1, the background command is stopped at cleanup.
# 
set testConf(dutConfTestSetupStopAtCleanup) 0

# 
# The command executed at the end of the test
# 
set testConf(dutConfTestCleanupCmd) ""


# 
# The arguments passed to the command
# 
set testConf(dutConfTestCleanupArgs) ""


# 
# The command executed at the beginning of the trial
# 
set testConf(dutConfTrialSetupCmd) ""


# 
# The command executed in background.
# 
set testConf(dutConfTrialSetupBackgroundMode) 0

# 
# The arguments passed to the command
# 
set testConf(dutConfTrialSetupArgs) ""


# 
# If value is 1, the background command is stopped at cleanup.
# 
set testConf(dutConfTrialSetupStopAtCleanup) 0

# 
# The command executed at the end of the trial
# 
set testConf(dutConfTrialCleanupCmd) ""


# 
# The arguments passed to the command
# 
set testConf(dutConfTrialCleanupArgs) ""


# 
# The command executed at the beginning of the trial
# 
set testConf(dutConfFramesizeSetupCmd) ""


# 
# The command executed in background.
# 
set testConf(dutConfFramesizeSetupBackgroundMode) 0

# 
# The arguments passed to the command
# 
set testConf(dutConfFramesizeSetupArgs) ""


# 
# If value is 1, the background command is stopped at cleanup.
# 
set testConf(dutConfFramesizeSetupStopAtCleanup) 0

# 
# The command executed at the end of the trial
# 
set testConf(dutConfFramesizeCleanupCmd) ""


# 
# The arguments passed to the command
# 
set testConf(dutConfFramesizeCleanupArgs) ""


# 
# The command executed at the beginning of the trial
# 
set testConf(dutConfIterationSetupCmd) ""


# 
# The command executed in background.
# 
set testConf(dutConfIterationSetupBackgroundMode) 0

# 
# The arguments passed to the command
# 
set testConf(dutConfIterationSetupArgs) ""


# 
# If value is 1, the background command is stopped at cleanup.
# 
set testConf(dutConfIterationSetupStopAtCleanup) 0

# 
# The command executed at the end of the trial
# 
set testConf(dutConfIterationCleanupCmd) ""


# 
# The arguments passed to the command
# 
set testConf(dutConfIterationCleanupArgs) ""


# 
# The first arguments passed to each command
# 
set testConf(dutConfGlobalArgs) ""


# Enable/Disable DUT Polling
set testConf(dutConfPollingEnabled) 0

# Enable/Disable DUT Polling Reporting
set testConf(dutConfReportPollingEnabled) 0

# User authentification script
set testConf(authenticationEnableScript) ""


# User polling script
set testConf(pollingScript) ""


# DUT polling interval in seconds
set testConf(dutPollingInterval) 10



###################################################
# Begin Config Trailer 
###################################################
configTrailer::TestStart

###################################################
# End Config Trailer 
###################################################
