pyroute2 icon indicating copy to clipboard operation
pyroute2 copied to clipboard

vti6 support

Open olichtne opened this issue 7 years ago • 3 comments

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.

olichtne avatar Oct 27 '17 12:10 olichtne

yep, sure. To be done.

svinota avatar Oct 27 '17 18:10 svinota

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.

semicomplete avatar Nov 13 '17 13:11 semicomplete

Just tried the master now, looks good for now so I agree this can probably be closed...

olichtne avatar Nov 13 '17 13:11 olichtne