[Click] live reconfiguration (repost...)

Eddie Kohler kohler at cs.ucla.edu
Mon Mar 21 15:26:57 EST 2005


Hi Tom,

The right approach depends on how much the config needs to change.  If 
you're just changing a queue length, for example, a write handler 
should be sufficient.  The manual pages document most handlers.  For 
example, if your queue is named "q":

    % echo 500 > /click/q/capacity

If you're making a bigger change, use the "click-install -h" option to 
"hotswap" the config.  Much of the state from the old config will get 
swapped into the new.  For example, if both configs have a queue named 
"q", then all of the old "q"'s packets will be inserted into the new 
"q".

Eddie


On Mar 16, 2005, at 7:33 PM, Tomas Mahoney wrote:

> hello:
>
> has anyone done work with live reconfiguration of click router in 
> kernel mode? documentation for those sections is empty...
>
> i am receiving some value, say queue length, from a webservices 
> program, and need to feed that length to the router configuration.
>
> regards
> tom
>
>
> 		
> ---------------------------------
> Do you Yahoo!?
>  Make Yahoo! your home page
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list