proc PortConfigStaticIpHlt { port portConfigParams } { # This API is for scaling L3 without Protocol Interface config. # No protocol configurations on the host. # Calling this API requires you to also call StartAllProtocols # to start StaticIpAuth for ARPing. upvar $portConfigParams params foreach {properties values} [array get params $port,*] { set property [lindex [split $properties ,] end] append paramList "$property $values " } puts "\nPortConfigStaticIpHlt: $port" set interfaceConfigStatus [eval ::ixia::interface_config $paramList] if {[keylget interfaceConfigStatus status] != $::SUCCESS} { puts "\nError PortConfigStaticIp:\n$interfaceConfigStatus\n" return 1 } # Need to enable global ARP for each IP address EnableGlobalArpForEachIp # We want to parse out and return ::ixNet::OBJ-/vport:1/protocolStack. # For Traffic Item endpoint usage. set interfaceHandle [keylget interfaceConfigStatus interface_handle] return $interfaceHandle }