[Click] dynamic reconfiguration

Bart Braem bart.braem at ua.ac.be
Wed Aug 30 09:24:04 EDT 2006


That's not possible. Your configuration files are read, processed and 
optimised upon the start of the program.

Regards,
Bart

On Wednesday 30 August 2006 14:32, Hamza wrote:
> Thanks Beel,
>
> I also want to know if different configuration files can run under one main
> configuration file so that a configuration files runs when a particular
> condition is met in the main configuration file like switch case statement?
>
> On 8/29/06, Koen Beel <koen.beel at gmail.com> wrote:
> > Hi Hamza,
> >
> > You can specify configuration parameters via a configuration string in
> > your click config file.
> > e.g.  FromDevice(eth0, PROMISC true)
> > If you write your own elements check for example the source of
> > FromDevice to see how to parse the configuration string. (method int
> > configure(Vector<String>, ErrorHandler))
> > [CLICKDIR/elements/linuxmodule/fromdevice.cc]
> >
> > And if you want to reconfigure elements at runtime, you can use the
> > proclikefs in kernel mode. e.g. element Queue
> > http://www.read.cs.ucla.edu/click/elements/queue
> > This element has some handlers, some read-only, some read/write. If
> > you want to know the queue length just read (cat) 'length'. If you
> > want to set its capacity, write to 'capacity'.
> >
> > Check section 'userdriver', 'linuxmodule' and 'language' at
> > http://www.read.cs.ucla.edu/click/docs for more info.
> >
> > Also:
> > -http://pdos.csail.mit.edu/click/doxygen/annotated.html
> > -http://pdos.csail.mit.edu/click/doc/progman.html (not complete but
> > usefull)
> > -search the click archives using google e.g. 'configuration
> > site:https://amsterdam.lcs.mit.edu/pipermail/click/'
> > -http://www.read.cs.ucla.edu/click/faq
> >
> > On 8/29/06, Hamza <hamzamalik at gmail.com> wrote:
> > > Hi,
> > >
> > > We are quite new in Click architecture and are trying to implement a
> >
> > user
> >
> > > level protocol .
> > > Can we reconfigure the protocol engine on run time? i.e we want our
> >
> > protocol
> >
> > > to run dynamically without any hard coded information e.g addresses
> > > etc.
> > >
> > > Regards
> > >
> > > Hamza
> > > _______________________________________________
> > > click mailing list
> > > click at amsterdam.lcs.mit.edu
> > > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

-- 
Bart Braem
PATS research group
Dept. of Mathematics and Computer Sciences
University of Antwerp
G2.36, Building G
Middelheimlaan 1
2020 Antwerpen, Belgium
Phone: +32 (0)3 265.35.19.
Fax: +32 (0)3 265.37.77.
Web: www.pats.ua.ac.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060830/e083e7a6/attachment.pgp


More information about the click mailing list