
The CI gate will fail if there are typos in the docs. writing output... [ 21%] events/Summits/OpensourceSummit... writing output... [ 22%] events/Summits/UKNO/2017_04_30_... featuresbyrelease/vpp16.06.rst:34:Rasberry:vpp16.06 writing output... [100%] usecases/vppinazure Spelling checker messages written to /vpp/docs/_build/html/output.txt Warning, treated as error: Found 1 misspelled words Makefile:31: recipe for target 'html' failed make[1]: *** [html] Error 2 make[1]: Leaving directory '/vpp/docs' If you introduce a term that is not recognized, please add it to custom dictionary at docs/spelling_wordlist.txt. Type: feature Change-Id: Id49be4fbee617f544f1ab8e78e7de8a4df36448b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
34 lines
1.6 KiB
ReStructuredText
34 lines
1.6 KiB
ReStructuredText
.. _tunnels:
|
|
|
|
Tunnels
|
|
---------
|
|
|
|
Tunnels share a similar property to recursive routes in that after applying the
|
|
tunnel encapsulation, a new packet must be forwarded, i.e. forwarding is
|
|
recursive. However, as with recursive routes the tunnel's destination is known
|
|
beforehand, so the recursive switch can be avoided if the packet can follow the
|
|
already constructed data-plane graph for the tunnel's destination. This process
|
|
of joining to DP graphs together is termed *stacking*.
|
|
|
|
.. figure:: /_images/fib20fig2.png
|
|
|
|
Figure 11: Tunnel control plane object diagram
|
|
|
|
Figure 11 shows the control plane object graph for a route via a tunnel. The two
|
|
sub-graphs for the route via the tunnel and the route for the tunnel's
|
|
destination are shown to the right and left respectively. The red line shows the
|
|
relationship form by stacking the two sub-graphs. The adjacency on the tunnel
|
|
interface is termed a 'mid-chain' this it is now present in the middle of the
|
|
graph/chain rather than its usual terminal location.
|
|
|
|
The mid-chain adjacency is contributed by the gre_tunnel_t , which also becomes
|
|
part of the FIB control-plane graph. Consequently it will be visited by a
|
|
back-walk when the forwarding information for the tunnel's destination changes.
|
|
This will trigger it to restack the mid-chain adjacency on the new
|
|
*load_balance_t* contributed by the parent *fib_entry_t*.
|
|
|
|
If the back-walk indicates that there is no route to the tunnel, or that the
|
|
route does not meet resolution constraints, then the tunnel can be marked as
|
|
down, and fast convergence can be triggered in the same way as for physical
|
|
interfaces (see section ...).
|