Hi and Salaam All Again... Just needed to notify that we solved by changing the dequeue() method of DropTail class. That is, to make the server on/off for certain periods, we stopped the dequeuing during the off period!!!
HTH anyone looking for such answers On 12 August 2011 12:18, Amna Abdul Wahid <amnaabdulwa...@gmail.com> wrote: > > Hi All > We are trying to turn the service rate of m/d/1 on and off, for certain > periods. The code is attached herewith. > We are facing the problem that although we change the $mu value in the > ''sendpacket' method, the mu value taken by the simulation is the one we > assign at the beginning. > (the one supplied in $ns simplex-link $node_(r1) $node_(r2) $mu 10ms > DropTail) > > Is there any simple way of changing this value (or the link state) during > the simulation dynamically? > > Many Thanks in Advance for Any Help > Amna, Sabri > > > -- Regards, Amna Abdul Wahid