[Click] Include Files in Router description

Eddie Kohler kohler at cs.ucla.edu
Fri Apr 25 15:59:52 EDT 2008


Sure.  Many people use CPP (the C preprocessor) to include C config 
files into one another; Click can accept cpp output.

cpp file.click | click -

I don't understand the second question.

Eddie

remi.clavier at orange-ftgroup.com wrote:
>  I need to generate a lof of ethernet switches configuration with the same behavior but different kind  (and number) of interfaces. So, I want to push the "core functions" of the router in blocs and "include it" into the different router's files.
> It's a way to do that?
> 
> Another (but related) question. It a way to use something like a "preprocessor" to generate etherthernet switches files from  "define" values?
> The element "script" don't seems to do that.
> Thanks
> 
> Regards
> 
> 
> Rémi
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list