Bug 1326969: fix issues in get_ports and get_floatingips