[Xorp-hackers] Template files

Victor Faion vfaion at gmail.com
Tue Jan 27 12:49:04 PST 2009


OK, I understood it correctly then. If a process relies on another
process for all of its configuration and has no state itself, could
you have an empty template file? Maybe something like this:

protocols {
  empty-protocol {
    %help: short "No configurable options";
  }
}

Victor


On Tue, Jan 27, 2009 at 20:31, Pavlin Radoslavov
<pavlin at icsi.berkeley.edu> wrote:
>> Thank you, this has made it work. I think I misunderstood the point of
>> the template files, I thought all the functions in the protocol had to
>> be described in the template, but it's just the ones that are used for
>> configuration when you start rtrmgr (I think).
>
> The template files are the glue between user config and the
> particular XRLs used to change the config. state in the protocol.
> Hence only the XRLs used to (re)configure the protocol need to be
> exposed in the *.tp file.
>
> Regards,
> Pavlin
>



More information about the Xorp-hackers mailing list