Problem with AODV cloning using ns2

49 views
Skip to first unread message

bekan kitaw

unread,
Nov 24, 2018, 7:44:14 AM11/24/18
to ns-3-users
http://surajpatilworld.blogspot.com/2015/02/how-to-clone-protocol-in-ns2.html
I'm following this instruction to clone aodv protocol but i encountered the following problem. Any one who works on it and incase if you encountered the same problem and fix it don't hesitate to forward me! here below was the error:
num_nodes is set 8

    (_o14 cmd line 1)
    invoked from within
"_o14 cmd addr"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o14" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o14 addr"
    ("eval" body line 1)
    invoked from within
"eval $node addr $args"
    ("default" arm line 2)
    invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
    (procedure "_o3" line 14)
    (Simulator create-wireless-node line 14)
    invoked from within
"_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
"eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
"$ns node"
    invoked from within
"set n0 [$ns node]"
    (file "mybek.tcl" line 64)

bekan kitaw

unread,
Jan 12, 2019, 9:32:02 AM1/12/19
to ns-3-users
Reply all
Reply to author
Forward
0 new messages