]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Create veth peer in namespace.
authorMaru Newby <marun@redhat.com>
Tue, 2 Apr 2013 22:43:37 +0000 (22:43 +0000)
committerMaru Newby <marun@redhat.com>
Thu, 25 Apr 2013 17:07:35 +0000 (17:07 +0000)
commit152f3cf112df09faf79e932da948c5045802b15d
treeab3be454bb45ca919f9a066fcce0a2df081b2d4f
parent941bb2122b966210597033d314af290a39428dda
Create veth peer in namespace.

 * Update veth pair creation to set the namespace of the peer
   device on creation rather than subsequently adding it to the
   namespace.
 * This change supports kernels with limited namespace support
   (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
 * Addresses bug 1171727

Change-Id: I1885acc9934e7627bb9872703df7f5edf2980722
quantum/agent/linux/interface.py
quantum/agent/linux/ip_lib.py
quantum/tests/unit/test_linux_interface.py
quantum/tests/unit/test_linux_ip_lib.py