FIB Objects
(2011-04-04 22:52:48)
下一个
FIB Objects TABLE / LEAF / LOADINFO / LABELINFO / NHINFO /IDB
FIB Actions create / modify / bind / unbind / delete / frr
IDB CREATE
find out associated protocol if valid protocol, call protocol FIB's fibidb action function
protocol FIB need to handle the following events: Table id set in protocol area of UIDB as per L3 VPN protocol requirements
RLDI CREATE
allocate TLU1 number of entries
forward walk to loadinfo and fill in the TLU1
if TLU1 address changes, set backwalk context requiring FIB processing
call RPF check, get state whether RPF backwalk is required, set the RPF backwalk context do a children traversing towards the fib leaf to update the PLU, if any backwalk is required
LDI CREATE
allocate TLU1 and TLU2
forward walk to nhinfo on entries in the loadinfo and fill in the entries in TLU2
if there is no single valid nexthop, set the FIB backwalk-drop context
if there was no valid nexthop earlier and there is one new, set backwalk-drop-clear context
if IP or MPLS imposition loadinfo, call RPF check with modify event, set RPF backwalk context if RPF requires backwalk
write TLU1 and TLU2
backwalk to parent if parent is recursive loadinfo, update the TLU1 if FIB backwalk, set a new FIB backwalk context if required
if RPF backwalk enabled, then call RPF check, set RPF backwalk in new context if need further backwalk
backwalk