[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errormodel



Hi Kevin!

Thank you for your answer. However the answer leeds me to another question.

>     set em [new ErrorModule Fid]
>     set errmodel [new ErrorModel/Periodic]
>     $errmodel unit pkt
>     $errmodel set offset_ 1.0
>     $errmodel set period_ 25.0
>     $lossylink_ errormodule $em
>     $em insert $errmodel
>     $em bind $errmodel 0

This approach workes fine for my simpel case e.g 

 --------   lossylink	  --------
| Node 0 | ------------- | Node 1 |
 --------		  --------
 FTP source


But when I try this scenario 

 --------  
| Node 0 | 
 -------- \		  
FTP source \
            \
 --------    \ --------   lossylink     --------
| Node 1 |--  | Node 3 | ------------- | Node 4 |
 --------    / --------	                --------
 FTP source /
           /
  --------   
 | Node 2 | 
  --------	
FTP source

ns says: warning: classifier _o100 unknown flow s:512, d:1026, fid:1, bucket:1
_o100: no target for slot -1


The code I use is identical except for the node numbers. (If I
exclude the errmodule code altogether the script works fine.)  
What could case this?  

-- 
/Ingela

//The highway of life is always under construction. //

 	        |\      _,,,--,,_  ,)
                /,`.-'`'   -,  ;-;;' 
               |,4-  ) )-,_ ) /\
              '---''(_/--' (_/-'