neutron/neutron/agent/linux
Matthew Thode c717a6365c replaces enumeration method used to get a list of interfaces
ip_lib was parsing tunnel links incorrectly. We can create interface
names with any character the filesystem supports (not '..', '/', ':').
Given this we do not know what to delimit on so parsing iproute2 output
is probably not a good idea.

I asked the iproute2 devs what the proper way we should get interface
names is and was told NOT to parse iproute2 output but to use something
like sysfs instead.  http://www.spinics.net/lists/netdev/msg316577.html

This patch pulls interfaces from sysfs (/sys/class/net) and verifies them
via checking if they are links (bonding creates files for instance and
needs to be skipped).

Currently it is not possible without jumping through a ton of hoops to
access a network namespace without iproute2 or cython, so we use ip to
run find to find the correct sysfs directory.  We also only call out to
iproute2 _ONLY_ if needed.

Change-Id: I07d1d297f07857d216649cccf717896574aac301
Closes-Bug: 1374663
2015-03-14 21:15:53 -05:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
async_process.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
daemon.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
dhcp.py Merge "Use common agent.linux.utils.ensure_dir method" 2015-03-13 07:41:38 +00:00
external_process.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
interface.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
ip_lib.py replaces enumeration method used to get a list of interfaces 2015-03-14 21:15:53 -05:00
ip_link_support.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
ip_monitor.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
ipset_manager.py Remove root_helper arg from IpsetManager 2015-02-18 11:55:36 +00:00
iptables_comments.py Clarify misleading iptables comment 2015-01-15 07:36:46 -08:00
iptables_firewall.py Merge "Refactor _remove_unused_security_group_info" 2015-03-13 17:58:55 +00:00
iptables_manager.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
keepalived.py Merge "Use common agent.linux.utils.ensure_dir method" 2015-03-13 07:41:38 +00:00
ovs_lib.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
ovsdb_monitor.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
polling.py Remove root_helper arg from AsyncProcess 2015-02-18 14:21:29 +00:00
ra.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
utils.py Add rootwrap daemon mode support 2015-03-12 21:12:07 -05:00