vmware-nsx/neutron/tests
Miguel Angel Ajo 95b62b9491 Fix IpNetnsCommand to execute without root_wrapper when no netns
IpNetnsCommand accept execution with a network namespace, and
that requires root privileges and a root_wrapper.
IpNetnsCommand does accept no namespace too, in that case, the
root_wrapper doesn't have to be present necessarily, unless the
command we're executing requires root privileges itself.

This patch fixes the check condition on IpNetnsCommand execute
method.

Change-Id: I5ab2f3f1daf4a5a080611dbcd3dbd43292f6766a
Closes-Bug: #1358196
2014-08-25 21:21:21 +02:00
..
etc Refresh rpc_backend values in unit tests to those from oslo.messaging 2014-08-22 11:02:25 +02:00
functional Add hook scripts for the functional infra job 2014-08-23 20:24:09 +02:00
unit Fix IpNetnsCommand to execute without root_wrapper when no netns 2014-08-25 21:21:21 +02:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
base.py Predictable field and filter ordering 2014-08-11 17:33:24 +01:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
tools.py Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00