Hello,
Is it possible to send incoming MPLS traffic to my_node after a label
pop/swap? For example, if VPP receives an MPLS frame with label 12345:
1) pop label 12345
2) add labels 100 101 102
3) enqueue to my_node
Maybe something like the following, but I don't know if "mpls
local-label" supports sending to a custom node. I looked at the "via"
options in unformat_fib_route_path(), but nothing jumped out.
mpls table add 0
mpls local-label add 100 eos via <my_node> out-labels 100
mpls local-label add 100 non-eos via <my_node> out-labels 100
sr mpls policy add bsid 12345 next 100 next 101 next 102
or
mpls table add 0
mpls local-label add 12345 eos via <my_node> out-labels 100 101 102
mpls local-label add 12345 non-eos via <my_node> out-labels 100 101 102
Thanks,
Jeff
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26700): https://lists.fd.io/g/vpp-dev/message/26700
Mute This Topic: https://lists.fd.io/mt/117112683/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-