[Click] Live reconfiguration of click router
Eddie Kohler
kohler at cs.ucla.edu
Mon Oct 3 12:23:34 EDT 2005
Wajdi
You do not want live_reconfigure(), you want take_state().
See http://www.pdos.lcs.mit.edu/click/doxygen/classElement.html --
look for the description of take_state().
Eddie
On Oct 3, 2005, at 7:57 AM, louati wrote:
> Hi all,
>
> I am trying to modify the LinearIPLookup element and make it
> dynamic. In fact, I am using "click-install -h" option to "hotswap"
> a config file including the LinearIPLookup element. Much of the
> state from the old config will get swapped into the new. In order
> to keep the routes of the LinearIPLookup table, I need to work
> with the live reconfiguration operation of click router in kernel
> mode. I have added the two functions to the LinearIPLookup element:
> bool can_live_reconfigure() const { return true; }
> and int live_reconfigure(Vector<String>&, ErrorHandler*);
> (including code to keep the routes) and I have compiled but the
> live_reconfigure doesn't work ?
>
> Do you have any idea about the use of the Live reconfiguration in
> click ?
>
> Best Regards,
>
> Wajdi
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>
More information about the click
mailing list