Fixed next hop processing
[mpls-ldp-portable.git] / doc / ldp_struct.txt
blobb3a0422fe591c95161c2a9ea753404dbb4c73a24
2                                                     -----
3                                                    |     |
4                                             .------| Adj |
5                         (think || links)   /       |     |
6               ----------               \  /         -----
7              | In Label |-------.       1:N           |
8               ----------        N:M     /             |
9                   |               \    /             1:N-(think eth subnet)
10                  1:N               \  /               |
11                   |              ---------         --------         ------
12              -----------   N:1  |         |       |        |  1:1  | Targ |
13             | Out label |-------| Session |       | Entity |-------| Peer |
14              -----------        |         |       |        |       |      |
15                                  ---------         --------         ------
16                                      |                |
17                                     N:M              1:1
18                                      |                | 
19                                   ------            -----
20                                  |      |          |     |
21                                  | Addr |          | If  |
22                                  |      |          |     |
23                                   ------            -----
26                           -----
27                          |     |     
28                .---------| Fec |---------.
29                |         |     |         |
30                |          -----          |
31                |    Downstream FS list   |
32                |  ------         ------  |
33                '-|  FS  |-------|  FS  |-'    
34                   ------\        ------       
35                     |    `-------------------.
36                     |                         \---------
37     .--------------------------------.        | session |
38     |                                |         ---------
39     |  ------     ------     ------  |
40     `-| Attr |---| Attr |---| Attr |-'
41        ------     ------     ------
43 This picture is a more accurate view of the FEC <-> Attr relationship.
44 Each FEC has multiple FS.  Each FS represents one session that has learned
45 info about this FEC.  More then one piece of info can be learned by a session
46 for a particular FEC, so each FS can have a list of Attr, which is all of the
47 info learned about this FEC by this session.  Take note that each FEC entry
48 has a list of FS for upstream and downstream sessions.