[Click] When does hotconfig apply

Eddie Kohler ekohler at gmail.com
Thu Apr 25 09:49:34 EDT 2013


Hey Lars,

(1) The right option is --hotswap, not --hotconfig. --hotconfig should
cause an error.
(2) When I run this with --hotswap, the queue doesn't empty. Are you
sure this is a problem?

Eddie


On Sun, Mar 10, 2013 at 6:39 PM, Lars Bro <larsbro at gmail.com> wrote:
> Hi,
>
> I tried hotconfig like below:
>
> # click-install  << !
> RatedSource(RATE 110) -> lars::Queue() -> Shaper(100) -> Discard();
> !
>
> Let it run for a while, use Clicky to see that the queue fills up.
>
> # click-install --hotconfig << !
> RatedSource(RATE 110) -> lars::Queue() -> Shaper(100) -> Discard();
> RatedSource() -> Discard();
> !
>
> use Clicky to look at the Queue. Now it is empty, and I would have expected
> it to
> still contain the piled up packets.
>
> The documentation says that Queue should support hotswap, so I guess I am
> missing something
>
> yours
> Lars Bro
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list