Import Upstream version 1.2.2
[quagga-debian.git] / doc / fig-rs-processing.txt
1 From Peer A
2  | From RS-Client B
3  |  | From RS-Client C
4  |  |  | From RS-Client D
5  |  |  |  |
6  |  |  |  |           Main / Normal RIB
7  |  |  |  |      ________________________________
8  |  |  |  |     /    _________     _________     \
9  |  |  |  +--->|(D)-|Best     |   | Main    |     |
10  |  |  +--|--->|(C)-|Path     |-->|Local-RIB|->[A]|--->To Peer A
11  |  +--|--|--->|(B)-|Selection|   |         |     |
12  +--|--|--|--->|(A)-|_________|   |_________|     |
13  |  |  |  |     \________________________________/
14  |  |  |  |
15  |  |  |  |          ________________________________
16  |  |  |  |          /    _________     _________     \
17  |  |  |  +--->*D*->|{B}-|Best     |   |RS-Client|     |
18  |  |  +--|--->*C*->|{B}-|Path     |-->|Local-RIB|->[B]|--->To RS-Client B
19  |  |  |  |         |    |Selection|   |  for B  |     |
20  +--|--|--|-------->|{B}-|_________|   |_________|     |
21  |  |  |  |          \________________________________/
22  |  |  |  |
23  |  |  |  |          ________________________________
24  |  |  |  |          /    _________     _________     \
25  |  |  |  +--->*D*->|{C}-|Best     |   |RS-Client|     |
26  |  |  |  |         |    |Path     |-->|Local-RIB|->[C]|--->To RS-Client C
27  |  +--|--|--->*B*->|{C}-|Selection|   |  for C  |     |
28  +--|--|--|-------->|{C}-|_________|   |_________|     |
29  |  |  |             \________________________________/
30  |  |  |
31  |  |  |              ________________________________
32  |  |  |             /    _________     _________     \
33  |  |  |            |    |Best     |   |RS-Client|     |
34  |  |  +------>*C*->|{D}-|Path     |-->|Local-RIB|->[D]|--->To RS-Client D
35  |  +--------->*B*->|{D}-|Selection|   |  for D  |     |
36  +----------------->|{D}-|_________|   |_________|     |
37                      \________________________________/
38
39
40 Key:  (X) - 'In'  Filter applied to Peer X's announcements before
41             considering announcement for the normal main Local-RIB
42       [X] - 'Out' Filter applied to announcements to Peer X
43       *X* - 'Export' Filter of RS-Client X, to apply X's policies
44             before its routes may be considered for other RS-Clients
45             RIBs.
46       {X} - 'Import' Filter of RS-Client X, to apply X's policies
47             on routes before allowing them into X's RIB.