[quagga-dev 7298] Re: BGP_INFO_HISTORY question
rchen at mpi-sws.org
Wed Oct 14 15:20:58 BST 2009
Many thanks for the reply.
I know we can identify the newly received updates in bgp_update_main
(), but is it still possible in bgp_process_main ()? Thanks.
On Wed, Oct 14, 2009 at 7:11 AM, Balaji G <balajig81 at gmail.com> wrote:
> You cannot use BGP_INFO_HISTORY because when you enable bgp dampening and
> when the interval gets timed out the route becomes history.
> To check whether its a newly received route you could iterate the rib and
> find out whether this route is already installed if not install it. you need
> to check whether the route information is same or not.
> I believe this logic is already in place in bgp_update_main. Kindly check
> - Balaji
> On Tue, Oct 13, 2009 at 11:16 PM, Ruichuan Chen <rchen at mpi-sws.org> wrote:
>> Dear developers,
>> We have been implementing a BGP-enhanced protocol for research purpose.
>> I am writing to inquire whether we could use the command "! CHECK_FLAG
>> (ri->flags, BGP_INFO_HISTORY)" in function "bgp_best_selection" to
>> identify whether the bgp_info ri is newly received? And, what is the
>> exact meaning of the BGP_INFO_HISTORY flag?
>> Thanks in advance.
>> Best regards,
>> Quagga-dev mailing list
>> Quagga-dev at lists.quagga.net
More information about the Quagga-dev