MPLS Mcast 53/5653/8
authorNeale Ranns <nranns@cisco.com>
Wed, 1 Mar 2017 23:12:11 +0000 (15:12 -0800)
committerNeale Ranns <nranns@cisco.com>
Fri, 7 Apr 2017 09:12:12 +0000 (09:12 +0000)
commit0f26c5a0138ac86d7ebd197c31a09d8d624c35fe
tree5cee4659885432c439e44d7346fd5e482df5f0e6
parentc14f31c2c62fb66d98aef4402a6f1bda09683fd3
MPLS Mcast

 1 - interface-DPO
        Used in the Data-plane to change a packet's input interface
 2 - MPLS multicast FIB entry
        Same as a unicast entry but it links to a replicate not a load-balance DPO
 3 - Multicast MPLS tunnel
        Update MPLS tunnels to use a FIB path-list to describe the endpoint[s]. Use the path-list to generate the forwarding chain (DPOs) to link to .
 4 - Resolve a path via a local label (of an mLDP LSP)
        For IP multicast entries to use an LSP in the replication list, we need to decribe the 'resolve-via-label' where the label is that of a multicast LSP.
 5 - MPLS disposition path sets RPF-ID
        For a interface-less LSP (i.e. mLDP not RSVP-TE) at the tail of the LSP we still need to perform an RPF check. An MPLS disposition DPO performs the MPLS pop validation checks and sets the RPF-ID in the packet.
 6 - RPF check with per-entry RPF-ID
       An RPF-ID is used instead of a real interface SW if index in the case the IP traffic arrives from an LSP that does not have an associated interface.

Change-Id: Ib92e177be919147bafeb599729abf3d1abc2f4b3
Signed-off-by: Neale Ranns <nranns@cisco.com>
76 files changed:
src/plugins/dpdk/device/node.c
src/vat/api_format.c
src/vnet.am
src/vnet/adj/adj.c
src/vnet/adj/adj.h
src/vnet/adj/adj_internal.h
src/vnet/adj/adj_mcast.c
src/vnet/adj/adj_mcast.h
src/vnet/adj/adj_midchain.c
src/vnet/adj/adj_nbr.c
src/vnet/buffer.h
src/vnet/devices/ssvm/node.c
src/vnet/dhcp/dhcp6_proxy_node.c
src/vnet/dpo/dpo.c
src/vnet/dpo/dpo.h
src/vnet/dpo/interface_dpo.c [new file with mode: 0644]
src/vnet/dpo/interface_dpo.h [new file with mode: 0644]
src/vnet/dpo/lookup_dpo.c
src/vnet/dpo/lookup_dpo.h
src/vnet/dpo/mpls_disposition.c [new file with mode: 0644]
src/vnet/dpo/mpls_disposition.h [new file with mode: 0644]
src/vnet/dpo/mpls_label_dpo.c
src/vnet/dpo/replicate_dpo.c
src/vnet/dpo/replicate_dpo.h
src/vnet/ethernet/arp.c
src/vnet/ethernet/interface.c
src/vnet/ethernet/node.c
src/vnet/ethernet/types.def
src/vnet/fib/fib_api.h
src/vnet/fib/fib_entry.c
src/vnet/fib/fib_entry.h
src/vnet/fib/fib_entry_src.c
src/vnet/fib/fib_internal.h
src/vnet/fib/fib_path.c
src/vnet/fib/fib_path.h
src/vnet/fib/fib_path_ext.c
src/vnet/fib/fib_path_ext.h
src/vnet/fib/fib_path_list.c
src/vnet/fib/fib_path_list.h
src/vnet/fib/fib_table.c
src/vnet/fib/fib_test.c
src/vnet/fib/fib_test.h [new file with mode: 0644]
src/vnet/fib/fib_types.c
src/vnet/fib/fib_types.h
src/vnet/fib/mpls_fib.c
src/vnet/handoff.h
src/vnet/interface.c
src/vnet/ip/ip.api
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip6_forward.c
src/vnet/ip/ip6_neighbor.c
src/vnet/ip/ip_api.c
src/vnet/ip/lookup.c
src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c
src/vnet/mfib/ip4_mfib.c
src/vnet/mfib/ip6_mfib.c
src/vnet/mfib/mfib_entry.c
src/vnet/mfib/mfib_entry.h
src/vnet/mfib/mfib_forward.c
src/vnet/mfib/mfib_table.c
src/vnet/mfib/mfib_table.h
src/vnet/mfib/mfib_test.c
src/vnet/mpls/mpls.api
src/vnet/mpls/mpls.c
src/vnet/mpls/mpls_api.c
src/vnet/mpls/mpls_input.c
src/vnet/mpls/mpls_lookup.c
src/vnet/mpls/mpls_tunnel.c
src/vnet/mpls/mpls_tunnel.h
src/vnet/mpls/mpls_types.h
src/vnet/srp/interface.c
test/test_ip_mcast.py
test/test_mpls.py
test/vpp_ip_route.py
test/vpp_mpls_tunnel_interface.py [new file with mode: 0644]
test/vpp_papi_provider.py