[Xorp-hackers] Building an embedded router
Pavlin Radoslavov
pavlin at icir.org
Mon Dec 4 12:03:38 PST 2006
> I am making an embedded router. I want to give xorp a different CLI. I
> m thinking of doing something like this. The various routing protocols
> of xorp would be used as separate binaries on which I can use perl or
> bash or even C++ to make a CLI of my choice.
>
> What r the necessary inputs required for running a routing protocol
> binary in isolation?
>
> Plz offer me some guidance on this.
In term of running the binaries (only), you need to run them in the
appropriate order.
I presume you won't be running the xorp_rtrmgr, so in that case the
xorp_finder must be started before any other processes.
Then, typically the next process to start is xorp_fea, and so on.
You can find the process relationship from the following document
(Figure 1 page 3):
"XORP Error Handling"
http://www.xorp.org/design_docs.html
You might also want to read the "XORP Router Manager Process
(rtrmgr)" document available from the above URL.
It will give you some insights about the issues the rtrmgr needs to
solve (and eventually the issues you need to pay attention to).
In term of (re)configuring the XORP processes, you need to issue the
appropriate XRLs. The rtrmgr template files can tell you what can be
configured per module and the corresponding XRLs.
For example, the etc/templates/interfaces.tp file contains the
interface-related configuration XRLs that are transmitted to the
FEA, while the etc/templates/fea.tp file contains the
forwarding-related configuration XRLs (also transmitted to the FEA).
Regards,
Pavlin
More information about the Xorp-hackers
mailing list