Hi, I want to make a program that reads mpls information from a mpls-enabled linux kernel and then uses VPP API to configure VPP mpls fib.
I can use iproute2 to configure kernel mpls fib, but it is CLI command. for iproute2, I use below link: http://www.samrussell.nz/2015/12/mpls-testbed-on-ubuntu-linux-with.html I have read somewhere that I can use NETLINK sockets to get routing information from kernel but what about mpls information. In a sentence, my question is that how can I get mpls inforamtion from kernel?? ============================================ another question is that After I do this task, I want to add this capability to router-plugin(vppsb) so that it can add this mpls info to VPP (meaning that get mpls info from kernel and add to vpp mpls fib) just as it does for IP fib (in this link => https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes:-VPP ) as far as I know vppsb router-plugin does not support mpls related task Is it a good solution?? if not, what is a good alternative??
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev