-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Modeling static MPLS routes in switch config MplsNextHop defines "Next Hop Label Forwarding Entry" as found in RFC's. This defines label forwarding operation to perform and next hop to which MPLS packet must be forwarded. If more than one next hops are provided then MPLS packet will be ECMPed across the next hops StaticIp2MplsRoute defines "ingress LER" route. FEC in this case is "prefix". L3 packets destined towards network "prefix" (as determined by longest prefix match), will be forwarded towards "nexthops". Push label forwarding operation is implied. So each nexthop must provide label stack. StaticMplsRouteWithNextHops define "LSR" route. An incoming MPLS packet, with label on top of the label stack matching with "ingressLabel" will be forwarded to "nexthop". Note: Each nexthop must have same label forwarding action, this is a requirement of current ASIC, though MPLS architecture does not impose this restriction. StaticMplsRouteWithNoNextHops defines "LSR route" either to redirect MPLS packets, with label on the top of label stack matching with "ingressLabel" to CPU or to drop Reviewed By: saifhhasan Differential Revision: D14068676 fbshipit-source-id: 6906f99153d47beea3b06707ee1d6e1c2f4b78ba
- Loading branch information
1 parent
7d123c7
commit 3ea43ee
Showing
3 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters