libnl/python/netlink/route
Nicolas PLANEL f2e6f502eb python: fixup VLANLink() initialization
The varialble name should be link._rtnl_link
instead of link._link to get rid of the AttributeError.

Traceback (most recent call last):
File "examples/test.py", line 11, in <module>
 eth0 = link.resolve('eth0.800')
...
File
"/home/ubuntu/libnl/python/build/lib.linux-x86_64-2.7/netlink/route/link.py",
line 151, in __init__
 self._module_lookup('netlink.route.links.' + self.type)
...
File
"/home/ubuntu/libnl/python/build/lib.linux-x86_64-2.7/netlink/route/links/vlan.py",
line 70, in init
 link.vlan = VLANLink(link._link)
AttributeError: 'Link' object has no attribute '_link'

Signed-off-by: Nicolas PLANEL <nicolas.planel@enovance.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-10-07 09:50:11 +02:00
..
links python: fixup VLANLink() initialization 2013-10-07 09:50:11 +02:00
qdisc netlink.nlattr re-implemented in more pythonic way 2012-06-08 22:26:35 +06:00
__init__.py python interface to netlink protocols 2011-05-10 12:17:33 +02:00
address.py netlink.nlattr re-implemented in more pythonic way 2012-06-08 22:26:35 +06:00
capi.i Add VXLAN support. 2013-08-04 15:43:54 +09:00
link.py Enabled the use of Links as context managers. 2012-10-04 16:36:55 -04:00
Makefile.am python: Include python/ in distribution and provide a README on how to build & install 2011-08-12 10:45:47 +02:00
tc.py netlink.nlattr re-implemented in more pythonic way 2012-06-08 22:26:35 +06:00