IxLoad icConfigError:不能在一个脚本中混合传统和新风格的网络对象



我使用的是Ixload 5.10版本和TCL 8.4.14。

我没有帮助支持,所以希望有人能帮助我这个。提前谢谢你。

这是我的代码。一旦我添加ixNet....插件,TCL日志文件将显示错误"lib . common . ixconfig . exe"。ixConfigError:不能在一个脚本中混合传统和新型网络对象…"

我不知道是否有其他的包我需要加载或不?在我的代码中,我已经初始化了这些

package require statCollectorUtils
global ixAppPluginManager
$ixAppPluginManager load "HTTP"

set clnt_network [::IxLoad new ixNetworkGroup $chassisChain]
    $clnt_network config 
    -name "clnt_network"
$clnt_network globalPlugins.clear
set Filter [::IxLoad new ixNetFilterPlugin]
# ixNet objects needs to be added in the list before they are configured!
$clnt_network globalPlugins.appendItem -object $Filter
$Filter config 
    -name "Filter"
set GratArp [::IxLoad new ixNetGratArpPlugin]
# ixNet objects needs to be added in the list before they are configured!
$clnt_network globalPlugins.appendItem -object $GratArp
$GratArp config 
    -enabled true 
    -name "GratArp"
set TCP [::IxLoad new ixNetTCPPlugin]
# ixNet objects needs to be added in the list before they are configured!
$clnt_network globalPlugins.appendItem -object $TCP
$TCP config 
    -tcp_tw_recycle true 
    -tcp_keepalive_time 75 
    -tcp_keepalive_intvl 7200 
    -tcp_wmem_default 4096 
    -tcp_port_min 1024 
    -tcp_port_max 65535 
    -tcp_window_scaling false 
    -name "TCP" 
    -tcp_rmem_default 4096

修复。

我今天查看了IxLoad,发现IxLoad上有一个名为ScriptGen的工具,它可以为TCL脚本文件生成配置。它使我的生活如此轻松。

最新更新