]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make sudo check in ip_lib.IpNetnsCommand.execute optional
authorAssaf Muller <amuller@redhat.com>
Tue, 30 Sep 2014 11:07:24 +0000 (14:07 +0300)
committerAssaf Muller <amuller@redhat.com>
Sun, 7 Dec 2014 15:25:40 +0000 (17:25 +0200)
commitbe34d3aa72a2bb2315fffe17a3e75dca1ce1c82b
treeb9d79ce80e6e8209e997ceb20aae79a458dbcf21
parentccdff9583bfc0479fabff97d1fb4c1186bc11658
Make sudo check in ip_lib.IpNetnsCommand.execute optional

If the process runs as root the root_helper and sudo check
are not required.

Closes-Bug: #1393184
Change-Id: I7876ca7e4652f8152d1a8a0015cc897b09b31899
neutron/agent/linux/ip_lib.py
neutron/tests/unit/test_linux_ip_lib.py