]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
fix netns delete so that it works when a ns is set
authorMark McClain <mark.mcclain@dreamhost.com>
Sun, 19 Aug 2012 20:10:00 +0000 (16:10 -0400)
committerMark McClain <mark.mcclain@dreamhost.com>
Sun, 19 Aug 2012 20:12:31 +0000 (16:12 -0400)
commit078869814c576cd2560d71e619e8a938b30a796f
tree89ace7f947d4bdbd1a302e2ffcb1ce52f84082dd
parent7afb37af76efc2978c442cbf80ac46c3ef1b661f
fix netns delete so that it works when a ns is set

bug 1038759

This fixes the bug by ensuring that the netns deletion always runs in the root
namespace.  Tests were updated to reflect the change in execute
invocation.

Change-Id: I008e8ecbc4bae86129af7f4a7b5d33c6ae423e5c
quantum/agent/linux/ip_lib.py
quantum/tests/unit/test_linux_ip_lib.py