Toggle navigation
Sample Scripts
APIs
User Guides
Tutorials
About
ixNetwork
RestPy.pdf
webEditon_newFeatures.pdf
referenceGuides
ixNetworkApiServerBringup
webEdition_tutorialVideo
concurrentSessions
ixosTclServerBringUp
connectionMgr
restApi
postman
overview
linuxApiServer
chassisInstallation
postmanSample
overview
apiKey
usingLegacyApi
version8.40
beyond8.40
apiBrowser
tutorialVideo
loadConfig
assignPorts
configureNgpfMultivalue
addTrafficItemPacketHeader
overview
dockers
IxNetwork_docker_installation.pdf
apiServer
jsonConfigFile
overview
sampleL2L3JsonConfig
pythonRobotFramework
gettingStarted
sample
lowLevelApi
gettingStarted
sampleScripts
3InitialStepsToGetStarted
highLevelApi
gettingStarted
sampleScripts
ixLoad
IxLoad_Automation.pdf
userMgmtForApiKey
5G
5G_Setup
webUI
webUI
apiBrowser
overview
restApi
automatingIxLoad.pdf
loadConfigFile
getStatNames
fromScriptgenForLegacyApi
fromApiBrowserForRestApi
Python
windowsSetup
VSCode
keystrokes
restClient_IxLoad
restClient_IxNetwork
vsCodeSetup
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)