Correctly categorize node public and private IP addresses when dealing with
OpenStack floating IPs.

Patch by Andrew Mann and Tomaz (tests).