[Click] Compound Elements and Parameter

Eddie Kohler kohler at CS.UCLA.EDU
Tue Mar 16 23:27:45 EST 2004


Hi Antonino,

> I would like to use a parameter to the place of the element's configuration,
> but I don't know how to do
> my idea
> 
> elementclass Test{
> $conf |
>  NA :: IP6NDAdvertiser($conf);
> }
> 
> T :: Test(  
>     3ffe:0:0:5::/64  00:01:02:03:04:05,
>     3ffe:0:0:6::/64  00:01:02:03:04:05
> );
> 
> Excuse me for my bad english :) but I have need this information
> Antonino Raucea

There was no way until just now.  But if you use anonymous CVS click, you
can say the following:

  elementclass Test {
      __REST__ $conf | NA :: IP6NDAdvertiser($conf);
  }
  T :: Test( whatever, whatever );

Thanks,
Eddie


More information about the click mailing list