Fixed create_port with fixed_ips for public network

Fixed create_port with fixed_ips for public network

RM9593
This, would also run the statement under else, if there is no break under "for" loop. And I dont have any condition on which I could break. So, I would prefer sticking to if else in this case.