[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Class parameter setup problem
Hi, the following scenario illustrates a problem that I have been having
throughout my scripts:
Application/Traffic/CBR set packet_size 1000
set cbr0 [new Application/Traffic/CBR]
puts "CBR packet size = [$cbr0 set packet_size_]"
My understanding is that line one should modify the CBR class parameters
so that all subsequent instances are created with a packet size of
1000. This is not the case and both line 3 as well as the nam scripts
suggest that line one has no efect.
Any ideas as to the cause of this?
Regards
Joshua Mentz