[Xorp-hackers] doubt about PIM-RP election ......

Pavlin Radoslavov pavlin at icir.org
Sat Mar 10 07:37:09 PST 2007


>         For DF election in PIM-BIDIR we are using same RP elected by
> PIM-SM.  Now we want to confirm that, will following code return
> 1) elected RP for that domain ??
> 2) Will this function work for statically configured RP.

Yes, the RpTable::rp_find() method can be used to return the (best)
RP for a multicast group address.
And yes, it will work for static RPs as well.

Regards,
Pavlin

> 
> 
> ********************************************************************************************
> IN pim_rp.cc
> 
> PimRp *
> RpTable::rp_find(const IPvX& group_addr)
> {
> .
> .
> .
> 
> if (best_rp == NULL) {
>         best_rp = pim_rp;
>         continue;
> .
> ;
> .
> .}
> .
> .
> .
> }
> 
> ****************************************************************************************************
> 
> If this is true then we planned to use it as the entry point for DF Election
> process for bidirectional.
> 
> 
> Thanking You In Anticipation
> Ashish
> Shamita
> Chintamani
> _______________________________________________
> 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