Hello everybody, I created 2 CBQ class for a link, and would like to be able to observe queue size for each class instead of global queue size. Any help would be GREATLY appreciated. Thanks a lot.
my code is following : set cbqlink [$ns link $r1 $dst_tcp(0)] set topClass [new CBQClass] set highPrio [new CBQClass] set normalPrio [new CBQClass] $topClass setparams none 0 1 auto 0 2 0 $highPrio setparams $topClass true 1 auto 1 1 0 $normalPrio setparams $topClass true 1 auto 2 1 0 set q1 [new Queue/DropTail] #set qmon [$ns monitor-queue $noeudCentre $noeudDest $filetrace] $q1 set limit_ 1000000000000 set q2 [new Queue/DropTail] $q2 set limit_ 1000000000000 $highPrio install-queue $q1 $normalPrio install-queue $q2 $cbqlink insert $topClass $cbqlink insert $highPrio $cbqlink insert $normalPrio $cbqlink bind $highPrio 1 $cbqlink bind $normalPrio 2 and then, to monitor my link (but i would like to monitor each queue q1 and q2 separetly) : set link_dst [$ns link $r1 $dst_tcp($i)] set fmon_dst_tcp($i) [$ns makeflowmon Fid] $ns attach-fmon $link_dst $fmon_dst_tcp($i) -- Max UNGER ========= N2NSOFT, 11 blvd Sebastopol 75001 Paris Tel : +33 1 4013 9553 http://www.n2nsoft.com/ http://maxunger.free.fr/
