Toggle navigation
Sample Scripts
APIs
User Guides
Tutorials
About
ixNetwork
concurrentSessions
connectionMgr
ixNetworkApiServerBringup
ixosTclServerBringUp
referenceGuides
RestPy.pdf
webEdition_tutorialVideo
webEditon_newFeatures.pdf
restApi
overview
postman
linuxApiServer
chassisInstallation
overview
version8.40
beyond8.40
usingLegacyApi
apiKey
postmanSample
apiBrowser
configureNgpfMultivalue
overview
tutorialVideo
addTrafficItemPacketHeader
assignPorts
loadConfig
dockers
IxNetwork_docker_installation.pdf
jsonConfigFile
overview
sampleL2L3JsonConfig
pythonRobotFramework
gettingStarted
sample
lowLevelApi
gettingStarted
sampleScripts
highLevelApi
gettingStarted
sampleScripts
ixLoad
IxLoad_Automation.pdf
userMgmtForApiKey
5G
5G_Setup
webUI
webUI
apiBrowser
overview
restApi
loadConfigFile
automatingIxLoad.pdf
getStatNames
fromScriptgenForLegacyApi
fromApiBrowserForRestApi
Python
windowsSetup
VSCode
vsCodeSetup
restClient_IxLoad
restClient_IxNetwork
keystrokes
Windows
sshOnWindows
usingLegacyApi
Using legacy API with a Linux API server
Table Of Contents
Low Level API: TCL
Low Level API: Python
High Level API: TCL
High Level API: Python
Low Level API: TCL
Reference: See proc Connect()
Reference: See sample script
set apiKey [ixNet getApiKey $apiServerIp -username admin -password admin] ixNet connect $apiServerIp \ -port 443 \ -version $ixNetworkVersion \ -apiKey $apiKey \ -closeServerOnDisconnect 1 \ -setAttribute strict
Low Level API: Python
apiKey = ixNet.getApiKey(apiServerIp, '-username', 'admin', '-password', 'admin') ixNet.connect(apiServerIp, 'port', 443, '-version', ixNetVersion, '-apiKey', apiKey, '-closeServerOnDisconnect', 1, '-setAttribute', 'strict')
High Level API: TCL
Reference: See sample script
::ixiangpf::connect -reset \ -ixnetwork_tcl_server $ixNetworkTclServerIp \ -device $ixiaChassisIp \ -port_list $portList \ -ixnetwork_license_servers $licenseServerIp \ -ixnetwork_license_type $licenseMode \ -user_name admin \ -user_password admin \ -close_server_on_disconnect 1 \ -break_locks 1
High Level API: Python
Reference: See sample script
connect_status = ixia_ngpf.connect( reset = 1, ixnetwork_tcl_server = ixNetworkTclServer, device = ixChassisIp, port_list = portList, return_detailed_handles = 0, user_name = 'admin', user_password = 'admin', ixnetwork_license_servers = [licenseServerIp], ixnetwork_license_type = licenseMode, close_server_on_disconnect = 1, break_locks = 1)