]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add compatibility with iproute2 >= 4.0
authorJames Page <james.page@ubuntu.com>
Fri, 18 Sep 2015 15:38:47 +0000 (16:38 +0100)
committerJames Page <james.page@ubuntu.com>
Tue, 29 Sep 2015 19:07:45 +0000 (20:07 +0100)
commit3aefdf4de76fdcdc02093bc631e339f9ecd4c707
tree50a9177a73b17f64683329e5d300012ee6501362
parentfb51806d694ddba8a319c4f5aa90482f412778cf
Add compatibility with iproute2 >= 4.0

The ip netns list command adds additional id data in more recent
versions of iproute2 of the format:

  qdhcp-35fc068a-750d-4add-b1d2-af392dbd8790 (id: 1)

Update parsing to deal with old and new formats.

Change-Id: I0d3fc4262284172f5ad31e4f2f78ae1fb33b4228
Closes-Bug: 1497309
neutron/agent/linux/ip_lib.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/agent/linux/test_ip_lib.py