pyroute2
pyroute2 copied to clipboard
vti6 support
Hi,
I've noticed that netlink messages for vti are parsed fine e.g.
('IFLA_LINKINFO', {'attrs': [('IFLA_INFO_KIND', 'vti'), ('IFLA_INFO_DATA', {'attrs': [('IFLA_VTI_LINK', 3), ('IFLA_VTI_IKEY', 123), ('IFLA_VTI_OKEY', 123), ('IFLA_VTI_LOCAL', '1.2.3.4'), ('IFLA_VTI_REMOTE', '4.3.2.1')]})]})
but for vti6 i just get binary data:
('IFLA_LINKINFO', {'attrs': [('IFLA_INFO_KIND', 'vti6'), ('IFLA_INFO_DATA', '08:00:01:00:03:00:00:00:14:00:04:00:12:34:00:00:00:00:00:00:00:00:00:00:00:00:00:00:14:00:05:00:43:21:00:00:00:00:00:00:00:00:00:00:00:00:00:00:08:00:02:00:00:00:00:7b:08:00:03:00:00:00:00:7b')]})
Can support for vti6 parsing be added?
Thanks.
yep, sure. To be done.
Haven't seen the issue, so did not mention it in the pull request #438. Request is merged, so this issue could probably be closed.
Just tried the master now, looks good for now so I agree this can probably be closed...