]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add IPDevice.exists() method
authorBrian Haley <brian.haley@hpe.com>
Tue, 29 Sep 2015 15:31:34 +0000 (11:31 -0400)
committerBrian Haley <brian.haley@hpe.com>
Thu, 1 Oct 2015 17:47:07 +0000 (13:47 -0400)
commit164502389c15a25a1f3ece51e3760b1b815ed42c
tree76b46c249a22bc688f60f313481290bd1d986ac5
parent80139ca977a8822db490aab2afa11900def1606a
Add IPDevice.exists() method

Some callers of ip_lib.device_exists() have already instantiated
an IPDevice object, let's move the device existence check into
the IPDevice class so they can call it directly.

Change-Id: I3cdcd0a86b77e1fd5a808b7a5f0de2057f1e90c1
neutron/agent/l3/dvr_fip_ns.py
neutron/agent/linux/ip_lib.py
neutron/cmd/ovs_cleanup.py
neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/functional/agent/linux/test_ip_lib.py
neutron/tests/unit/agent/linux/test_ip_lib.py
neutron/tests/unit/cmd/test_ovs_cleanup.py
neutron/tests/unit/plugins/ml2/drivers/linuxbridge/agent/test_linuxbridge_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_tunnel.py