Support for removing hanging ports
authorViktor Tikkanen <viktor.tikkanen@nokia.com>
Mon, 28 Dec 2015 12:06:45 +0000 (14:06 +0200)
committerViktor Tikkanen <viktor.tikkanen@nokia.com>
Mon, 28 Dec 2015 12:10:15 +0000 (14:10 +0200)
commit675652f37c57fe61900d2ac5735b0be9b6269252
tree91ae9fce0f3b892403e3f62966abe93a4db1e44b
parentabe4c7197f4c04e39757889e8b4db496569aef9f
Support for removing hanging ports

Sometimes we have situations when all the routers are deleted
but there are still ports with network:router_gateway device
owner. Such ports can be deleted only after clearing the device
owner information.

update_neutron_port() function is added into functest_utils.py
and taken into use in clean_openstack.py.

Change-Id: I1c9ba2ac499edecec99849b5e895be0248ffd84f
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
testcases/VIM/OpenStack/CI/libraries/clean_openstack.py
testcases/functest_utils.py