[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout
authorJuan Vidal <juan.vidal.allende@ericsson.com>
Tue, 21 Feb 2017 13:10:47 +0000 (13:10 +0000)
committerJuan Vidal <juan.vidal.allende@ericsson.com>
Tue, 21 Feb 2017 13:59:03 +0000 (13:59 +0000)
commitf4691faa65c542654d776aeb0614d35c41ab42fd
tree3b593eb07490bc6c353dc23aa4e9d8bd962df3fc
parentc860e5488c5a1ebe69fe6dbe734372a67304f301
[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout

If the VNF does not properly boot after timeout, wait_for_vnf
should return "None" to flag the error.

Also, refresh the VNF on every iteration.

Change-Id: I9ed7c399e689dfbace7c5c8914552e77bf45fc8f
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
functest/utils/openstack_tacker.py