]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do not try to delete a veth from a nonexistent namespace
authorCedric Brandily <zzelle@gmail.com>
Tue, 8 Sep 2015 15:02:57 +0000 (15:02 +0000)
committerCedric Brandily <zzelle@gmail.com>
Fri, 16 Oct 2015 13:26:25 +0000 (13:26 +0000)
commit72e87f6d87d0da65214a9d21fe603883f1d3c232
tree612d203715240332bdf6d0725ee276dce7f06c85
parentdbe420c2b79f0df07f607d847f2f94c1cecc4eba
Do not try to delete a veth from a nonexistent namespace

Currently, VethFixture cleanup tries to delete veth from their
namespaces even if they don't exist anymore (without crashing the
cleanup). It implies an extra trace if an error is raised which can be
confusing.

This change avoids to try deleting a veth from a nonexistent namespace
in the fixture VethFixture.

Closes-Bug: #1506862
Change-Id: I5d0192998d2f3f8d1a6f783769ae9bfcb4bae7f2
neutron/tests/common/net_helpers.py