Hello...
**
I am trying to patch a WFQ Scheduler module developed by Paolo Losi into ns2
now.  But when I try to run a sample OTcl code, I get following error.  I
set up the ns2 under Window XP professional environment.
**
**
invalid command name "Queue/WFQ"
    while executing
"Queue/WFQ create _o16 "
    invoked from within
"catch "$className create $o $args" msg"
    invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
    (procedure "new" line 3)
    invoked from within
"new Queue/$qtype"
    ("default" arm line 3)
    invoked from within
"switch -exact $qtype {
ErrorModule {
if { [llength $args] > 0 } {
set q [eval new $qtype $args]
} else {
set q [new $qtype Fid]
}
}
intserv {
set qtyp..."
    (procedure "_o3" line 14)
    (Simulator simplex-link line 14)
    invoked from within
"_o3 simplex-link _o10 _o13 5Mb 2ms WFQ"
    ("eval" body line 1)
    invoked from within
"eval $self simplex-link $n1 $n2 $bw $delay $type $args"
    (procedure "_o3" line 8)
    (Simulator duplex-link line 8)
    invoked from within
"$ns duplex-link $n0 $n1 5Mb 2ms WFQ"
    (file "example.tcl" line 12)
**
**
Please help... Thanks...

-Andrew-

Reply via email to