[mpls-linux-devel] [PATCH1/2] mpls and iproute bug-fixes
Status: Beta
Brought to you by:
jleu
From: Igor M. <ig...@et...> - 2011-09-17 10:02:09
|
Hi all, I'm sending you patch for this bugs: IPROUTE2 -fixed name problem with mpls tunnel - with ip link command mpls tunnel type was written as 899 not mpls_tunnel added particular rtnl_handles for nhlfe/ilm so we could get better feedback from kernel when we add/change/del nhlfe/ilm - Fixed help - Fixed mpls_parse_instr so NH = nexthop eth0 none could be used - Changed mpls_ilm_modify, mpls_nhlfe_modify, mpls_xc_modify and mpls_labelspace_modify so we would get correct feedback when we add/change/del nhlfe/ilm/xc/labelspace entries (problem was when we added mpls nhlfe entry with changed mtu or ttl propagation, that wasn't correctly showed in feedback(that required some fixes in kernel to), also add/change/del actions(exept nhlfe add action) didn't have any feedback) - Change mpls_tunnel_modify so it resembles the mpls_tunnel_modify from http://mpls-linux.git.sourceforge.net/git/gitweb.cgi?p=mpls-linux/iproute2;a=tree;h=refs/heads/master-mpls;hb=refs/heads/master-mpls but added change option(now we can change nhlfe key for the existing tunnel device) - changed print_tunnel so it prints if tunnel is added, deleted or changed - added function print_all_tunnels so we can print all mpls tunnel that we created (command is mpls tunnel show) - in main returned ll_init_map functions so we would get rtnl_handles initialized (if we don't do that we don't get accurate interfaces when we do cmd mpls labelspace) - changed help argument from -help to --help and -h so it would resemble to other linux programs |