[Xorp-hackers] Conflict between processes, how to avoid?

Nguyen Van Nam van_nam_78 at yahoo.com
Sun Aug 3 12:59:17 PDT 2008


Hi all,
Thank you so much for your answers.
In fact, i have implemented a XRL client interface to notify LSDB change.
But I have encountered an error when I called another Xrl request to set interface cost, because this one cause the LSDB to be changed 
immediately so at the same time there are 2 processes running. In your experiences , how to avoid this?
(Note that I have to called consecutively  many times the function: set_interface_cost from my module, )
Thanks

Nguyen van Nam





----- Original Message ----
From: Bruce M Simpson <bms at incunabulum.net>
To: Nguyen Van Nam <van_nam_78 at yahoo.com>
Cc: XORP DEVELOPERS <xorp-hackers at icir.org>
Sent: Sunday, August 3, 2008 6:52:11 PM
Subject: Re: Detect LSDB change?

Nguyen Van Nam wrote:
> Hi all,
> Mon program needs a trigger of LSDB changes in XORPs .
> Could you please tell me which function i can use to do that?

You'd have to add an XRL client interface to support that, I don't 
believe the OSPF process currently has a mechanism for sending 
notifications of such events.

Someone on the list (possibly me) should be happy to review such a patch 
for inclusion in XORP.

thanks
BMS


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20080803/db37d422/attachment.html 
-------------- next part --------------
_______________________________________________
Xorp-hackers mailing list
Xorp-hackers at icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers


More information about the Xorp-hackers mailing list