I am studying the code so I have not coded anything. What I am working on is to 
write a control plane process which will add and delete some special static 
routes. These static routes can be redistributed by ospf etc. The the new 
daemon will use the xrl interface calls. I do not want this process talk to 
rtrmgr because the config tree structure is adding unnecessary complixity. This 
new process can be started by rtrmgr when rtrmgr starts. Then I want this new 
process update the static routes directly to xorp_static_routes. Then the 
problem is how to start xorp_static_routes and its depending processes like 
fea/fib/policy and make them working properly with xrl finder. This is a really 
a pain for me because I have just started to learn xorp for a few weeks.

I am thinking if there is a simple API by which a process other than xorpsh can 
ask rtrmgr to start static_routes.

Another problem. Commit is taking awkawrdly long time.

Thanks.
--- On Tue, 10/13/09, Ben Greear <[email protected]> wrote:

> From: Ben Greear <[email protected]>
> Subject: Re: [Xorp-hackers] static xrl interface calls
> To: "Li Zhao" <[email protected]>
> Cc: [email protected]
> Date: Tuesday, October 13, 2009, 1:15 PM
> On 10/12/2009 12:58 PM, Li Zhao
> wrote:
> > The last piece of puzzle was solved. The task which
> was added to the task manager was a TaskXrlItem. When this
> task was fired, the execute method in TaskXrlItem was asking
> _xorp_client to send a unresolved xrl request.
> >
> > The reason why XrlStaticRoutesV0p1Client methods were
> not called, I guess, was because rtrmgr needs to utilize its
> task and taskmanager mechanism. If there is another process
> which does not have moduel, task, or taskmanager, then
> XrlStaticRoutesV0p1Client methods can be used directly and
> will have the similar code flow eventually.
> >
> > Li
> 
> So, did you get this working?  If you have a patch,
> please post it...
> 
> Thanks,
> Ben
> 
> -- 
> Ben Greear <[email protected]>
> Candela Technologies Inc  http://www.candelatech.com
> 
> 


      

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to