Fix check for floating ip in func tests

Closes-bug: #1359103
Change-Id: I414ca6382ca0e08e5d6099b038c8c2713782a752
Merge "Fix check for floating ip in func tests"